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 d4b081d6a16772cbac6835abd4bec6c21753c3c1..cbd2e135bc09ed062bd19eee7fd57f0a2077c482 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 3a1595f67823c1999f2ea4c1929ed66fd46fe055..6692d336335d172b2eb1cffc30a84892d07c8708 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>;
        };
 };