Re: [PATCH v2] arm64: dts: rockchip: Add power button for puma-haikou

From: Quentin Schulz
Date: Tue Oct 01 2024 - 10:59:32 EST


Hi Daniel,

On 10/1/24 3:46 PM, Daniel Semkowicz wrote:
There is a PWRBTN# input pin exposed on a Q7 connector. The pin
is routed to a GPIO0_A1 through a diode. Q7 specification describes
the PWRBTN# pin as a Power Button signal.
Configure the pin as KEY_POWER, so it can function as power button and
trigger device shutdown.

Signed-off-by: Daniel Semkowicz <dse@xxxxxxxxxxxxx>

Reviewed-by: Quentin Schulz <quentin.schulz@xxxxxxxxx>

Thanks!
Quentin