RE: [PATCH v1] ARM: dts: imx6sl-evk: keep sw4 always on
From: Anson Huang
Date: Sun Jul 01 2018 - 20:54:09 EST
Anson Huang
Best Regards!
> -----Original Message-----
> From: Fabio Estevam [mailto:festevam@xxxxxxxxx]
> Sent: Monday, July 2, 2018 7:33 AM
> To: Shawn Guo <shawnguo@xxxxxxxxxx>; Anson Huang
> <anson.huang@xxxxxxx>
> Cc: Robin Gong <yibin.gong@xxxxxxx>; Mark Rutland
> <mark.rutland@xxxxxxx>; open list:OPEN FIRMWARE AND FLATTENED
> DEVICE TREE BINDINGS <devicetree@xxxxxxxxxxxxxxx>; linux-kernel
> <linux-kernel@xxxxxxxxxxxxxxx>; Rob Herring <robh+dt@xxxxxxxxxx>;
> dl-linux-imx <linux-imx@xxxxxxx>; Sascha Hauer <kernel@xxxxxxxxxxxxxx>;
> Fabio Estevam <fabio.estevam@xxxxxxx>; moderated list:ARM/FREESCALE
> IMX / MXC ARM ARCHITECTURE <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>
> Subject: Re: [PATCH v1] ARM: dts: imx6sl-evk: keep sw4 always on
>
> On Sun, Jul 1, 2018 at 6:34 AM, Shawn Guo <shawnguo@xxxxxxxxxx> wrote:
> > On Mon, Jun 25, 2018 at 08:34:11PM +0800, Robin Gong wrote:
> >> SW4 is one power rail for LPDDR2 on i.mx6sl-evk, so it should be kept
> >> always on. But it's disabled after switch disabled interface
> >> implemented in pfuze driver 'commit 5fe156f1cab4
> >> ("regulator: pfuze100: add enable/disable for switch")'.Thus, it
> >> breaks kernel bootup. Add 'regulator-always-on' for SW4.
> >>
> >> Signed-off-by: Robin Gong <yibin.gong@xxxxxxx>
> >
> > Does that mean boards with existing DTB installed will stop working
> > with new kernel? That's bad, and the kernel commit should probably be
> > reverted.
>
> Yes, this is a good point.
>
> Anson,
>
> Should 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for
> switch") be reverted to avoid such breakage?
Yes, I think we can revert it to avoid breakage. Didn't notice that some
i.MX platform do NOT have those critical switches always-on.
Anson.