mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-11 08:22:36 -04:00
arm64: dts: qcom: msm8994-angler: Enable power key, volume up/down
Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Link: https://lore.kernel.org/r/20241123221708.862901-1-petr.vorel@gmail.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
825b203296
commit
507aae9a35
@@ -2,12 +2,13 @@
|
||||
/*
|
||||
* Copyright (c) 2015, Huawei Inc. All rights reserved.
|
||||
* Copyright (c) 2016, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2023, Petr Vorel <petr.vorel@gmail.com>
|
||||
* Copyright (c) 2021-2024, Petr Vorel <petr.vorel@gmail.com>
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "msm8994.dtsi"
|
||||
#include "pm8994.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Huawei Nexus 6P";
|
||||
@@ -46,6 +47,24 @@ reserved@6300000 {
|
||||
no-map;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
autorepeat;
|
||||
|
||||
button-vol-up {
|
||||
label = "volume up";
|
||||
gpios = <&pm8994_gpios 3 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_VOLUMEUP>;
|
||||
wakeup-source;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pm8994_resin {
|
||||
linux,code = <KEY_VOLUMEDOWN>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&blsp1_uart2 {
|
||||
|
||||
Reference in New Issue
Block a user