[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220426135313.245466-9-fparent@baylibre.com>
Date: Tue, 26 Apr 2022 15:53:13 +0200
From: Fabien Parent <fparent@...libre.com>
To: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>
Cc: Fabien Parent <fparent@...libre.com>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 8/8] arm64: dts: mediatek: mt8195-demo: define PMIC keys available
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@...libre.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
Powered by blists - more mailing lists