[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220720-mt8183-keypad-v1-5-ef9fc29dbff4@baylibre.com>
Date: Wed, 20 Jul 2022 16:48:41 +0200
From: Mattijs Korpershoek <mkorpershoek@...libre.com>
To: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Mattijs Korpershoek <mkorpershoek@...libre.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Matthias Brugger <matthias.bgg@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-input@...r.kernel.org,
Fabien Parent <parent.f@...il.com>, devicetree@...r.kernel.org,
linux-mediatek@...ts.infradead.org,
Fabien Parent <fparent@...libre.com>,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH v1 5/6] arm64: dts: mediatek: mt8183: add keyboard node
From: Fabien Parent <fparent@...libre.com>
MT8183 has an on-SoC keyboard controller commonly used for volume
up/down buttons.
List it in the SoC dts so that boards can enable/use it.
Signed-off-by: Fabien Parent <fparent@...libre.com>
Signed-off-by: Mattijs Korpershoek <mkorpershoek@...libre.com>
diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
index 9d32871973a2..9d8fdebaabe3 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
@@ -943,6 +943,15 @@ pwrap: pwrap@...0d000 {
clock-names = "spi", "wrap";
};
+ keyboard: keyboard@...10000 {
+ compatible = "mediatek,mt6779-keypad";
+ reg = <0 0x10010000 0 0x1000>;
+ interrupts = <GIC_SPI 186 IRQ_TYPE_EDGE_FALLING>;
+ clocks = <&clk26m>;
+ clock-names = "kpd";
+ status = "disabled";
+ };
+
scp: scp@...00000 {
compatible = "mediatek,mt8183-scp";
reg = <0 0x10500000 0 0x80000>,
--
b4 0.10.0-dev-54fef
Powered by blists - more mailing lists