Skip to content

Commit e8d6766

Browse files
committed
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC fixes from Arnd Bergmann: "The majority of the fixes this time are for OMAP hardware, here is a breakdown of the significant changes: Various device tree bug fixes: - TI am57xx boards need a voltage level fix to avoid damaging SD cards - vf610-bk4 fails to detect its flash due to an incorrect description - meson-g12a USB phy configuration fails - meson-g12b reboot should not power off the SD card - Some corrections for apparently harmless differences from the documentation. Regression fixes: - ams-delta FIQ interrupts broke in 5.3 - TI am3/am4 mmc controllers broke in 5.2 The logic_pio driver (used on some Huawei ARM servers) got a few bug fixes for reliability. And a couple of compile-time warning fixes" * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (26 commits) soc: ixp4xx: Protect IXP4xx SoC drivers by ARCH_IXP4XX || COMPILE_TEST soc: ti: pm33xx: Make two symbols static soc: ti: pm33xx: Fix static checker warnings ARM: OMAP: dma: Mark expected switch fall-throughs ARM: dts: Fix incomplete dts data for am3 and am4 mmc bus: ti-sysc: Simplify cleanup upon failures in sysc_probe() ARM: OMAP1: ams-delta-fiq: Fix missing irq_ack ARM: dts: dra74x: Fix iodelay configuration for mmc3 ARM: dts: am335x: Fix UARTs length ARM: OMAP2+: Fix omap4 errata warning on other SoCs bus: hisi_lpc: Add .remove method to avoid driver unbind crash bus: hisi_lpc: Unregister logical PIO range to avoid potential use-after-free lib: logic_pio: Add logic_pio_unregister_range() lib: logic_pio: Avoid possible overlap for unregistering regions lib: logic_pio: Fix RCU usage arm64: dts: amlogic: odroid-n2: keep SD card regulator always on arm64: dts: meson-g12a-sei510: enable IR controller arm64: dts: meson-g12a: add missing dwc2 phy-names ARM: dts: vf610-bk4: Fix qspi node description ARM: dts: Fix incorrect dcan register mapping for am3, am4 and dra7 ...
2 parents 8fb8e9e + 7a6c9db commit e8d6766

29 files changed

Lines changed: 250 additions & 135 deletions

‎.mailmap‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ Matt Ranostay <mranostay@gmail.com> Matthew Ranostay <mranostay@embeddedalley.co
160160
Matt Ranostay <mranostay@gmail.com> <matt.ranostay@intel.com>
161161
Matt Ranostay <matt.ranostay@konsulko.com> <matt@ranostay.consulting>
162162
Matt Redfearn <matt.redfearn@mips.com> <matt.redfearn@imgtec.com>
163+
Maxime Ripard <mripard@kernel.org> <maxime.ripard@bootlin.com>
164+
Maxime Ripard <mripard@kernel.org> <maxime.ripard@free-electrons.com>
163165
Mayuresh Janorkar <mayur@ti.com>
164166
Michael Buesch <m@bues.ch>
165167
Michel Dänzer <michel@tungstengraphics.com>

‎MAINTAINERS‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ S: Maintained
683683
F: drivers/crypto/sunxi-ss/
684684

685685
ALLWINNER VPU DRIVER
686-
M: Maxime Ripard <maxime.ripard@bootlin.com>
686+
M: Maxime Ripard <mripard@kernel.org>
687687
M: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
688688
L: linux-media@vger.kernel.org
689689
S: Maintained
@@ -1408,7 +1408,7 @@ S: Maintained
14081408
F: drivers/clk/sunxi/
14091409

14101410
ARM/Allwinner sunXi SoC support
1411-
M: Maxime Ripard <maxime.ripard@bootlin.com>
1411+
M: Maxime Ripard <mripard@kernel.org>
14121412
M: Chen-Yu Tsai <wens@csie.org>
14131413
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
14141414
S: Maintained
@@ -3577,7 +3577,7 @@ F: Documentation/filesystems/caching/cachefiles.txt
35773577
F: fs/cachefiles/
35783578

35793579
CADENCE MIPI-CSI2 BRIDGES
3580-
M: Maxime Ripard <maxime.ripard@bootlin.com>
3580+
M: Maxime Ripard <mripard@kernel.org>
35813581
L: linux-media@vger.kernel.org
35823582
S: Maintained
35833583
F: Documentation/devicetree/bindings/media/cdns,*.txt
@@ -5295,7 +5295,7 @@ F: include/linux/vga*
52955295

52965296
DRM DRIVERS AND MISC GPU PATCHES
52975297
M: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
5298-
M: Maxime Ripard <maxime.ripard@bootlin.com>
5298+
M: Maxime Ripard <mripard@kernel.org>
52995299
M: Sean Paul <sean@poorly.run>
53005300
W: https://01.org/linuxgraphics/gfx-docs/maintainer-tools/drm-misc.html
53015301
S: Maintained
@@ -5308,7 +5308,7 @@ F: include/uapi/drm/drm*
53085308
F: include/linux/vga*
53095309

53105310
DRM DRIVERS FOR ALLWINNER A10
5311-
M: Maxime Ripard <maxime.ripard@bootlin.com>
5311+
M: Maxime Ripard <mripard@kernel.org>
53125312
L: dri-devel@lists.freedesktop.org
53135313
S: Supported
53145314
F: drivers/gpu/drm/sun4i/

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

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
uart0: serial@0 {
186186
compatible = "ti,am3352-uart", "ti,omap3-uart";
187187
clock-frequency = <48000000>;
188-
reg = <0x0 0x2000>;
188+
reg = <0x0 0x1000>;
189189
interrupts = <72>;
190190
status = "disabled";
191191
dmas = <&edma 26 0>, <&edma 27 0>;
@@ -934,7 +934,7 @@
934934
uart1: serial@0 {
935935
compatible = "ti,am3352-uart", "ti,omap3-uart";
936936
clock-frequency = <48000000>;
937-
reg = <0x0 0x2000>;
937+
reg = <0x0 0x1000>;
938938
interrupts = <73>;
939939
status = "disabled";
940940
dmas = <&edma 28 0>, <&edma 29 0>;
@@ -966,7 +966,7 @@
966966
uart2: serial@0 {
967967
compatible = "ti,am3352-uart", "ti,omap3-uart";
968968
clock-frequency = <48000000>;
969-
reg = <0x0 0x2000>;
969+
reg = <0x0 0x1000>;
970970
interrupts = <74>;
971971
status = "disabled";
972972
dmas = <&edma 30 0>, <&edma 31 0>;
@@ -1614,7 +1614,7 @@
16141614
uart3: serial@0 {
16151615
compatible = "ti,am3352-uart", "ti,omap3-uart";
16161616
clock-frequency = <48000000>;
1617-
reg = <0x0 0x2000>;
1617+
reg = <0x0 0x1000>;
16181618
interrupts = <44>;
16191619
status = "disabled";
16201620
};
@@ -1644,7 +1644,7 @@
16441644
uart4: serial@0 {
16451645
compatible = "ti,am3352-uart", "ti,omap3-uart";
16461646
clock-frequency = <48000000>;
1647-
reg = <0x0 0x2000>;
1647+
reg = <0x0 0x1000>;
16481648
interrupts = <45>;
16491649
status = "disabled";
16501650
};
@@ -1674,7 +1674,7 @@
16741674
uart5: serial@0 {
16751675
compatible = "ti,am3352-uart", "ti,omap3-uart";
16761676
clock-frequency = <48000000>;
1677-
reg = <0x0 0x2000>;
1677+
reg = <0x0 0x1000>;
16781678
interrupts = <46>;
16791679
status = "disabled";
16801680
};
@@ -1758,6 +1758,8 @@
17581758

17591759
target-module@cc000 { /* 0x481cc000, ap 60 46.0 */
17601760
compatible = "ti,sysc-omap4", "ti,sysc";
1761+
reg = <0xcc020 0x4>;
1762+
reg-names = "rev";
17611763
ti,hwmods = "d_can0";
17621764
/* Domains (P, C): per_pwrdm, l4ls_clkdm */
17631765
clocks = <&l4ls_clkctrl AM3_L4LS_D_CAN0_CLKCTRL 0>,
@@ -1780,6 +1782,8 @@
17801782

17811783
target-module@d0000 { /* 0x481d0000, ap 62 42.0 */
17821784
compatible = "ti,sysc-omap4", "ti,sysc";
1785+
reg = <0xd0020 0x4>;
1786+
reg-names = "rev";
17831787
ti,hwmods = "d_can1";
17841788
/* Domains (P, C): per_pwrdm, l4ls_clkdm */
17851789
clocks = <&l4ls_clkctrl AM3_L4LS_D_CAN1_CLKCTRL 0>,

‎arch/arm/boot/dts/am33xx.dtsi‎

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,33 @@
234234
interrupt-names = "edma3_tcerrint";
235235
};
236236

237-
mmc3: mmc@47810000 {
238-
compatible = "ti,omap4-hsmmc";
237+
target-module@47810000 {
238+
compatible = "ti,sysc-omap2", "ti,sysc";
239239
ti,hwmods = "mmc3";
240-
ti,needs-special-reset;
241-
interrupts = <29>;
242-
reg = <0x47810000 0x1000>;
243-
status = "disabled";
240+
reg = <0x478102fc 0x4>,
241+
<0x47810110 0x4>,
242+
<0x47810114 0x4>;
243+
reg-names = "rev", "sysc", "syss";
244+
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
245+
SYSC_OMAP2_ENAWAKEUP |
246+
SYSC_OMAP2_SOFTRESET |
247+
SYSC_OMAP2_AUTOIDLE)>;
248+
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
249+
<SYSC_IDLE_NO>,
250+
<SYSC_IDLE_SMART>;
251+
ti,syss-mask = <1>;
252+
clocks = <&l3s_clkctrl AM3_L3S_MMC3_CLKCTRL 0>;
253+
clock-names = "fck";
254+
#address-cells = <1>;
255+
#size-cells = <1>;
256+
ranges = <0x0 0x47810000 0x1000>;
257+
258+
mmc3: mmc@0 {
259+
compatible = "ti,omap4-hsmmc";
260+
ti,needs-special-reset;
261+
interrupts = <29>;
262+
reg = <0x0 0x1000>;
263+
};
244264
};
245265

246266
usb: usb@47400000 {

‎arch/arm/boot/dts/am4372.dtsi‎

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,13 +228,33 @@
228228
interrupt-names = "edma3_tcerrint";
229229
};
230230

231-
mmc3: mmc@47810000 {
232-
compatible = "ti,omap4-hsmmc";
233-
reg = <0x47810000 0x1000>;
231+
target-module@47810000 {
232+
compatible = "ti,sysc-omap2", "ti,sysc";
234233
ti,hwmods = "mmc3";
235-
ti,needs-special-reset;
236-
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
237-
status = "disabled";
234+
reg = <0x478102fc 0x4>,
235+
<0x47810110 0x4>,
236+
<0x47810114 0x4>;
237+
reg-names = "rev", "sysc", "syss";
238+
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
239+
SYSC_OMAP2_ENAWAKEUP |
240+
SYSC_OMAP2_SOFTRESET |
241+
SYSC_OMAP2_AUTOIDLE)>;
242+
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
243+
<SYSC_IDLE_NO>,
244+
<SYSC_IDLE_SMART>;
245+
ti,syss-mask = <1>;
246+
clocks = <&l3s_clkctrl AM4_L3S_MMC3_CLKCTRL 0>;
247+
clock-names = "fck";
248+
#address-cells = <1>;
249+
#size-cells = <1>;
250+
ranges = <0x0 0x47810000 0x1000>;
251+
252+
mmc3: mmc@0 {
253+
compatible = "ti,omap4-hsmmc";
254+
ti,needs-special-reset;
255+
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
256+
reg = <0x0 0x1000>;
257+
};
238258
};
239259

240260
sham: sham@53100000 {

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1574,6 +1574,8 @@
15741574

15751575
target-module@cc000 { /* 0x481cc000, ap 50 46.0 */
15761576
compatible = "ti,sysc-omap4", "ti,sysc";
1577+
reg = <0xcc020 0x4>;
1578+
reg-names = "rev";
15771579
ti,hwmods = "d_can0";
15781580
/* Domains (P, C): per_pwrdm, l4ls_clkdm */
15791581
clocks = <&l4ls_clkctrl AM4_L4LS_D_CAN0_CLKCTRL 0>;
@@ -1593,6 +1595,8 @@
15931595

15941596
target-module@d0000 { /* 0x481d0000, ap 52 3a.0 */
15951597
compatible = "ti,sysc-omap4", "ti,sysc";
1598+
reg = <0xd0020 0x4>;
1599+
reg-names = "rev";
15961600
ti,hwmods = "d_can1";
15971601
/* Domains (P, C): per_pwrdm, l4ls_clkdm */
15981602
clocks = <&l4ls_clkctrl AM4_L4LS_D_CAN1_CLKCTRL 0>;

‎arch/arm/boot/dts/am571x-idk.dts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,9 @@
175175
};
176176

177177
&mmc1 {
178-
pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
178+
pinctrl-names = "default", "hs";
179179
pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
180180
pinctrl-1 = <&mmc1_pins_hs>;
181-
pinctrl-2 = <&mmc1_pins_sdr12>;
182-
pinctrl-3 = <&mmc1_pins_sdr25>;
183-
pinctrl-4 = <&mmc1_pins_sdr50>;
184-
pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>;
185-
pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
186181
};
187182

188183
&mmc2 {

‎arch/arm/boot/dts/am572x-idk.dts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,9 @@
1616
};
1717

1818
&mmc1 {
19-
pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
19+
pinctrl-names = "default", "hs";
2020
pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
2121
pinctrl-1 = <&mmc1_pins_hs>;
22-
pinctrl-2 = <&mmc1_pins_sdr12>;
23-
pinctrl-3 = <&mmc1_pins_sdr25>;
24-
pinctrl-4 = <&mmc1_pins_sdr50>;
25-
pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev20_conf>;
26-
pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
2722
};
2823

2924
&mmc2 {

‎arch/arm/boot/dts/am574x-idk.dts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,9 @@
2424
};
2525

2626
&mmc1 {
27-
pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
27+
pinctrl-names = "default", "hs";
2828
pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
2929
pinctrl-1 = <&mmc1_pins_hs>;
30-
pinctrl-2 = <&mmc1_pins_default>;
31-
pinctrl-3 = <&mmc1_pins_hs>;
32-
pinctrl-4 = <&mmc1_pins_sdr50>;
33-
pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_conf>;
34-
pinctrl-6 = <&mmc1_pins_ddr50 &mmc1_iodelay_sdr104_conf>;
3530
};
3631

3732
&mmc2 {

‎arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@
379379
};
380380
};
381381

382-
&gpio7 {
382+
&gpio7_target {
383383
ti,no-reset-on-init;
384384
ti,no-idle-on-init;
385385
};
@@ -430,6 +430,7 @@
430430

431431
bus-width = <4>;
432432
cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
433+
no-1-8-v;
433434
};
434435

435436
&mmc2 {

0 commit comments

Comments
 (0)