]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: rockchip: Rename vcc12v_sys into dc_12v for roc-rk3399-pc
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 19 Sep 2019 05:28:21 +0000 (10:58 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 3 Oct 2019 21:32:47 +0000 (23:32 +0200)
It is always better practice to follow regulator naming conventions
as per the schematics for future references.

This would indeed helpful to review and check the naming convention
directly on schematics, both for the code reviewers and the developers.

So, rename vcc12v_sys into dc_12v as per rk3399 power tree as per
roc-rk3399-pc schematics.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Link: https://lore.kernel.org/r/20190919052822.10403-6-jagan@amarulasolutions.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dts

index 19f7732d728c10de5473081a51a542fe9a100a03..603c4d7274b8c5d4003ea11888afc0e219e9f801 100644 (file)
@@ -57,9 +57,9 @@ vcc_vbus_typec0: vcc-vbus-typec0 {
         * should be placed inside mp8859, but not until mp8859 has
         * its own dt-binding.
         */
-       vcc12v_sys: mp8859-dcdc1 {
+       dc_12v: mp8859-dcdc1 {
                compatible = "regulator-fixed";
-               regulator-name = "vcc12v_sys";
+               regulator-name = "dc_12v";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <12000000>;
@@ -85,7 +85,7 @@ vcc3v3_sys: vcc3v3-sys {
                regulator-boot-on;
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
-               vin-supply = <&vcc12v_sys>;
+               vin-supply = <&dc_12v>;
        };
 
        /* Actually 3 regulators (host0, 1, 2) controlled by the same gpio */
@@ -118,7 +118,7 @@ vcc_sys: vcc-sys {
                regulator-boot-on;
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
-               vin-supply = <&vcc12v_sys>;
+               vin-supply = <&dc_12v>;
        };
 
        vdd_log: vdd-log {