]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: rockchip: Add power button for puma-haikou
authorDaniel Semkowicz <dse@thaumatec.com>
Tue, 1 Oct 2024 13:46:32 +0000 (15:46 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 2 Oct 2024 08:20:43 +0000 (10:20 +0200)
commit52f21c63ed6ab7bc5d0ef310c15890ea6a6334c2
tree8df232344cd8599181ccd2687e18f70e81b4a755
parentd3a674ab28883938f65154a812285e73c752d802
arm64: dts: rockchip: Add power button for puma-haikou

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@thaumatec.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Link: https://lore.kernel.org/r/20241001134741.210979-1-dse@thaumatec.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts