Re: [PATCH] arm: dts: am4372: setup rtc as system-power-controller

From: Tony Lindgren
Date: Fri Aug 17 2018 - 10:28:51 EST


* Keerthy <j-keerthy@xxxxxx> [180808 09:11]:
>
>
> On Wednesday 08 August 2018 02:36 PM, Tony Lindgren wrote:
> > * Keerthy <j-keerthy@xxxxxx> [180725 05:59]:
> >> RTC alarm2 is connected to pmic_en line and hence can be used to control
> >> the pmic enabling/disabling. Hence add the system-power-controller for rtc
> >> node.
> >>
> >> Signed-off-by: Keerthy <j-keerthy@xxxxxx>
> >> ---
> >> arch/arm/boot/dts/am4372.dtsi | 1 +
> >> 1 file changed, 1 insertion(+)
> >>
> >> diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
> >> index f0cbd86..d4b7c59 100644
> >> --- a/arch/arm/boot/dts/am4372.dtsi
> >> +++ b/arch/arm/boot/dts/am4372.dtsi
> >> @@ -469,6 +469,7 @@
> >> ti,hwmods = "rtc";
> >> clocks = <&clk_32768_ck>;
> >> clock-names = "int-clk";
> >> + system-power-controller;
> >> status = "disabled";
> >> };
> >>
> >
> > Should this be queued as a fix for v4.19-rc series?
>
> Yes this makes pmic to shutdown during power off.

OK thanks applying into omap-for-v4.19/fixes.

Tony