]> www.infradead.org Git - users/hch/misc.git/commitdiff
arm64: dts: rockchip: fix fixed-regulator renames on rk3399-gru devices
authorHeiko Stuebner <heiko@sntech.de>
Thu, 16 Jan 2025 14:36:31 +0000 (15:36 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 3 Feb 2025 08:59:24 +0000 (09:59 +0100)
rk3399-gru chromebooks have a regulator chains where one named regulator
supplies multiple regulators pp900-usb pp900_pcie that supply
the named peripherals.

The dtsi used somewhat creative structure to describe that in creating
the base node 3 times with different phandles and describing the EC
dependency in a comment.

This didn't register in the recent regulator-node renaming, as the
additional nodes were empty, so adapt the missing node names for now.

Fixes: 5c96e6330197 ("arm64: dts: rockchip: adapt regulator nodenames to preferred form")
Tested-by: Vicente Bergas <vicencb@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250116143631.3650469-1-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi
arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi

index 988e6ca32fac94e8f64af8a58a7dcc4e05d60606..a9ea4b0daa04c6e09a28e014bec9e164a81d4a3e 100644 (file)
        };
 
        /* EC turns on w/ pp900_usb_en */
-       pp900_usb: pp900-ap {
+       pp900_usb: regulator-pp900-ap {
        };
 
        /* EC turns on w/ pp900_pcie_en */
-       pp900_pcie: pp900-ap {
+       pp900_pcie: regulator-pp900-ap {
        };
 
        pp3000: regulator-pp3000 {
        };
 
        /* Always on; plain and simple */
-       pp3000_ap: pp3000_emmc: pp3000 {
+       pp3000_ap: pp3000_emmc: regulator-pp3000 {
        };
 
        pp1500_ap_io: regulator-pp1500-ap-io {
        };
 
        /* EC turns on w/ pp3300_usb_en_l */
-       pp3300_usb: pp3300 {
+       pp3300_usb: regulator-pp3300 {
        };
 
        /* gpio is shared with pp1800_pcie and pinctrl is set there */
index 19b23b438965835a503ea1f175cc4f48b94c7a83..5e068377a0a28e63817dfdb97396b350ffd8b0b1 100644 (file)
@@ -92,7 +92,7 @@
        };
 
        /* EC turns on pp1800_s3_en */
-       pp1800_s3: pp1800 {
+       pp1800_s3: regulator-pp1800 {
        };
 
        /* pp3300 children, sorted by name */
        };
 
        /* EC turns on pp3300_s0_en */
-       pp3300_s0: pp3300 {
+       pp3300_s0: regulator-pp3300 {
        };
 
        /* EC turns on pp3300_s3_en */
-       pp3300_s3: pp3300 {
+       pp3300_s3: regulator-pp3300 {
        };
 
        /*
index 6d9e60b01225e5673e0066eac5d7fa101d506099..7eca1da78cffab6d2f077a915635370fcfcdeeea 100644 (file)
        };
 
        /* EC turns on w/ pp900_ddrpll_en */
-       pp900_ddrpll: pp900-ap {
+       pp900_ddrpll: regulator-pp900-ap {
        };
 
        /* EC turns on w/ pp900_pll_en */
-       pp900_pll: pp900-ap {
+       pp900_pll: regulator-pp900-ap {
        };
 
        /* EC turns on w/ pp900_pmu_en */
-       pp900_pmu: pp900-ap {
+       pp900_pmu: regulator-pp900-ap {
        };
 
        /* EC turns on w/ pp1800_s0_en_l */
-       pp1800_ap_io: pp1800_emmc: pp1800_nfc: pp1800_s0: pp1800 {
+       pp1800_ap_io: pp1800_emmc: pp1800_nfc: pp1800_s0: regulator-pp1800 {
        };
 
        /* EC turns on w/ pp1800_avdd_en_l */
-       pp1800_avdd: pp1800 {
+       pp1800_avdd: regulator-pp1800 {
        };
 
        /* EC turns on w/ pp1800_lid_en_l */
-       pp1800_lid: pp1800_mic: pp1800 {
+       pp1800_lid: pp1800_mic: regulator-pp1800 {
        };
 
        /* EC turns on w/ lpddr_pwr_en */
-       pp1800_lpddr: pp1800 {
+       pp1800_lpddr: regulator-pp1800 {
        };
 
        /* EC turns on w/ pp1800_pmu_en_l */
-       pp1800_pmu: pp1800 {
+       pp1800_pmu: regulator-pp1800 {
        };
 
        /* EC turns on w/ pp1800_usb_en_l */
-       pp1800_usb: pp1800 {
+       pp1800_usb: regulator-pp1800 {
        };
 
        pp3000_sd_slot: regulator-pp3000-sd-slot {
        };
 
        /* EC turns on w/ pp3300_trackpad_en_l */
-       pp3300_trackpad: pp3300-trackpad {
+       pp3300_trackpad: regulator-pp3300-trackpad {
        };
 
        /* EC turns on w/ usb_a_en */
-       pp5000_usb_a_vbus: pp5000 {
+       pp5000_usb_a_vbus: regulator-pp5000 {
        };
 
        ap_rtc_clk: ap-rtc-clk {