]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: tegra: Rename as3722 node to pmic
authorThierry Reding <treding@nvidia.com>
Fri, 28 Feb 2014 16:40:28 +0000 (17:40 +0100)
committerStephen Warren <swarren@nvidia.com>
Fri, 28 Feb 2014 17:23:47 +0000 (10:23 -0700)
Device tree node name should reflect the kind of device rather than the
specific name of the device.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra124-venice2.dts

index 8c36e4c47871ea3e6ab360612286b60e0724b167..1ad686154286040f7d32f86acd1f28f3aecef8e9 100644 (file)
@@ -8,7 +8,7 @@
        compatible = "nvidia,venice2", "nvidia,tegra124";
 
        aliases {
-               rtc0 = "/i2c@7000d000/as3722@40";
+               rtc0 = "/i2c@7000d000/pmic@40";
                rtc1 = "/rtc@7000e000";
        };
 
                status = "okay";
                clock-frequency = <400000>;
 
-               as3722: as3722@40 {
+               pmic: pmic@40 {
                        compatible = "ams,as3722";
                        reg = <0x40>;
                        interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
                        regulator-name = "+3.3V_RUN";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
-                       gpio = <&as3722 1 GPIO_ACTIVE_HIGH>;
+                       gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
                        enable-active-high;
                        vin-supply = <&vdd_3v3_sys>;
                };
                        regulator-name = "+3.3V_PANEL";
                        regulator-min-microvolt = <3300000>;
                        regulator-max-microvolt = <3300000>;
-                       gpio = <&as3722 4 GPIO_ACTIVE_HIGH>;
+                       gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
                        enable-active-high;
                        vin-supply = <&vdd_3v3_run>;
                };
                         * controllers so that it can be enabled on demand.
                         */
                        regulator-always-on;
-                       gpio = <&as3722 2 GPIO_ACTIVE_HIGH>;
+                       gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
                        enable-active-high;
                        vin-supply = <&vdd_3v3_sys>;
                };