Skip to content

Commit 54fe3ff

Browse files
committed
Merge tag 'arm-soc-fixes-v5.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC fixes from Arnd Bergmann: "The code fixes in this round are all for the Texas Instruments OMAP platform, addressing several regressions related to the ti-sysc interconnect changes that was merged in linux-5.11 and one recently introduced RCU usage warning. Tero Kristo updates his maintainer file entries as he is changing to a new employer. The other changes are for devicetree files across eight different platforms: TI OMAP: - multiple gpio related one-line fixes Allwinner/sunxi: - ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode - soc: sunxi: mbus: Remove DE2 display engine compatibles NXP lpc32xx: - ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL STMicroelectronics stm32 - multiple minor fixes for DHCOM/DHCOR boards NXP Layerscape: - Fix DCFG address range on LS1046A SoC Amlogic meson: - fix reboot issue on odroid C4 - revert an ethernet change that caused a regression - meson-g12: Set FL-adj property value Rockchip: - multiple minor fixes on 64-bit rockchip machines Qualcomm: - Regression fixes for Lenovo Yoga touchpad and for interconnect configuration - Boot fixes for 'LPASS' clock configuration on two machines" * tag 'arm-soc-fixes-v5.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (31 commits) ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode arm64: dts: ls1046a: fix dcfg address range soc: sunxi: mbus: Remove DE2 display engine compatibles arm64: dts: meson: switch TFLASH_VDD_EN pin to open drain on Odroid-C4 Revert "arm64: dts: amlogic: add missing ethernet reset ID" arm64: dts: rockchip: Disable display for NanoPi R2S ARM: dts: omap4-droid4: Fix lost keypad slide interrupts for droid4 arm64: dts: rockchip: remove interrupt-names property from rk3399 vdec node drivers: bus: simple-pm-bus: Fix compatibility with simple-bus for auxdata ARM: OMAP2+: Fix booting for am335x after moving to simple-pm-bus ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled ARM: dts: stm32: Fix GPIO hog flags on DHCOM DRC02 ARM: dts: stm32: Fix GPIO hog flags on DHCOM PicoITX ARM: dts: stm32: Fix GPIO hog names on DHCOM ARM: dts: stm32: Disable optional TSC2004 on DRC02 board ARM: dts: stm32: Disable WP on DHCOM uSD slot ARM: dts: stm32: Connect card-detect signal on DHCOM ARM: dts: stm32: Fix polarity of the DH DRC02 uSD card detect arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc ...
2 parents 4061597 + 459630a commit 54fe3ff

27 files changed

+84
-73
lines changed

MAINTAINERS

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2616,8 +2616,8 @@ S: Maintained
26162616
F: drivers/power/reset/keystone-reset.c
26172617

26182618
ARM/TEXAS INSTRUMENTS K3 ARCHITECTURE
2619-
M: Tero Kristo <[email protected]>
26202619
M: Nishanth Menon <[email protected]>
2620+
M: Tero Kristo <[email protected]>
26212621
L: [email protected] (moderated for non-subscribers)
26222622
S: Supported
26232623
F: Documentation/devicetree/bindings/arm/ti/k3.yaml
@@ -6474,9 +6474,9 @@ S: Maintained
64746474
F: drivers/edac/skx_*.[ch]
64756475

64766476
EDAC-TI
6477-
M: Tero Kristo <t-kristo@ti.com>
6477+
M: Tero Kristo <kristo@kernel.org>
64786478
6479-
S: Maintained
6479+
S: Odd Fixes
64806480
F: drivers/edac/ti_edac.c
64816481

64826482
EDIROL UA-101/UA-1000 DRIVER
@@ -17572,7 +17572,7 @@ F: include/linux/dma/k3-psil.h
1757217572

1757317573
TEXAS INSTRUMENTS' SYSTEM CONTROL INTERFACE (TISCI) PROTOCOL DRIVER
1757417574
M: Nishanth Menon <[email protected]>
17575-
M: Tero Kristo <t-kristo@ti.com>
17575+
M: Tero Kristo <kristo@kernel.org>
1757617576
M: Santosh Shilimkar <[email protected]>
1757717577
1757817578
S: Maintained
@@ -17716,9 +17716,9 @@ S: Maintained
1771617716
F: drivers/clk/clk-cdce706.c
1771717717

1771817718
TI CLOCK DRIVER
17719-
M: Tero Kristo <t-kristo@ti.com>
17719+
M: Tero Kristo <kristo@kernel.org>
1772017720
17721-
S: Maintained
17721+
S: Odd Fixes
1772217722
F: drivers/clk/ti/
1772317723
F: include/linux/clk/ti.h
1772417724

arch/arm/boot/dts/lpc32xx.dtsi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,6 @@
326326

327327
clocks = <&xtal_32k>, <&xtal>;
328328
clock-names = "xtal_32k", "xtal";
329-
330-
assigned-clocks = <&clk LPC32XX_CLK_HCLK_PLL>;
331-
assigned-clock-rates = <208000000>;
332329
};
333330
};
334331

arch/arm/boot/dts/omap3-gta04.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
115115
gpio-miso = <&gpio1 18 GPIO_ACTIVE_HIGH>;
116116
gpio-mosi = <&gpio1 20 GPIO_ACTIVE_HIGH>;
117-
cs-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
117+
cs-gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
118118
num-chipselects = <1>;
119119

120120
/* lcd panel */
@@ -124,7 +124,6 @@
124124
spi-max-frequency = <100000>;
125125
spi-cpol;
126126
spi-cpha;
127-
spi-cs-high;
128127

129128
backlight= <&backlight>;
130129
label = "lcd";

arch/arm/boot/dts/omap4-droid4-xt894.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@
1616
debounce-interval = <10>;
1717
};
1818

19+
/*
20+
* We use pad 0x4a100116 abe_dmic_din3.gpio_122 as the irq instead
21+
* of the gpio interrupt to avoid lost events in deeper idle states.
22+
*/
1923
slider {
2024
label = "Keypad Slide";
25+
interrupts-extended = <&omap4_pmx_core 0xd6>;
2126
gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; /* gpio122 */
2227
linux,input-type = <EV_SW>;
2328
linux,code = <SW_KEYPAD_SLIDE>;

arch/arm/boot/dts/stm32mp15xx-dhcom-drc02.dtsi

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
* during TX anyway and that it only controls drive enable DE
3434
* line. Hence, the RX is always enabled here.
3535
*/
36-
rs485-rx-en {
36+
rs485-rx-en-hog {
3737
gpio-hog;
38-
gpios = <8 GPIO_ACTIVE_HIGH>;
38+
gpios = <8 0>;
3939
output-low;
4040
line-name = "rs485-rx-en";
4141
};
@@ -61,9 +61,9 @@
6161
* order to reset the Hub when USB bus is powered down, but
6262
* so far there is no such functionality.
6363
*/
64-
usb-hub {
64+
usb-hub-hog {
6565
gpio-hog;
66-
gpios = <2 GPIO_ACTIVE_HIGH>;
66+
gpios = <2 0>;
6767
output-high;
6868
line-name = "usb-hub-reset";
6969
};
@@ -87,6 +87,12 @@
8787
};
8888
};
8989

90+
&i2c4 {
91+
touchscreen@49 {
92+
status = "disabled";
93+
};
94+
};
95+
9096
&i2c5 { /* TP7/TP8 */
9197
pinctrl-names = "default";
9298
pinctrl-0 = <&i2c5_pins_a>;
@@ -104,7 +110,7 @@
104110
* are used for on-board microSD slot instead.
105111
*/
106112
/delete-property/broken-cd;
107-
cd-gpios = <&gpioi 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
113+
cd-gpios = <&gpioi 10 GPIO_ACTIVE_HIGH>;
108114
disable-wp;
109115
};
110116

arch/arm/boot/dts/stm32mp15xx-dhcom-picoitx.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
* in order to turn on port power when USB bus is powered up, but so
4444
* far there is no such functionality.
4545
*/
46-
usb-port-power {
46+
usb-port-power-hog {
4747
gpio-hog;
48-
gpios = <13 GPIO_ACTIVE_LOW>;
48+
gpios = <13 0>;
4949
output-low;
5050
line-name = "usb-port-power";
5151
};

arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,8 @@
390390
pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>;
391391
pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_a>;
392392
pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_a>;
393-
broken-cd;
393+
cd-gpios = <&gpiog 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
394+
disable-wp;
394395
st,sig-dir;
395396
st,neg-edge;
396397
st,use-ckin;

arch/arm/boot/dts/sun7i-a20-bananapro.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
pinctrl-names = "default";
111111
pinctrl-0 = <&gmac_rgmii_pins>;
112112
phy-handle = <&phy1>;
113-
phy-mode = "rgmii";
113+
phy-mode = "rgmii-id";
114114
phy-supply = <&reg_gmac_3v3>;
115115
status = "okay";
116116
};

arch/arm/mach-omap1/board-osk.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ static int osk_tps_setup(struct i2c_client *client, void *context)
203203
*/
204204
gpio_request(OSK_TPS_GPIO_USB_PWR_EN, "n_vbus_en");
205205
gpio_direction_output(OSK_TPS_GPIO_USB_PWR_EN, 1);
206+
/* Free the GPIO again as the driver will request it */
207+
gpio_free(OSK_TPS_GPIO_USB_PWR_EN);
206208

207209
/* Set GPIO 2 high so LED D3 is off by default */
208210
tps65010_set_gpio_out_value(GPIO2, HIGH);

arch/arm/mach-omap2/Kconfig

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ config ARCH_OMAP3
1717
bool "TI OMAP3"
1818
depends on ARCH_MULTI_V7
1919
select ARCH_OMAP2PLUS
20-
select ARM_CPU_SUSPEND if PM
20+
select ARM_CPU_SUSPEND
2121
select OMAP_HWMOD
2222
select OMAP_INTERCONNECT
23-
select PM_OPP if PM
24-
select PM if CPU_IDLE
23+
select PM_OPP
2524
select SOC_HAS_OMAP2_SDRC
2625
select ARM_ERRATA_430973
2726

@@ -30,7 +29,7 @@ config ARCH_OMAP4
3029
depends on ARCH_MULTI_V7
3130
select ARCH_OMAP2PLUS
3231
select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
33-
select ARM_CPU_SUSPEND if PM
32+
select ARM_CPU_SUSPEND
3433
select ARM_ERRATA_720789
3534
select ARM_GIC
3635
select HAVE_ARM_SCU if SMP
@@ -40,7 +39,7 @@ config ARCH_OMAP4
4039
select OMAP_INTERCONNECT_BARRIER
4140
select PL310_ERRATA_588369 if CACHE_L2X0
4241
select PL310_ERRATA_727915 if CACHE_L2X0
43-
select PM_OPP if PM
42+
select PM_OPP
4443
select PM if CPU_IDLE
4544
select ARM_ERRATA_754322
4645
select ARM_ERRATA_775420
@@ -50,22 +49,22 @@ config SOC_OMAP5
5049
bool "TI OMAP5"
5150
depends on ARCH_MULTI_V7
5251
select ARCH_OMAP2PLUS
53-
select ARM_CPU_SUSPEND if PM
52+
select ARM_CPU_SUSPEND
5453
select ARM_GIC
5554
select HAVE_ARM_SCU if SMP
5655
select HAVE_ARM_ARCH_TIMER
5756
select ARM_ERRATA_798181 if SMP
5857
select OMAP_HWMOD
5958
select OMAP_INTERCONNECT
6059
select OMAP_INTERCONNECT_BARRIER
61-
select PM_OPP if PM
60+
select PM_OPP
6261
select ZONE_DMA if ARM_LPAE
6362

6463
config SOC_AM33XX
6564
bool "TI AM33XX"
6665
depends on ARCH_MULTI_V7
6766
select ARCH_OMAP2PLUS
68-
select ARM_CPU_SUSPEND if PM
67+
select ARM_CPU_SUSPEND
6968

7069
config SOC_AM43XX
7170
bool "TI AM43x"
@@ -79,13 +78,13 @@ config SOC_AM43XX
7978
select ARM_ERRATA_754322
8079
select ARM_ERRATA_775420
8180
select OMAP_INTERCONNECT
82-
select ARM_CPU_SUSPEND if PM
81+
select ARM_CPU_SUSPEND
8382

8483
config SOC_DRA7XX
8584
bool "TI DRA7XX"
8685
depends on ARCH_MULTI_V7
8786
select ARCH_OMAP2PLUS
88-
select ARM_CPU_SUSPEND if PM
87+
select ARM_CPU_SUSPEND
8988
select ARM_GIC
9089
select HAVE_ARM_SCU if SMP
9190
select HAVE_ARM_ARCH_TIMER
@@ -94,7 +93,7 @@ config SOC_DRA7XX
9493
select OMAP_HWMOD
9594
select OMAP_INTERCONNECT
9695
select OMAP_INTERCONNECT_BARRIER
97-
select PM_OPP if PM
96+
select PM_OPP
9897
select ZONE_DMA if ARM_LPAE
9998
select PINCTRL_TI_IODELAY if OF && PINCTRL
10099

@@ -112,9 +111,11 @@ config ARCH_OMAP2PLUS
112111
select OMAP_DM_TIMER
113112
select OMAP_GPMC
114113
select PINCTRL
115-
select PM_GENERIC_DOMAINS if PM
116-
select PM_GENERIC_DOMAINS_OF if PM
114+
select PM
115+
select PM_GENERIC_DOMAINS
116+
select PM_GENERIC_DOMAINS_OF
117117
select RESET_CONTROLLER
118+
select SIMPLE_PM_BUS
118119
select SOC_BUS
119120
select TI_SYSC
120121
select OMAP_IRQCHIP
@@ -140,7 +141,6 @@ config ARCH_OMAP2PLUS_TYPICAL
140141
select I2C_OMAP
141142
select MENELAUS if ARCH_OMAP2
142143
select NEON if CPU_V7
143-
select PM
144144
select REGULATOR
145145
select REGULATOR_FIXED_VOLTAGE
146146
select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4

0 commit comments

Comments
 (0)