From: Fabien Parent <fparent@baylibre.com>
To: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>
Cc: Fabien Parent <fparent@baylibre.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 8/8] arm64: dts: mediatek: mt8195-demo: define PMIC keys available
Date: Tue, 26 Apr 2022 15:53:13 +0200 [thread overview]
Message-ID: <20220426135313.245466-9-fparent@baylibre.com> (raw)
In-Reply-To: <20220426135313.245466-1-fparent@baylibre.com>
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
prev parent reply other threads:[~2022-04-26 13:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20220426135313.245466-1-fparent@baylibre.com>
2022-04-26 13:53 ` [PATCH v2 1/8] dt-bindings: input: mtk-pmic-keys: add MT6359 binding definition Fabien Parent
2022-04-28 7:53 ` Krzysztof Kozlowski
2022-04-26 13:53 ` [PATCH v2 2/8] mfd: add missing defines necessary for mtk-pmic-keys support Fabien Parent
2022-04-27 6:10 ` Macpaul Lin
2022-04-26 13:53 ` [PATCH v2 3/8] mfd: mt6397-core: add resources for PMIC keys for MT6359 Fabien Parent
2022-04-26 13:53 ` [PATCH v2 4/8] Input: mtk-pmic-keys: rename platform data struct Fabien Parent
2022-04-26 13:53 ` [PATCH v2 5/8] Input: mtk-pmic-keys: add field to store if PMIC has key release IRQs Fabien Parent
2022-04-26 13:53 ` [PATCH v2 6/8] Input: keyboard: mtk-pmic-keys: add support for MT6359 Fabien Parent
2022-04-26 13:53 ` [PATCH v2 7/8] arm64: dts: mediatek: mt6359: add node for PMIC keys support Fabien Parent
2022-04-26 13:53 ` Fabien Parent [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220426135313.245466-9-fparent@baylibre.com \
--to=fparent@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®