Skip to content

Commit 694b5a5

Browse files
committed
Merge tag 'arm-soc-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC updates from Arnd Bergmann: "One new platform gets added, the Realtek RTD1195, which is an older Cortex-a7 based relative of the RTD12xx chips that are already supported in arch/arm64. The platform may also be extended to support running 32-bit kernels on those 64-bit chips for memory-constrained machines. In the Renesas shmobile platform, we gain support for "RZ/G1H" or R8A7742, an eight-core chip based on Cortex-A15 and Cortex-A7 cores, originally released in 2016 as one of the last high-end 32-bit designs. There is ongoing cleanup for the integrator, tegra, imx, and omap2 platforms, with integrator getting very close to the goal of having zero code in arch/arm/, and omap2 moving more of the chip specifics from old board code into device tree files. The Versatile Express platform is made more modular, with built-in drivers now becoming loadable modules. This is part of a greater effort for the Android OS to have a common kernel binary for all platforms and any platform specific code in loadable modules. The PXA platform drops support for Compulab's pxa2xx boards that had rather unusual flash and PCI drivers but no known users remaining. All device drivers specific to those boards can now get removed as well. Across platforms, there is ongoing cleanup, with Geert and Rob revisiting some a lot of Kconfig options" * tag 'arm-soc-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (94 commits) ARM: omap2: fix omap5_realtime_timer_init definition ARM: zynq: Don't select CONFIG_ICST ARM: OMAP2+: Fix regression for using local timer on non-SMP SoCs clk: versatile: Fix kconfig dependency on COMMON_CLK_VERSATILE ARM: davinci: fix build failure without I2C power: reset: vexpress: fix build issue power: vexpress: cleanup: use builtin_platform_driver power: vexpress: add suppress_bind_attrs to true Revert "ARM: vexpress: Don't select VEXPRESS_CONFIG" MAINTAINERS: pxa: remove Compulab arm/pxa support ARM: pxa: remove Compulab pxa2xx boards bus: arm-integrator-lm: Fix return value check in integrator_ap_lm_probe() soc: imx: move cpu code to drivers/soc/imx ARM: imx: move cpu definitions into a header ARM: imx: use device_initcall for imx_soc_device_init ARM: imx: pcm037: make pcm970_sja1000_platform_data static bus: ti-sysc: Timers no longer need legacy quirk handling ARM: OMAP2+: Drop old timer code for dmtimer and 32k counter ARM: dts: Configure system timers for omap2 ARM: dts: Configure system timers for ti81xx ...
2 parents 587f170 + d2353ba commit 694b5a5

File tree

145 files changed

+1619
-6231
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+1619
-6231
lines changed
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/bus/arm,integrator-ap-lm.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Integrator/AP Logic Module extension bus
8+
9+
maintainers:
10+
- Linus Walleij <[email protected]>
11+
12+
description: The Integrator/AP is a prototyping platform and as such has a
13+
site for stacking up to four logic modules (LM) designed specifically for
14+
use with this platform. A special system controller register can be read to
15+
determine if a logic module is connected at index 0, 1, 2 or 3. The logic
16+
module connector is described in this binding. The logic modules per se
17+
then have their own specific per-module bindings and they will be described
18+
as subnodes under this logic module extension bus.
19+
20+
properties:
21+
"#address-cells":
22+
const: 1
23+
24+
"#size-cells":
25+
const: 1
26+
27+
compatible:
28+
items:
29+
- const: arm,integrator-ap-lm
30+
31+
ranges: true
32+
dma-ranges: true
33+
34+
patternProperties:
35+
"^bus(@[0-9a-f]*)?$":
36+
description: Nodes on the Logic Module bus represent logic modules
37+
and are named with bus. The first module is at 0xc0000000, the second
38+
at 0xd0000000 and so on until the top of the memory of the system at
39+
0xffffffff. All information about the memory used by the module is
40+
in ranges and dma-ranges.
41+
type: object
42+
43+
required:
44+
- compatible
45+
46+
required:
47+
- compatible
48+
49+
examples:
50+
- |
51+
bus@c0000000 {
52+
compatible = "arm,integrator-ap-lm";
53+
#address-cells = <1>;
54+
#size-cells = <1>;
55+
ranges = <0xc0000000 0xc0000000 0x40000000>;
56+
dma-ranges;
57+
58+
bus@c0000000 {
59+
compatible = "simple-bus";
60+
ranges = <0x00000000 0xc0000000 0x10000000>;
61+
/* The Logic Modules sees the Core Module 0 RAM @80000000 */
62+
dma-ranges = <0x00000000 0x80000000 0x10000000>;
63+
#address-cells = <1>;
64+
#size-cells = <1>;
65+
66+
serial@100000 {
67+
compatible = "arm,pl011", "arm,primecell";
68+
reg = <0x00100000 0x1000>;
69+
interrupts-extended = <&impd1_vic 1>;
70+
};
71+
72+
impd1_vic: interrupt-controller@3000000 {
73+
compatible = "arm,pl192-vic";
74+
interrupt-controller;
75+
#interrupt-cells = <1>;
76+
reg = <0x03000000 0x1000>;
77+
valid-mask = <0x00000bff>;
78+
interrupts-extended = <&pic 9>;
79+
};
80+
};
81+
};
82+
83+
additionalProperties: false

MAINTAINERS

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,10 +1350,11 @@ F: arch/arm/mach-integrator/
13501350
F: arch/arm/mach-realview/
13511351
F: arch/arm/mach-versatile/
13521352
F: arch/arm/plat-versatile/
1353+
F: drivers/bus/arm-integrator-lm.c
13531354
F: drivers/clk/versatile/
13541355
F: drivers/i2c/busses/i2c-versatile.c
13551356
F: drivers/irqchip/irq-versatile-fpga.c
1356-
F: drivers/mtd/maps/physmap_of_versatile.c
1357+
F: drivers/mtd/maps/physmap-versatile.*
13571358
F: drivers/power/reset/arm-versatile-reboot.c
13581359
F: drivers/soc/versatile/
13591360

@@ -1703,11 +1704,6 @@ S: Maintained
17031704
T: git git://git.armlinux.org.uk/~rmk/linux-arm.git clkdev
17041705
F: drivers/clk/clkdev.c
17051706

1706-
ARM/COMPULAB CM-X270/EM-X270 and CM-X300 MACHINE SUPPORT
1707-
M: Mike Rapoport <[email protected]>
1708-
L: [email protected] (moderated for non-subscribers)
1709-
S: Maintained
1710-
17111707
ARM/CONEXANT DIGICOLOR MACHINE SUPPORT
17121708
M: Baruch Siach <[email protected]>
17131709
L: [email protected] (moderated for non-subscribers)
@@ -2016,6 +2012,7 @@ F: arch/arm/mach-dove/
20162012
F: arch/arm/mach-mv78xx0/
20172013
F: arch/arm/mach-orion5x/
20182014
F: arch/arm/plat-orion/
2015+
F: drivers/soc/dove/
20192016

20202017
ARM/Marvell Kirkwood and Armada 370, 375, 38x, 39x, XP, 3700, 7K/8K, CN9130 SOC support
20212018
M: Jason Cooper <[email protected]>
@@ -2292,6 +2289,8 @@ L: [email protected] (moderated for non-subscribers)
22922289
L: [email protected] (moderated for non-subscribers)
22932290
S: Maintained
22942291
F: Documentation/devicetree/bindings/arm/realtek.yaml
2292+
F: arch/arm/boot/dts/rtd*
2293+
F: arch/arm/mach-realtek/
22952294
F: arch/arm64/boot/dts/realtek/
22962295

22972296
ARM/RENESAS ARM64 ARCHITECTURE
@@ -3340,7 +3339,7 @@ L: [email protected]
33403339
L: [email protected] (moderated for non-subscribers)
33413340
L: [email protected] (moderated for non-subscribers)
33423341
S: Maintained
3343-
T: git git://github.com/anholt/linux
3342+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git
33443343
F: Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml
33453344
F: drivers/pci/controller/pcie-brcmstb.c
33463345
F: drivers/staging/vc04_services

arch/arm/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,8 @@ source "arch/arm/mach-qcom/Kconfig"
702702

703703
source "arch/arm/mach-rda/Kconfig"
704704

705+
source "arch/arm/mach-realtek/Kconfig"
706+
705707
source "arch/arm/mach-realview/Kconfig"
706708

707709
source "arch/arm/mach-rockchip/Kconfig"
@@ -739,7 +741,6 @@ source "arch/arm/mach-ux500/Kconfig"
739741
source "arch/arm/mach-versatile/Kconfig"
740742

741743
source "arch/arm/mach-vexpress/Kconfig"
742-
source "arch/arm/plat-versatile/Kconfig"
743744

744745
source "arch/arm/mach-vt8500/Kconfig"
745746

@@ -1249,7 +1250,6 @@ config HAVE_ARM_ARCH_TIMER
12491250
bool "Architected timer support"
12501251
depends on CPU_V7
12511252
select ARM_ARCH_TIMER
1252-
select GENERIC_CLOCKEVENTS
12531253
help
12541254
This option enables support for the ARM architected timer
12551255

arch/arm/Kconfig.debug

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,13 @@ choice
976976
Say Y here if you want kernel low-level debugging support
977977
via SCIF4 on Renesas RZ/G1E (R8A7745).
978978

979+
config DEBUG_RCAR_GEN2_SCIFA2
980+
bool "Kernel low-level debugging messages via SCIFA2 on R8A7742"
981+
depends on ARCH_R8A7742
982+
help
983+
Say Y here if you want kernel low-level debugging support
984+
via SCIFA2 on Renesas RZ/G1H (R8A7742).
985+
979986
config DEBUG_RMOBILE_SCIFA0
980987
bool "Kernel low-level debugging messages via SCIFA0 on R8A73A4"
981988
depends on ARCH_R8A73A4
@@ -1577,6 +1584,7 @@ config DEBUG_LL_INCLUDE
15771584
default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF1
15781585
default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF2
15791586
default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF4
1587+
default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIFA2
15801588
default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0
15811589
default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA1
15821590
default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4
@@ -1696,6 +1704,7 @@ config DEBUG_UART_PHYS
16961704
default 0xe4007000 if DEBUG_HIP04_UART
16971705
default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
16981706
default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
1707+
default 0xe6c60000 if DEBUG_RCAR_GEN2_SCIFA2
16991708
default 0xe6c80000 if DEBUG_RMOBILE_SCIFA4
17001709
default 0xe6e58000 if DEBUG_RCAR_GEN2_SCIF2
17011710
default 0xe6e60000 if DEBUG_RCAR_GEN2_SCIF0
@@ -1737,6 +1746,7 @@ config DEBUG_UART_PHYS
17371746
DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \
17381747
DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF1 || \
17391748
DEBUG_RCAR_GEN2_SCIF2 || DEBUG_RCAR_GEN2_SCIF4 || \
1749+
DEBUG_RCAR_GEN2_SCIFA2 || \
17401750
DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \
17411751
DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \
17421752
DEBUG_S3C64XX_UART || \

arch/arm/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ head-y := arch/arm/kernel/head$(MMUEXT).o
148148
textofs-y := 0x00008000
149149
# We don't want the htc bootloader to corrupt kernel during resume
150150
textofs-$(CONFIG_PM_H1940) := 0x00108000
151+
# RTD1195 has Boot ROM at start of address space
152+
textofs-$(CONFIG_ARCH_REALTEK) := 0x00108000
151153
# SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory
152154
ifeq ($(CONFIG_ARCH_SA1100),y)
153155
textofs-$(CONFIG_SA1111) := 0x00208000
@@ -208,6 +210,7 @@ machine-$(CONFIG_ARCH_PICOXCELL) += picoxcell
208210
machine-$(CONFIG_ARCH_PXA) += pxa
209211
machine-$(CONFIG_ARCH_QCOM) += qcom
210212
machine-$(CONFIG_ARCH_RDA) += rda
213+
machine-$(CONFIG_ARCH_REALTEK) += realtek
211214
machine-$(CONFIG_ARCH_REALVIEW) += realview
212215
machine-$(CONFIG_ARCH_ROCKCHIP) += rockchip
213216
machine-$(CONFIG_ARCH_RPC) += rpc

arch/arm/boot/dts/am33xx-l4.dtsi

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,8 @@
330330
};
331331
};
332332

333-
target-module@31000 { /* 0x44e31000, ap 25 40.0 */
333+
timer1_target: target-module@31000 { /* 0x44e31000, ap 25 40.0 */
334334
compatible = "ti,sysc-omap2-timer", "ti,sysc";
335-
ti,hwmods = "timer1";
336335
reg = <0x31000 0x4>,
337336
<0x31010 0x4>,
338337
<0x31014 0x4>;
@@ -1117,9 +1116,8 @@
11171116
};
11181117
};
11191118

1120-
target-module@40000 { /* 0x48040000, ap 22 1e.0 */
1119+
timer2_target: target-module@40000 { /* 0x48040000, ap 22 1e.0 */
11211120
compatible = "ti,sysc-omap4-timer", "ti,sysc";
1122-
ti,hwmods = "timer2";
11231121
reg = <0x40000 0x4>,
11241122
<0x40010 0x4>,
11251123
<0x40014 0x4>;

arch/arm/boot/dts/am33xx.dtsi

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,3 +619,23 @@
619619
#reset-cells = <1>;
620620
};
621621
};
622+
623+
/* Preferred always-on timer for clocksource */
624+
&timer1_target {
625+
ti,no-reset-on-init;
626+
ti,no-idle;
627+
timer@0 {
628+
assigned-clocks = <&timer1_fck>;
629+
assigned-clock-parents = <&sys_clkin_ck>;
630+
};
631+
};
632+
633+
/* Preferred timer for clockevent */
634+
&timer2_target {
635+
ti,no-reset-on-init;
636+
ti,no-idle;
637+
timer@0 {
638+
assigned-clocks = <&timer2_fck>;
639+
assigned-clock-parents = <&sys_clkin_ck>;
640+
};
641+
};

arch/arm/boot/dts/am3517.dtsi

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,25 @@
169169
status = "disabled";
170170
};
171171

172-
/include/ "am35xx-clocks.dtsi"
173-
/include/ "omap36xx-am35xx-omap3430es2plus-clocks.dtsi"
172+
#include "am35xx-clocks.dtsi"
173+
#include "omap36xx-am35xx-omap3430es2plus-clocks.dtsi"
174+
175+
/* Preferred always-on timer for clocksource */
176+
&timer1_target {
177+
ti,no-reset-on-init;
178+
ti,no-idle;
179+
timer@0 {
180+
assigned-clocks = <&gpt1_fck>;
181+
assigned-clock-parents = <&sys_ck>;
182+
};
183+
};
184+
185+
/* Preferred timer for clockevent */
186+
&timer2_target {
187+
ti,no-reset-on-init;
188+
ti,no-idle;
189+
timer@0 {
190+
assigned-clocks = <&gpt2_fck>;
191+
assigned-clock-parents = <&sys_ck>;
192+
};
193+
};

arch/arm/boot/dts/am4372.dtsi

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,3 +553,23 @@
553553
#reset-cells = <1>;
554554
};
555555
};
556+
557+
/* Preferred always-on timer for clocksource */
558+
&timer1_target {
559+
ti,no-reset-on-init;
560+
ti,no-idle;
561+
timer@0 {
562+
assigned-clocks = <&timer1_fck>;
563+
assigned-clock-parents = <&sys_clkin_ck>;
564+
};
565+
};
566+
567+
/* Preferred timer for clockevent */
568+
&timer2_target {
569+
ti,no-reset-on-init;
570+
ti,no-idle;
571+
timer@0 {
572+
assigned-clocks = <&timer2_fck>;
573+
assigned-clock-parents = <&sys_clkin_ck>;
574+
};
575+
};

arch/arm/boot/dts/am437x-l4.dtsi

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,8 @@
328328
};
329329
};
330330

331-
target-module@31000 { /* 0x44e31000, ap 24 40.0 */
331+
timer1_target: target-module@31000 { /* 0x44e31000, ap 24 40.0 */
332332
compatible = "ti,sysc-omap2-timer", "ti,sysc";
333-
ti,hwmods = "timer1";
334333
reg = <0x31000 0x4>,
335334
<0x31010 0x4>,
336335
<0x31014 0x4>;
@@ -450,7 +449,6 @@
450449

451450
target-module@86000 { /* 0x44e86000, ap 40 70.0 */
452451
compatible = "ti,sysc-omap2", "ti,sysc";
453-
ti,hwmods = "counter_32k";
454452
reg = <0x86000 0x4>,
455453
<0x86004 0x4>;
456454
reg-names = "rev", "sysc";
@@ -868,9 +866,8 @@
868866
};
869867
};
870868

871-
target-module@40000 { /* 0x48040000, ap 18 1e.0 */
869+
timer2_target: target-module@40000 { /* 0x48040000, ap 18 1e.0 */
872870
compatible = "ti,sysc-omap4-timer", "ti,sysc";
873-
ti,hwmods = "timer2";
874871
reg = <0x40000 0x4>,
875872
<0x40010 0x4>,
876873
<0x40014 0x4>;

0 commit comments

Comments
 (0)