Skip to content

Commit 9a625a2

Browse files
Nicolas Frattarolimmind
authored andcommitted
arm64: dts: rockchip: adjust dcin regulator on ROCK 4D
The ROCK 4D's actual DC input is 5V, and the schematic names it as being 5V as well. Rename the regulator, and change the voltage it claims to be at. Furthermore, fix vcc_1v1_nldo_s3's vin-supply as coming from vcc_5v0_sys, and not the DCIN, as per the schematic. This makes no functional change; both regulators are always on, and one feeds into the other. Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com> Link: https://lore.kernel.org/r/20250630-rock4d-reg-usb-wifi-v1-1-1057f412d98c@collabora.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent e2fe8ad commit 9a625a2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3576-rock-4d.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@
5757
};
5858
};
5959

60-
vcc_12v0_dcin: regulator-vcc-12v0-dcin {
60+
vcc_5v0_dcin: regulator-vcc-5v0-dcin {
6161
compatible = "regulator-fixed";
6262
regulator-always-on;
6363
regulator-boot-on;
64-
regulator-min-microvolt = <12000000>;
65-
regulator-max-microvolt = <12000000>;
66-
regulator-name = "vcc_12v0_dcin";
64+
regulator-min-microvolt = <5000000>;
65+
regulator-max-microvolt = <5000000>;
66+
regulator-name = "vcc_5v0_dcin";
6767
};
6868

6969
vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 {
@@ -166,7 +166,7 @@
166166
regulator-min-microvolt = <5000000>;
167167
regulator-max-microvolt = <5000000>;
168168
regulator-name = "vcc_5v0_device";
169-
vin-supply = <&vcc_12v0_dcin>;
169+
vin-supply = <&vcc_5v0_sys>;
170170
};
171171

172172
vcc_5v0_host: regulator-vcc-5v0-host {
@@ -190,7 +190,7 @@
190190
regulator-min-microvolt = <5000000>;
191191
regulator-max-microvolt = <5000000>;
192192
regulator-name = "vcc_5v0_sys";
193-
vin-supply = <&vcc_12v0_dcin>;
193+
vin-supply = <&vcc_5v0_dcin>;
194194
};
195195
};
196196

0 commit comments

Comments
 (0)