Re: [PATCH] arm: dts: am4372: setup rtc as system-power-controller
From: Keerthy
Date: Wed Aug 08 2018 - 05:08:08 EST
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.
>
> Regards,
>
> Tony
>