[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DB6PR04MB3223FA7B91D0D43B2EC1EE2A892A0@DB6PR04MB3223.eurprd04.prod.outlook.com>
Date: Fri, 27 Jul 2018 09:33:28 +0000
From: Robin Gong <yibin.gong@....com>
To: Oleksij Rempel <o.rempel@...gutronix.de>,
Shawn Guo <shawnguo@...nel.org>,
Mark Brown <broonie@...nel.org>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>
CC: "kernel@...gutronix.de" <kernel@...gutronix.de>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-clk@...r.kernel.org" <linux-clk@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Liam Girdwood <lgirdwood@...il.com>,
Leonard Crestez <leonard.crestez@....com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...eaurora.org>,
Fabio Estevam <fabio.estevam@....com>,
Russell King <linux@...linux.org.uk>,
dl-linux-imx <linux-imx@....com>,
"A.s. Dong" <aisheng.dong@....com>
Subject: RE: [PATCH v8 6/6] ARM: dts: imx6: RIoTboard provide standby on power
off option
> -----Original Message-----
> From: Oleksij Rempel [mailto:o.rempel@...gutronix.de]
> Sent: 2018年7月26日 17:22
> To: Shawn Guo <shawnguo@...nel.org>; Mark Brown <broonie@...nel.org>;
> Rafael J. Wysocki <rafael.j.wysocki@...el.com>
> Cc: Oleksij Rempel <o.rempel@...gutronix.de>; kernel@...gutronix.de;
> devicetree@...r.kernel.org; linux-arm-kernel@...ts.infradead.org;
> linux-clk@...r.kernel.org; linux-kernel@...r.kernel.org; Andrew Morton
> <akpm@...ux-foundation.org>; Liam Girdwood <lgirdwood@...il.com>;
> Leonard Crestez <leonard.crestez@....com>; Rob Herring
> <robh+dt@...nel.org>; Mark Rutland <mark.rutland@....com>; Michael
> Turquette <mturquette@...libre.com>; Stephen Boyd
> <sboyd@...eaurora.org>; Fabio Estevam <fabio.estevam@....com>; Russell
> King <linux@...linux.org.uk>; dl-linux-imx <linux-imx@....com>; Robin Gong
> <yibin.gong@....com>; A.s. Dong <aisheng.dong@....com>
> Subject: [PATCH v8 6/6] ARM: dts: imx6: RIoTboard provide standby on power
> off option
>
> This board, as well as some other boards with i.MX6 and a PMIC, uses a
> "PMIC_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@...gutronix.de>
> ---
> 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 2e98c92adff7..a0e9753ee767 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;
> +};
It's better remove the default "syscon-poweroff" power off node.
> +
> &fec {
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_enet>;
> @@ -170,6 +174,7 @@
> reg = <0x08>;
> interrupt-parent = <&gpio5>;
> interrupts = <16 8>;
> + fsl,pmic-stby-poweroff;
>
> regulators {
> reg_vddcore: sw1ab { /* VDDARM_IN */
> --
> 2.18.0
Powered by blists - more mailing lists