2019-03-02 22:42:49

by Pierre-Jean Texier

[permalink] [raw]
Subject: [PATCH] ARM: dts: imx7s-warp: PMIC swbst boot-on/always-on

PMIC swbst regulator is used for the MikroBUS socket (pin +5V).

We have to set the regulator to "boot-on" and "always-on"
to output a voltage of 5V on this socket.

Signed-off-by: Pierre-Jean Texier <[email protected]>
---
arch/arm/boot/dts/imx7s-warp.dts | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts
index 23431fa..b1e9562 100644
--- a/arch/arm/boot/dts/imx7s-warp.dts
+++ b/arch/arm/boot/dts/imx7s-warp.dts
@@ -121,6 +121,8 @@
swbst_reg: swbst {
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5150000>;
+ regulator-boot-on;
+ regulator-always-on;
};

snvs_reg: vsnvs {
--
2.7.4



2019-03-13 03:14:07

by Fabio Estevam

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: imx7s-warp: PMIC swbst boot-on/always-on

On Sat, Mar 2, 2019 at 7:33 PM Pierre-Jean Texier <[email protected]> wrote:
>
> PMIC swbst regulator is used for the MikroBUS socket (pin +5V).
>
> We have to set the regulator to "boot-on" and "always-on"
> to output a voltage of 5V on this socket.
>
> Signed-off-by: Pierre-Jean Texier <[email protected]>

Reviewed-by: Fabio Estevam <[email protected]>

2019-03-20 08:11:01

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: imx7s-warp: PMIC swbst boot-on/always-on

On Sat, Mar 02, 2019 at 11:32:29PM +0100, Pierre-Jean Texier wrote:
> PMIC swbst regulator is used for the MikroBUS socket (pin +5V).
>
> We have to set the regulator to "boot-on" and "always-on"
> to output a voltage of 5V on this socket.
>
> Signed-off-by: Pierre-Jean Texier <[email protected]>

Applied, thanks.