* [PATCH v2] ARM: dts: imx6sl-evk: Keep VGEN1 regulator always enabled
@ 2014-02-19 11:13 Fabio Estevam
2014-02-20 1:40 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2014-02-19 11:13 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@freescale.com>
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.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
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(+)
diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts
index 889422c..864d8df 100644
--- a/arch/arm/boot/dts/imx6sl-evk.dts
+++ b/arch/arm/boot/dts/imx6sl-evk.dts
@@ -195,6 +195,7 @@
vgen1_reg: vgen1 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1550000>;
+ regulator-always-on;
};
vgen2_reg: vgen2 {
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v2] ARM: dts: imx6sl-evk: Keep VGEN1 regulator always enabled
2014-02-19 11:13 [PATCH v2] ARM: dts: imx6sl-evk: Keep VGEN1 regulator always enabled Fabio Estevam
@ 2014-02-20 1:40 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2014-02-20 1:40 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Feb 19, 2014 at 08:13:48AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> 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.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-20 1:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-19 11:13 [PATCH v2] ARM: dts: imx6sl-evk: Keep VGEN1 regulator always enabled Fabio Estevam
2014-02-20 1:40 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).