Skip to content

Commit 719fce7

Browse files
committed
Merge tag 'soc-fixes-5.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC fixes from Arnd Bergmann: "The code changes address mostly minor problems: - Several NXP/FSL SoC driver fixes, addressing issues with error handling and compilation - Fix a clock disabling imbalance in gpcv2 driver. - Arm Juno DMA coherency issue - Trivial firmware driver fixes for op-tee and scmi firmware The remaining changes address issues in the devicetree files: - A timer regression for the OMAP devkit8000, which has to use the alternative timer. - A hang in the i.MX8MM power domain configuration - Multiple fixes for the Rockchip RK3399 addressing issues with sound and eMMC - Cosmetic fixes for i.MX8ULP, RK3xxx, and Tegra124" * tag 'soc-fixes-5.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (32 commits) ARM: tegra: Move panels to AUX bus soc: imx: gpcv2: Fix clock disabling imbalance in error path soc: fsl: qe: Check of ioremap return value soc: fsl: qe: fix typo in a comment soc: fsl: guts: Add a missing memory allocation failure check soc: fsl: guts: Revert commit 3c0d64e soc: fsl: Correct MAINTAINERS database (SOC) soc: fsl: Correct MAINTAINERS database (QUICC ENGINE LIBRARY) soc: fsl: Replace kernel.h with the necessary inclusions dt-bindings: fsl,layerscape-dcfg: add missing compatible for lx2160a dt-bindings: qoriq-clock: add missing compatible for lx2160a ARM: dts: Use 32KiHz oscillator on devkit8000 ARM: dts: switch timer config to common devkit8000 devicetree tee: optee: fix error return code in probe function arm64: dts: imx8ulp: Set #thermal-sensor-cells to 1 as required arm64: dts: imx8mm: Fix VPU Hanging ARM: dts: rockchip: fix a typo on rk3288 crypto-controller ARM: dts: rockchip: reorder rk322x hmdi clocks firmware: arm_scmi: Remove space in MODULE_ALIAS name arm64: dts: agilex: use the compatible "intel,socfpga-agilex-hsotg" ...
2 parents 201b5c0 + c253bf7 commit 719fce7

39 files changed

+138
-102
lines changed

CREDITS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,12 @@ S: 3000 FORE Drive
895895
S: Warrendale, Pennsylvania 15086
896896
S: USA
897897

898+
N: Ludovic Desroches
899+
900+
D: Maintainer for ARM/Microchip (AT91) SoC support
901+
D: Author of ADC, pinctrl, XDMA and SDHCI drivers for this platform
902+
S: France
903+
898904
N: Martin Devera
899905
900906
W: http://luxik.cdi.cz/~devik/qos/

Documentation/devicetree/bindings/arm/atmel-at91.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ title: Atmel AT91 device tree bindings.
88

99
maintainers:
1010
- Alexandre Belloni <[email protected]>
11-
- Ludovic Desroches <[email protected]>
11+
- Claudiu Beznea <[email protected]>
12+
- Nicolas Ferre <[email protected]>
1213

1314
description: |
1415
Boards with a SoC of the Atmel AT91 or SMART family shall have the following

Documentation/devicetree/bindings/arm/freescale/fsl,layerscape-dcfg.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Required properties:
88
- compatible: Should contain a chip-specific compatible string,
99
Chip-specific strings are of the form "fsl,<chip>-dcfg",
1010
The following <chip>s are known to be supported:
11-
ls1012a, ls1021a, ls1043a, ls1046a, ls2080a.
11+
ls1012a, ls1021a, ls1043a, ls1046a, ls2080a, lx2160a
1212

1313
- reg : should contain base address and length of DCFG memory-mapped registers
1414

Documentation/devicetree/bindings/clock/qoriq-clock.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Required properties:
4444
* "fsl,ls1046a-clockgen"
4545
* "fsl,ls1088a-clockgen"
4646
* "fsl,ls2080a-clockgen"
47+
* "fsl,lx2160a-clockgen"
4748
Chassis-version clock strings include:
4849
* "fsl,qoriq-clockgen-1.0": for chassis 1.0 clocks
4950
* "fsl,qoriq-clockgen-2.0": for chassis 2.0 clocks

Documentation/devicetree/bindings/usb/dwc2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ properties:
5353
- const: st,stm32mp15-hsotg
5454
- const: snps,dwc2
5555
- const: samsung,s3c6400-hsotg
56+
- const: intel,socfpga-agilex-hsotg
5657

5758
reg:
5859
maxItems: 1

MAINTAINERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2254,7 +2254,7 @@ F: drivers/phy/mediatek/
22542254
ARM/Microchip (AT91) SoC support
22552255
M: Nicolas Ferre <[email protected]>
22562256
M: Alexandre Belloni <[email protected]>
2257-
M: Ludovic Desroches <ludovic.desroches@microchip.com>
2257+
M: Claudiu Beznea <claudiu.beznea@microchip.com>
22582258
L: [email protected] (moderated for non-subscribers)
22592259
S: Supported
22602260
W: http://www.linux4sam.org
@@ -7744,8 +7744,7 @@ M: Qiang Zhao <[email protected]>
77447744
77457745
S: Maintained
77467746
F: drivers/soc/fsl/qe/
7747-
F: include/soc/fsl/*qe*.h
7748-
F: include/soc/fsl/*ucc*.h
7747+
F: include/soc/fsl/qe/
77497748

77507749
FREESCALE QUICC ENGINE UCC ETHERNET DRIVER
77517750
M: Li Yang <[email protected]>
@@ -7776,6 +7775,7 @@ F: Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml
77767775
F: Documentation/devicetree/bindings/soc/fsl/
77777776
F: drivers/soc/fsl/
77787777
F: include/linux/fsl/
7778+
F: include/soc/fsl/
77797779

77807780
FREESCALE SOC FS_ENET DRIVER
77817781
M: Pantelis Antoniou <[email protected]>

arch/arm/boot/dts/omap3-devkit8000-common.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,24 @@
158158
status = "disabled";
159159
};
160160

161+
/* Unusable as clockevent because if unreliable oscillator, allow to idle */
162+
&timer1_target {
163+
/delete-property/ti,no-reset-on-init;
164+
/delete-property/ti,no-idle;
165+
timer@0 {
166+
/delete-property/ti,timer-alwon;
167+
};
168+
};
169+
170+
/* Preferred timer for clockevent */
171+
&timer12_target {
172+
ti,no-reset-on-init;
173+
ti,no-idle;
174+
timer@0 {
175+
/* Always clocked by secure_32k_fck */
176+
};
177+
};
178+
161179
&twl_gpio {
162180
ti,use-leds;
163181
/*

arch/arm/boot/dts/omap3-devkit8000.dts

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -14,36 +14,3 @@
1414
display2 = &tv0;
1515
};
1616
};
17-
18-
/* Unusable as clocksource because of unreliable oscillator */
19-
&counter32k {
20-
status = "disabled";
21-
};
22-
23-
/* Unusable as clockevent because if unreliable oscillator, allow to idle */
24-
&timer1_target {
25-
/delete-property/ti,no-reset-on-init;
26-
/delete-property/ti,no-idle;
27-
timer@0 {
28-
/delete-property/ti,timer-alwon;
29-
};
30-
};
31-
32-
/* Preferred always-on timer for clocksource */
33-
&timer12_target {
34-
ti,no-reset-on-init;
35-
ti,no-idle;
36-
timer@0 {
37-
/* Always clocked by secure_32k_fck */
38-
};
39-
};
40-
41-
/* Preferred timer for clockevent */
42-
&timer2_target {
43-
ti,no-reset-on-init;
44-
ti,no-idle;
45-
timer@0 {
46-
assigned-clocks = <&gpt2_fck>;
47-
assigned-clock-parents = <&sys_ck>;
48-
};
49-
};

arch/arm/boot/dts/rk322x.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -718,8 +718,8 @@
718718
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
719719
assigned-clocks = <&cru SCLK_HDMI_PHY>;
720720
assigned-clock-parents = <&hdmi_phy>;
721-
clocks = <&cru SCLK_HDMI_HDCP>, <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_CEC>;
722-
clock-names = "isfr", "iahb", "cec";
721+
clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>, <&cru SCLK_HDMI_CEC>;
722+
clock-names = "iahb", "isfr", "cec";
723723
pinctrl-names = "default";
724724
pinctrl-0 = <&hdmii2c_xfer &hdmi_hpd &hdmi_cec>;
725725
resets = <&cru SRST_HDMI_P>;

arch/arm/boot/dts/rk3288.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@
971971
status = "disabled";
972972
};
973973

974-
crypto: cypto-controller@ff8a0000 {
974+
crypto: crypto@ff8a0000 {
975975
compatible = "rockchip,rk3288-crypto";
976976
reg = <0x0 0xff8a0000 0x0 0x4000>;
977977
interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;

arch/arm/boot/dts/tegra124-nyan-big.dts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@
1313
"google,nyan-big-rev1", "google,nyan-big-rev0",
1414
"google,nyan-big", "google,nyan", "nvidia,tegra124";
1515

16-
panel: panel {
17-
compatible = "auo,b133xtn01";
18-
19-
power-supply = <&vdd_3v3_panel>;
20-
backlight = <&backlight>;
21-
ddc-i2c-bus = <&dpaux>;
16+
host1x@50000000 {
17+
dpaux@545c0000 {
18+
aux-bus {
19+
panel: panel {
20+
compatible = "auo,b133xtn01";
21+
backlight = <&backlight>;
22+
};
23+
};
24+
};
2225
};
2326

2427
mmc@700b0400 { /* SD Card on this bus */

arch/arm/boot/dts/tegra124-nyan-blaze.dts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,15 @@
1515
"google,nyan-blaze-rev0", "google,nyan-blaze",
1616
"google,nyan", "nvidia,tegra124";
1717

18-
panel: panel {
19-
compatible = "samsung,ltn140at29-301";
20-
21-
power-supply = <&vdd_3v3_panel>;
22-
backlight = <&backlight>;
23-
ddc-i2c-bus = <&dpaux>;
18+
host1x@50000000 {
19+
dpaux@545c0000 {
20+
aux-bus {
21+
panel: panel {
22+
compatible = "samsung,ltn140at29-301";
23+
backlight = <&backlight>;
24+
};
25+
};
26+
};
2427
};
2528

2629
sound {

arch/arm/boot/dts/tegra124-venice2.dts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@
4848
dpaux@545c0000 {
4949
vdd-supply = <&vdd_3v3_panel>;
5050
status = "okay";
51+
52+
aux-bus {
53+
panel: panel {
54+
compatible = "lg,lp129qe";
55+
backlight = <&backlight>;
56+
};
57+
};
5158
};
5259
};
5360

@@ -1080,13 +1087,6 @@
10801087
};
10811088
};
10821089

1083-
panel: panel {
1084-
compatible = "lg,lp129qe";
1085-
power-supply = <&vdd_3v3_panel>;
1086-
backlight = <&backlight>;
1087-
ddc-i2c-bus = <&dpaux>;
1088-
};
1089-
10901090
vdd_mux: regulator-mux {
10911091
compatible = "regulator-fixed";
10921092
regulator-name = "+VDD_MUX";

arch/arm64/boot/dts/arm/juno-base.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,7 @@
543543
<0x02000000 0x00 0x50000000 0x00 0x50000000 0x0 0x08000000>,
544544
<0x42000000 0x40 0x00000000 0x40 0x00000000 0x1 0x00000000>;
545545
/* Standard AXI Translation entries as programmed by EDK2 */
546-
dma-ranges = <0x02000000 0x0 0x2c1c0000 0x0 0x2c1c0000 0x0 0x00040000>,
547-
<0x02000000 0x0 0x80000000 0x0 0x80000000 0x0 0x80000000>,
546+
dma-ranges = <0x02000000 0x0 0x80000000 0x0 0x80000000 0x0 0x80000000>,
548547
<0x43000000 0x8 0x00000000 0x8 0x00000000 0x2 0x00000000>;
549548
#interrupt-cells = <1>;
550549
interrupt-map-mask = <0 0 0 7>;

arch/arm64/boot/dts/freescale/imx8mm.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,6 @@
707707
clocks = <&clk IMX8MM_CLK_VPU_DEC_ROOT>;
708708
assigned-clocks = <&clk IMX8MM_CLK_VPU_BUS>;
709709
assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>;
710-
resets = <&src IMX8MQ_RESET_VPU_RESET>;
711710
};
712711

713712
pgc_vpu_g1: power-domain@7 {

arch/arm64/boot/dts/freescale/imx8ulp.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132

133133
scmi_sensor: protocol@15 {
134134
reg = <0x15>;
135-
#thermal-sensor-cells = <0>;
135+
#thermal-sensor-cells = <1>;
136136
};
137137
};
138138
};

arch/arm64/boot/dts/intel/socfpga_agilex.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@
502502
};
503503

504504
usb0: usb@ffb00000 {
505-
compatible = "snps,dwc2";
505+
compatible = "intel,socfpga-agilex-hsotg", "snps,dwc2";
506506
reg = <0xffb00000 0x40000>;
507507
interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
508508
phys = <&usbphy0>;
@@ -515,7 +515,7 @@
515515
};
516516

517517
usb1: usb@ffb40000 {
518-
compatible = "snps,dwc2";
518+
compatible = "intel,socfpga-agilex-hsotg", "snps,dwc2";
519519
reg = <0xffb40000 0x40000>;
520520
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
521521
phys = <&usbphy0>;

arch/arm64/boot/dts/rockchip/px30.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@
711711
clock-names = "pclk", "timer";
712712
};
713713

714-
dmac: dmac@ff240000 {
714+
dmac: dma-controller@ff240000 {
715715
compatible = "arm,pl330", "arm,primecell";
716716
reg = <0x0 0xff240000 0x0 0x4000>;
717717
interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,

arch/arm64/boot/dts/rockchip/rk3328.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@
489489
status = "disabled";
490490
};
491491

492-
dmac: dmac@ff1f0000 {
492+
dmac: dma-controller@ff1f0000 {
493493
compatible = "arm,pl330", "arm,primecell";
494494
reg = <0x0 0xff1f0000 0x0 0x4000>;
495495
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,

arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286

287287
sound: sound {
288288
compatible = "rockchip,rk3399-gru-sound";
289-
rockchip,cpu = <&i2s0 &i2s2>;
289+
rockchip,cpu = <&i2s0 &spdif>;
290290
};
291291
};
292292

@@ -437,10 +437,6 @@ ap_i2c_audio: &i2c8 {
437437
status = "okay";
438438
};
439439

440-
&i2s2 {
441-
status = "okay";
442-
};
443-
444440
&io_domains {
445441
status = "okay";
446442

@@ -537,6 +533,17 @@ ap_i2c_audio: &i2c8 {
537533
vqmmc-supply = <&ppvar_sd_card_io>;
538534
};
539535

536+
&spdif {
537+
status = "okay";
538+
539+
/*
540+
* SPDIF is routed internally to DP; we either don't use these pins, or
541+
* mux them to something else.
542+
*/
543+
/delete-property/ pinctrl-0;
544+
/delete-property/ pinctrl-names;
545+
};
546+
540547
&spi1 {
541548
status = "okay";
542549

arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@
232232

233233
&usbdrd_dwc3_0 {
234234
dr_mode = "otg";
235+
extcon = <&extcon_usb3>;
235236
status = "okay";
236237
};
237238

arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
};
2626
};
2727

28+
extcon_usb3: extcon-usb3 {
29+
compatible = "linux,extcon-usb-gpio";
30+
id-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>;
31+
pinctrl-names = "default";
32+
pinctrl-0 = <&usb3_id>;
33+
};
34+
2835
clkin_gmac: external-gmac-clock {
2936
compatible = "fixed-clock";
3037
clock-frequency = <125000000>;
@@ -422,9 +429,22 @@
422429
<4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
423430
};
424431
};
432+
433+
usb3 {
434+
usb3_id: usb3-id {
435+
rockchip,pins =
436+
<1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
437+
};
438+
};
425439
};
426440

427441
&sdhci {
442+
/*
443+
* Signal integrity isn't great at 200MHz but 100MHz has proven stable
444+
* enough.
445+
*/
446+
max-frequency = <100000000>;
447+
428448
bus-width = <8>;
429449
mmc-hs400-1_8v;
430450
mmc-hs400-enhanced-strobe;

arch/arm64/boot/dts/rockchip/rk3399.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1881,10 +1881,10 @@
18811881
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH 0>;
18821882
clocks = <&cru PCLK_HDMI_CTRL>,
18831883
<&cru SCLK_HDMI_SFR>,
1884-
<&cru PLL_VPLL>,
1884+
<&cru SCLK_HDMI_CEC>,
18851885
<&cru PCLK_VIO_GRF>,
1886-
<&cru SCLK_HDMI_CEC>;
1887-
clock-names = "iahb", "isfr", "vpll", "grf", "cec";
1886+
<&cru PLL_VPLL>;
1887+
clock-names = "iahb", "isfr", "cec", "grf", "vpll";
18881888
power-domains = <&power RK3399_PD_HDCP>;
18891889
reg-io-width = <4>;
18901890
rockchip,grf = <&grf>;

arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,6 @@
285285
vcc_ddr: DCDC_REG3 {
286286
regulator-always-on;
287287
regulator-boot-on;
288-
regulator-min-microvolt = <1100000>;
289-
regulator-max-microvolt = <1100000>;
290288
regulator-initial-mode = <0x2>;
291289
regulator-name = "vcc_ddr";
292290
regulator-state-mem {

0 commit comments

Comments
 (0)