ARM: dts: rockchip: Fix vcc10_lcd name and voltage for rk3288-vyasa
Subsystems (2)
PATCH 1/3 ARM: dts: rockchip: Fix vcc10_lcd name and voltage for rk3288-vyasa
According to hardware schematics of Vyasa RK3288 the actual name used for vcc10_lcd is vdd10_lcd.
regulator suspend voltage can rail upto 1.0V not 1.8V.
Fix the name and suspend voltage for vcc10_lcd regulator.
--- arch/arm/boot/dts/rk3288-vyasa.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/rk3288-vyasa.dts +3 -3
@@ -286,15 +286,15 @@ }; }; - vcc10_lcd: LDO_REG6 { - regulator-name = "vcc10_lcd"; + vdd10_lcd: LDO_REG6 { + regulator-name = "vdd10_lcd"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; - regulator-suspend-microvolt = <1800000>; + regulator-suspend-microvolt = <1000000>; }; };
Signature · 1 line
2.18.0.321.gffc6fa0e3
PATCH 2/3 ARM: dts: rockchip: Fix ddc-i2c-bus for rk3288-vyasa
ddc-i2c-bus routed for HDMI is i2c2 not i2c5 on
Vyasa RK3288 board.
Add support for fixing the same.
--- arch/arm/boot/dts/rk3288-vyasa.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/rk3288-vyasa.dts +2 -2
@@ -150,7 +150,7 @@ }; &hdmi { - ddc-i2c-bus = <&i2c2>; + ddc-i2c-bus = <&i2c5>; status = "okay"; };
@@ -347,7 +347,7 @@ }; }; -&i2c2 { +&i2c5 { status = "okay"; };
Signature · 1 line
2.18.0.321.gffc6fa0e3
PATCH 3/3 ARM: dts: rockchip: Add vcc50_hdmi for rk3288-vyasa
In reply to Jagan TekiAdd vcc50_hdmi regulator for Vyasa RK3288 board.
VCC50_HDMI is the real name used for this regulator as per the schematics.
This regulator used for HDMI connector by detecting the cable via HDMI_EN gpio and input rails are sourced from VSUS_5V regulator.
--- arch/arm/boot/dts/rk3288-vyasa.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
arch/arm/boot/dts/rk3288-vyasa.dts +17 -0
@@ -78,6 +78,17 @@ vin-supply = <&vcc_io>; }; + vcc50_hdmi: vcc50-hdmi { + compatible = "regulator-fixed"; + regulator-name = "vcc50_hdmi"; + enable-active-high; + gpio = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>; /* HDMI_EN */ + pinctrl-names = "default"; + pinctrl-0 = <&vcc50_hdmi_en>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vsus_5v>; + }; vusb1_5v: vusb1-5v { compatible = "regulator-fixed"; regulator-name = "vusb1_5v";
@@ -446,6 +457,12 @@ }; }; + hdmi { + vcc50_hdmi_en: vcc50-hdmi-en { + rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + pmic { pmic_int: pmic-int { rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
Signature · 1 line
2.18.0.321.gffc6fa0e3
Heiko Stuebner
maintainerAm Donnerstag, 23. Januar 2020, 14:46:39 CET schrieb Jagan Teki:
Quoted 8 lines
According to hardware schematics of Vyasa RK3288 the actual name used for
vcc10_lcdisvdd10_lcd.regulator suspend voltage can rail upto 1.0V not 1.8V.
Fix the name and suspend voltage for
vcc10_lcdregulator.
applied all 3 for 5.7
[added a missing blank after the regulator in patch3]
Thanks
Heiko