Skip to contentSkip to conversation

ARM: dts: imx6sl-evk: Keep VGEN1 regulator always enabled

PATCH New Fabio Estevam 2 participants 2 messages Feb 19, 2014 – Feb 20, 2014

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v2 1/1 ARM: dts: imx6sl-evk: Keep VGEN1 regulator always enabled

From: Fabio Estevam <[email protected]>

On imx6sl-evk board the VGEN1 regulator powers up the NVCC_1P2V domain of the imx6sl SoC, so we need to keep it always powered.

According to imx6sl datasheet the GPIO block has three supplies:
NVCC33_IO, NVCC18_IO and NVCC_1P2V and it states that:
"All digital I/O supplies (NVCC_xxxx) must be powered under normal conditions whether the associated I/O pins are in use or not"

This problem has been observed by the fact that a GPIO connected to an LED could not work when the PMIC driver was enabled.

Keeping VGEN1 regulator always enabled fixes the problem.

---
Changes since v1:
- Explain why VGEN1 disabled impacts the GPIO function
- Remove 'regulator-boot-on' as per Mark Brown's suggestion

 arch/arm/boot/dts/imx6sl-evk.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx6sl-evk.dts +1 -0
index 889422c..864d8df 100644
@@ -195,6 +195,7 @@
 			vgen1_reg: vgen1 {
 				regulator-min-microvolt = <800000>;
 				regulator-max-microvolt = <1550000>;
+				regulator-always-on;
 			};
 
 			vgen2_reg: vgen2 {
Signature · 1 line
1.8.1.2
Applied
#1 lore raw

PATCH v2 1/1 ARM: dts: imx6sl-evk: Keep VGEN1 regulator always enabled

Quoted 10 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

On imx6sl-evk board the VGEN1 regulator powers up the NVCC_1P2V domain of the imx6sl SoC, so we need to keep it always powered.

According to imx6sl datasheet the GPIO block has three supplies:
NVCC33_IO, NVCC18_IO and NVCC_1P2V and it states that:
"All digital I/O supplies (NVCC_xxxx) must be powered under normal conditions whether the associated I/O pins are in use or not"

Quoted 6 lines

This problem has been observed by the fact that a GPIO connected to an LED could not work when the PMIC driver was enabled.

Keeping VGEN1 regulator always enabled fixes the problem.

Applied, thanks.