2019-10-09 07:07:46

by Anson Huang

[permalink] [raw]
Subject: [PATCH] arm64: dts: imx8mq-evk: VDD_ARM power rail is always ON

On i.MX8MQ EVK board, VDD_ARM is from a DC-DC converter which
is always ON, the GPIO1_IO13 is ONLY to switch VDD_ARM's voltage
between 0.9V and 1V for CPU DVFS, so VDD_ARM's GPIO regulator
should be always ON to avoid below confusion after kernel boot
up:

imx8mqevk login:
[ 31.776619] vdd_arm: disabling

Signed-off-by: Anson Huang <[email protected]>
---
arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
index 6ede46f..4e0a281 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
@@ -48,6 +48,8 @@
gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
states = <1000000 0x0
900000 0x1>;
+ regulator-boot-on;
+ regulator-always-on;
};

wm8524: audio-codec {
--
2.7.4


2019-10-25 19:24:01

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: imx8mq-evk: VDD_ARM power rail is always ON

On Wed, Oct 09, 2019 at 03:04:19PM +0800, Anson Huang wrote:
> On i.MX8MQ EVK board, VDD_ARM is from a DC-DC converter which
> is always ON, the GPIO1_IO13 is ONLY to switch VDD_ARM's voltage
> between 0.9V and 1V for CPU DVFS, so VDD_ARM's GPIO regulator
> should be always ON to avoid below confusion after kernel boot
> up:
>
> imx8mqevk login:
> [ 31.776619] vdd_arm: disabling
>
> Signed-off-by: Anson Huang <[email protected]>

Applied, thanks.