ARM: dts: imx7-colibri: add basic supply regulators
authorStefan Agner <stefan@agner.ch>
Mon, 29 Aug 2016 05:13:23 +0000 (22:13 -0700)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Aug 2016 14:24:56 +0000 (22:24 +0800)
Colibri modules need to be powered using the power pins 3V3 and
AVDD_AUDIO. Add fixed regulators which represent this power rails.
Potentially, those power rails could be switched on a carrier
board. A carrier board device tree could add a own regulator with
a GPIO, and reference that regulator in a vin-supply property of
those new module level system regulators. This also synchronize
the name of the +3.3V regulator with the one used in the Colibri
VF50/VF61 device tree.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7-colibri.dtsi

index 044b83e355c6aa1bb134ff3fd81b0f8a8e1ff0af..06fb567207920d63c314d1babfc11ad43b2b91e0 100644 (file)
                pwms = <&pwm1 0 5000000>;
        };
 
-       reg_3p3v: regulator-3p3v {
+       reg_module_3v3: regulator-module-3v3 {
                compatible = "regulator-fixed";
-               regulator-name = "3P3V";
+               regulator-name = "+V3.3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+       };
+
+       reg_module_3v3_avdd: regulator-module-3v3-avdd {
+               compatible = "regulator-fixed";
+               regulator-name = "+V3.3_AVDD_AUDIO";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
-               regulator-always-on;
        };
 
        reg_vref_1v8: regulator-vref-1v8 {