Re: [U-Boot] [PATCH v3 16/17] odroid: dts: add 'voltage-regulators' description to max77686 node

2015-03-29 Thread Simon Glass
On 24 March 2015 at 14:30, Przemyslaw Marczak p.marc...@samsung.com wrote:
 Adding regulators subnode to fdt max77686 node, allows properly init
 regulators by the max77686 regulator driver. This enables the complete
 functionality of the regulator command.

 Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com
 ---
 Changes V2:
 - odroid: dts: remove pmic alias

 Changes V3:
 - none
 ---
  arch/arm/dts/exynos4412-odroid.dts | 247 
 +
  1 file changed, 247 insertions(+)

Acked-by: Simon Glass s...@chromium.org
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH v3 16/17] odroid: dts: add 'voltage-regulators' description to max77686 node

2015-03-24 Thread Przemyslaw Marczak
Adding regulators subnode to fdt max77686 node, allows properly init
regulators by the max77686 regulator driver. This enables the complete
functionality of the regulator command.

Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com
---
Changes V2:
- odroid: dts: remove pmic alias

Changes V3:
- none
---
 arch/arm/dts/exynos4412-odroid.dts | 247 +
 1 file changed, 247 insertions(+)

diff --git a/arch/arm/dts/exynos4412-odroid.dts 
b/arch/arm/dts/exynos4412-odroid.dts
index 5507d9a..bc516a0 100644
--- a/arch/arm/dts/exynos4412-odroid.dts
+++ b/arch/arm/dts/exynos4412-odroid.dts
@@ -40,6 +40,253 @@
interrupts = 7 0;
reg = 0x09 0 0;
#clock-cells = 1;
+
+   voltage-regulators {
+   ldo1_reg: ldo1 {
+   regulator-compatible = LDO1;
+   regulator-name = VDD_ALIVE_1.0V;
+   regulator-min-microvolt = 100;
+   regulator-max-microvolt = 100;
+   };
+
+   ldo2_reg: ldo2 {
+   regulator-compatible = LDO2;
+   regulator-name = VDDQ_VM1M2_1.2V;
+   regulator-min-microvolt = 120;
+   regulator-max-microvolt = 120;
+   };
+
+   ldo3_reg: ldo3 {
+   regulator-compatible = LDO3;
+   regulator-name = VCC_1.8V_AP;
+   regulator-min-microvolt = 180;
+   regulator-max-microvolt = 180;
+   };
+
+   ldo4_reg: ldo4 {
+   regulator-compatible = LDO4;
+   regulator-name = VDDQ_MMC2_2.8V;
+   regulator-min-microvolt = 280;
+   regulator-max-microvolt = 280;
+   };
+
+   ldo5_reg: ldo5 {
+   regulator-compatible = LDO5;
+   regulator-name = VDDQ_MMC0/1/3_1.8V;
+   regulator-min-microvolt = 180;
+   regulator-max-microvolt = 180;
+   };
+
+   ldo6_reg: ldo6 {
+   regulator-compatible = LDO6;
+   regulator-name = VMPLL_1.0V;
+   regulator-min-microvolt = 110;
+   regulator-max-microvolt = 110;
+   };
+
+   ldo7_reg: ldo7 {
+   regulator-compatible = LDO7;
+   regulator-name = VPLL_1.1V;
+   regulator-min-microvolt = 110;
+   regulator-max-microvolt = 110;
+   };
+
+   ldo8_reg: ldo8 {
+   regulator-compatible = LDO8;
+   regulator-name = VDD_MIPI/HDMI_1.0V;
+   regulator-min-microvolt = 100;
+   regulator-max-microvolt = 100;
+   };
+
+   ldo9_reg: ldo9 {
+   regulator-compatible = LDO9;
+   regulator-name = nc;
+   regulator-min-microvolt = 180;
+   regulator-max-microvolt = 180;
+   };
+
+   ldo10_reg: ldo10 {
+   regulator-compatible = LDO10;
+   regulator-name = VDD_MIPI/HDMI_1.8V;
+   regulator-min-microvolt = 180;
+   regulator-max-microvolt = 180;
+   };
+
+   ldo11_reg: ldo11 {
+   regulator-compatible = LDO11;
+   regulator-name = VDD_ABB1_1.8V;
+   regulator-min-microvolt = 180;
+   regulator-max-microvolt = 180;
+   };
+
+