Re: [PATCH v2 1/3] ARM: dts: rockchip: rv1108-elgin: Fix vcc5/6-supply representation

2019-02-03 Thread Heiko Stuebner
Am Donnerstag, 31. Januar 2019, 13:47:07 CET schrieb Otavio Salvador:
> On rv1108-elgin-r1 board the RK805 VCC5 and VCC6 supplies come from
> the BUCK2 regulator at 2.2V, so fix the representation in the
> device tree.
> 
> While at it, rename it from vdd_cam to vdd_buck2, which is a better
> name for the regulator label.
> 
> Signed-off-by: Otavio Salvador 

applied all 3 for 5.1

Thanks
Heiko




[PATCH v2 1/3] ARM: dts: rockchip: rv1108-elgin: Fix vcc5/6-supply representation

2019-01-31 Thread Otavio Salvador
On rv1108-elgin-r1 board the RK805 VCC5 and VCC6 supplies come from
the BUCK2 regulator at 2.2V, so fix the representation in the
device tree.

While at it, rename it from vdd_cam to vdd_buck2, which is a better
name for the regulator label.

Signed-off-by: Otavio Salvador 
---

Changes in v2: None

 arch/arm/boot/dts/rv1108-elgin-r1.dts | 14 --
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/rv1108-elgin-r1.dts 
b/arch/arm/boot/dts/rv1108-elgin-r1.dts
index 658057d871af..66688fdf4fd8 100644
--- a/arch/arm/boot/dts/rv1108-elgin-r1.dts
+++ b/arch/arm/boot/dts/rv1108-elgin-r1.dts
@@ -74,8 +74,8 @@
vcc2-supply = <_sys>;
vcc3-supply = <_sys>;
vcc4-supply = <_sys>;
-   vcc5-supply = <_sys>;
-   vcc6-supply = <_sys>;
+   vcc5-supply = <_buck2>;
+   vcc6-supply = <_buck2>;
 
regulators {
vdd_core: DCDC_REG1 {
@@ -90,10 +90,12 @@
};
};
 
-   vdd_cam: DCDC_REG2 {
-   regulator-name= "vdd_cam";
-   regulator-min-microvolt = <70>;
-   regulator-max-microvolt = <200>;
+   vdd_buck2: DCDC_REG2 {
+   regulator-name= "vdd_buck2";
+   regulator-min-microvolt = <220>;
+   regulator-max-microvolt = <220>;
+   regulator-always-on;
+   regulator-boot-on;
regulator-state-mem {
regulator-state-disabled;
};
-- 
2.20.1