arm64: dts: rockchip: Add support for volume keys to rk3399-pinephone-pro
authorOndrej Jirman <megi@xff.cz>
Wed, 5 Apr 2023 12:38:13 +0000 (13:38 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 17 Apr 2023 22:40:49 +0000 (00:40 +0200)
commitd3150ed535805403291b95fd84b00b0b5ef41096
tree4b6d8a67ccbaa0194ead055bb9d09c869298f92c
parent1bb69cd4a344299a382695a2de1a84c0b23fe6da
arm64: dts: rockchip: Add support for volume keys to rk3399-pinephone-pro

These are implemented via regular ADC, so regular polling is needed,
for these keys to work.

Co-developed-by: Martijn Braam <martijn@brixit.nl>
Signed-off-by: Martijn Braam <martijn@brixit.nl>
Co-developed-by: Kamil Trzciński <ayufan@ayufan.eu>
Signed-off-by: Kamil Trzciński <ayufan@ayufan.eu>
Signed-off-by: Ondrej Jirman <megi@xff.cz>
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Tested-by: Ondrej Jirman <megi@xff.cz>
Link: https://lore.kernel.org/r/20230405123813.2272919-1-pbrobinson@gmail.com
[increased Volume-Down voltage to 600mV as suggested by Ondrej]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts