Skip to content

Commit 795a2ab

Browse files
committed
Merge tag 'v5.17-rockchip-dtsfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/fixes
Fix the display-port-sound on Gru devices, DDR voltage on the Quartz-A board, fix emmc signal-integrity and usb OTG mode on rk3399-puma as well as a number of dtschema fixes to make the reduce the number of errors. * tag 'v5.17-rockchip-dtsfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: ARM: dts: rockchip: fix a typo on rk3288 crypto-controller ARM: dts: rockchip: reorder rk322x hmdi clocks arm64: dts: rockchip: reorder rk3399 hdmi clocks arm64: dts: rockchip: align pl330 node name with dtschema arm64: dts: rockchip: fix rk3399-puma eMMC HS400 signal integrity arm64: dts: rockchip: fix Quartz64-A ddr regulator voltage arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output arm64: dts: rockchip: fix rk3399-puma-haikou USB OTG mode arm64: dts: rockchip: drop pclk_xpcs from gmac0 on rk3568 arm64: dts: rockchip: fix dma-controller node names on rk356x Link: https://lore.kernel.org/r/1973741.CViHJPHrxy@phil Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 98e437f + 3916c36 commit 795a2ab

File tree

11 files changed

+45
-21
lines changed

11 files changed

+45
-21
lines changed

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/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 {

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,11 @@
3232
clocks = <&cru SCLK_GMAC0>, <&cru SCLK_GMAC0_RX_TX>,
3333
<&cru SCLK_GMAC0_RX_TX>, <&cru CLK_MAC0_REFOUT>,
3434
<&cru ACLK_GMAC0>, <&cru PCLK_GMAC0>,
35-
<&cru SCLK_GMAC0_RX_TX>, <&cru CLK_GMAC0_PTP_REF>,
36-
<&cru PCLK_XPCS>;
35+
<&cru SCLK_GMAC0_RX_TX>, <&cru CLK_GMAC0_PTP_REF>;
3736
clock-names = "stmmaceth", "mac_clk_rx",
3837
"mac_clk_tx", "clk_mac_refout",
3938
"aclk_mac", "pclk_mac",
40-
"clk_mac_speed", "ptp_ref",
41-
"pclk_xpcs";
39+
"clk_mac_speed", "ptp_ref";
4240
resets = <&cru SRST_A_GMAC0>;
4341
reset-names = "stmmaceth";
4442
rockchip,grf = <&grf>;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@
651651
status = "disabled";
652652
};
653653

654-
dmac0: dmac@fe530000 {
654+
dmac0: dma-controller@fe530000 {
655655
compatible = "arm,pl330", "arm,primecell";
656656
reg = <0x0 0xfe530000 0x0 0x4000>;
657657
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
@@ -662,7 +662,7 @@
662662
#dma-cells = <1>;
663663
};
664664

665-
dmac1: dmac@fe550000 {
665+
dmac1: dma-controller@fe550000 {
666666
compatible = "arm,pl330", "arm,primecell";
667667
reg = <0x0 0xfe550000 0x0 0x4000>;
668668
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,

0 commit comments

Comments
 (0)