Re: [PATCH v1 5/5] ARM: dts: imx6: RIoTboard provide Standby to PowerOff option
From: Shawn Guo
Date: Sun Jun 04 2017 - 22:13:53 EST
On Mon, Jun 05, 2017 at 09:50:29AM +0800, Shawn Guo wrote:
> On Mon, May 29, 2017 at 07:09:24PM +0200, Oleksij Rempel wrote:
> > This board, as well as some other boards with i.MX6 and a PMIC, uses a
> > "MPIC_STBY_REQ" line to notify the PMIC about a state change.
> > The PMIC is programmed for a specific state change before triggering the
> > line.
> > In this case, PMIC_STBY_REQ can be used for Stand by, Sleep
> > and Power off modes.
> >
> > Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
> > Cc: kernel@xxxxxxxxxxxxxx
> > Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> > Cc: Shawn Guo <shawnguo@xxxxxxxxxx>
> > Cc: Fabio Estevam <fabio.estevam@xxxxxxx>
> > Cc: Rob Herring <robh+dt@xxxxxxxxxx>
> > Cc: Mark Rutland <mark.rutland@xxxxxxx>
> > Cc: Russell King <linux@xxxxxxxxxxxxxxx>
> > Cc: devicetree@xxxxxxxxxxxxxxx
> > Cc: linux-kernel@xxxxxxxxxxxxxxx
> > ---
> > arch/arm/boot/dts/imx6dl-riotboard.dts | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/imx6dl-riotboard.dts b/arch/arm/boot/dts/imx6dl-riotboard.dts
> > index 2cb72824e800..b5f25fe7b809 100644
> > --- a/arch/arm/boot/dts/imx6dl-riotboard.dts
> > +++ b/arch/arm/boot/dts/imx6dl-riotboard.dts
> > @@ -90,6 +90,10 @@
> > status = "okay";
> > };
> >
> > +&clks {
> > + fsl,pmic_stby_poweroff;
> > +};
> > +
> > &fec {
> > pinctrl-names = "default";
> > pinctrl-0 = <&pinctrl_enet>;
> > @@ -125,6 +129,7 @@
> > reg = <0x08>;
> > interrupt-parent = <&gpio5>;
> > interrupts = <16 8>;
> > + fsl,pmic_stby_poweroff;
>
> Is this property supported by upstream kernel?
Okay, just noticed that it's the last patch of series adding
fsl,pmic_stby_poweroff support.
Shawn