ARM: sun4i: dt: Remove grouping + simple-bus compatible for regulators
authorHans de Goede <hdegoede@redhat.com>
Sat, 22 Feb 2014 15:53:42 +0000 (16:53 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 22 Feb 2014 21:43:32 +0000 (22:43 +0100)
According to Documentation/devicetree/bindings/regulator/regulator.txt
regulator nodes should not be placed under 'simple-bus'.

Mark Rutland also explains about it at:
http://www.spinics.net/lists/linux-usb/msg101497.html

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10-a1000.dts
arch/arm/boot/dts/sun4i-a10-hackberry.dts

index d4b081d..cbd2e13 100644 (file)
                };
        };
 
-       regulators {
-               compatible = "simple-bus";
-
-               reg_emac_3v3: emac-3v3 {
-                       compatible = "regulator-fixed";
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&emac_power_pin_a1000>;
-                       regulator-name = "emac-3v3";
-                       regulator-min-microvolt = <3300000>;
-                       regulator-max-microvolt = <3300000>;
-                       enable-active-high;
-                       gpio = <&pio 7 15 0>;
-               };
+       reg_emac_3v3: emac-3v3 {
+               compatible = "regulator-fixed";
+               pinctrl-names = "default";
+               pinctrl-0 = <&emac_power_pin_a1000>;
+               regulator-name = "emac-3v3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               enable-active-high;
+               gpio = <&pio 7 15 0>;
        };
 };
index 3a1595f..6692d33 100644 (file)
                };
        };
 
-       regulators {
-               compatible = "simple-bus";
-
-               reg_emac_3v3: emac-3v3 {
-                       compatible = "regulator-fixed";
-                       regulator-name = "emac-3v3";
-                       regulator-min-microvolt = <3300000>;
-                       regulator-max-microvolt = <3300000>;
-                       enable-active-high;
-                       gpio = <&pio 7 19 0>;
-               };
+       reg_emac_3v3: emac-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "emac-3v3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               enable-active-high;
+               gpio = <&pio 7 19 0>;
        };
 };