public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Dragan Simic <dsimic@manjaro.org>
To: FUKAUMI Naoki <naoki@radxa.com>
Cc: heiko@sntech.de, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, devicetree@vger.kernel.org,
	linux-rockchip@lists.infradead.org
Subject: Re: [PATCH] arm64: dts: rockchip: make "poweroff" work on rock-5a
Date: Tue, 11 Jun 2024 15:45:12 +0200	[thread overview]
Message-ID: <bf202a47cc6453d5aaacf09a29009380@manjaro.org> (raw)
In-Reply-To: <f623e316c7f94a318c78da9c48f66dc7@manjaro.org>

On 2024-06-11 15:37, Dragan Simic wrote:
> Hello Fukami,
> 
> On 2024-06-11 14:27, FUKAUMI Naoki wrote:
>> to make "poweroff" command work, add "system-power-controller;" into
>> pmic@0. without this, "poweroff" works as same as "reboot".

Sorry, I forgot to add that the description above could be reworded
a bit, e.g. not to repeat what's already visible in the patch itself.

For example:

     Designate the RK806 PMIC on the Radxa ROCK 5A as the system power
     controller, so the board shuts down properly on poweroff(8).

The patch subject could also be tweaked a bit, e.g. to refer to the
board as "Radxa ROCK 5A".

>> Fixes: 75fdcbc8f4c1 ("arm64: dts: rockchip: add PMIC to rock-5a")
>> Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
> 
> Looking good to me, with a small remark below.
> 
> Reviewed-by: Dragan Simic <dsimic@manjaro.org>
> 
>> ---
>>  arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 2 ++
>>  1 file changed, 2 insertions(+)
>> 
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
>> b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
>> index b070955627be..cf7b878a3eb2 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
>> @@ -395,6 +395,8 @@ pmic@0 {
>>  			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
>>  		spi-max-frequency = <1000000>;
>> 
> 
> I don't think there's need for the empty line right above, i.e.
> between the "spi-max-frequency" and "system-power-controller" lines.
> 
>> +		system-power-controller;
>> +
>>  		vcc1-supply = <&vcc5v0_sys>;
>>  		vcc2-supply = <&vcc5v0_sys>;
>>  		vcc3-supply = <&vcc5v0_sys>;
> 
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip

  reply	other threads:[~2024-06-11 13:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-11 12:27 [PATCH] arm64: dts: rockchip: make "poweroff" work on rock-5a FUKAUMI Naoki
2024-06-11 13:37 ` Dragan Simic
2024-06-11 13:45   ` Dragan Simic [this message]
2024-06-12  1:13     ` FUKAUMI Naoki
2024-06-12  1:12 ` [PATCH v2] arm64: dts: rockchip: make poweroff(8) work on Radxa ROCK 5A FUKAUMI Naoki
2024-06-12  3:01   ` Dragan Simic
2024-06-12  3:35   ` [PATCH v3] " FUKAUMI Naoki
2024-06-17 21:17     ` Heiko Stübner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bf202a47cc6453d5aaacf09a29009380@manjaro.org \
    --to=dsimic@manjaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=naoki@radxa.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox