lkml.org 
[lkml]   [2022]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 8/8] arm64: dts: mediatek: mt8195-demo: define PMIC keys available
Date
The MT8195 Demo board has two push buttons connected to the PMIC: Home
button and Power button. This commit adds support for both.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
---
v2: new patch

arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8195-demo.dts b/arch/arm64/boot/dts/mediatek/mt8195-demo.dts
index aa41df865c9c..810e69c5f7e0 100644
--- a/arch/arm64/boot/dts/mediatek/mt8195-demo.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8195-demo.dts
@@ -246,6 +246,17 @@ &mmc1 {
status = "okay";
};

+&mt6359keys {
+ key-0 {
+ linux,keycodes = <KEY_POWER>;
+ wakeup-source;
+ };
+
+ key-1 {
+ linux,keycodes = <KEY_HOME>;
+ };
+};
+
&mt6359_vbbck_ldo_reg {
regulator-always-on;
};
--
2.36.0
\
 
 \ /
  Last update: 2022-04-26 15:54    [W:0.031 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site