提交 5991bbe4 编写于 作者: H Hans de Goede 提交者: Maxime Ripard

ARM: sun4i: dt: Remove grouping + simple-bus compatible for regulators

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.htmlSigned-off-by: NHans de Goede <hdegoede@redhat.com>
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
上级 bf6534a1
...@@ -80,18 +80,14 @@ ...@@ -80,18 +80,14 @@
}; };
}; };
regulators { reg_emac_3v3: emac-3v3 {
compatible = "simple-bus"; compatible = "regulator-fixed";
pinctrl-names = "default";
reg_emac_3v3: emac-3v3 { pinctrl-0 = <&emac_power_pin_a1000>;
compatible = "regulator-fixed"; regulator-name = "emac-3v3";
pinctrl-names = "default"; regulator-min-microvolt = <3300000>;
pinctrl-0 = <&emac_power_pin_a1000>; regulator-max-microvolt = <3300000>;
regulator-name = "emac-3v3"; enable-active-high;
regulator-min-microvolt = <3300000>; gpio = <&pio 7 15 0>;
regulator-max-microvolt = <3300000>;
enable-active-high;
gpio = <&pio 7 15 0>;
};
}; };
}; };
...@@ -54,16 +54,12 @@ ...@@ -54,16 +54,12 @@
}; };
}; };
regulators { reg_emac_3v3: emac-3v3 {
compatible = "simple-bus"; compatible = "regulator-fixed";
regulator-name = "emac-3v3";
reg_emac_3v3: emac-3v3 { regulator-min-microvolt = <3300000>;
compatible = "regulator-fixed"; regulator-max-microvolt = <3300000>;
regulator-name = "emac-3v3"; enable-active-high;
regulator-min-microvolt = <3300000>; gpio = <&pio 7 19 0>;
regulator-max-microvolt = <3300000>;
enable-active-high;
gpio = <&pio 7 19 0>;
};
}; };
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册