arm64: dts: mediatek: add per-SoC compatibles for keypad nodes

[ Upstream commit 6139d9e9e397dc9711cf10f8f548a8f9da3b5323 ]

The mt6779-keypad binding specifies using a compatible for the
actual SoC before the generic MT6779 one.

Fixes: a8013418d3 ("arm64: dts: mediatek: mt8183: add keyboard node")
Fixes: 6ff9453765 ("arm64: dts: mediatek: Initial mt8365-evk support")
Signed-off-by: Val Packett <val@packett.cool>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241225192631.25017-3-val@packett.cool
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Val Packett
2024-12-25 16:26:20 -03:00
committed by Greg Kroah-Hartman
parent 64f51b68e2
commit c7e2f0ee43
2 changed files with 4 additions and 2 deletions

View File

@@ -1026,7 +1026,8 @@
};
keyboard: keyboard@10010000 {
compatible = "mediatek,mt6779-keypad";
compatible = "mediatek,mt8183-keypad",
"mediatek,mt6779-keypad";
reg = <0 0x10010000 0 0x1000>;
interrupts = <GIC_SPI 186 IRQ_TYPE_EDGE_FALLING>;
clocks = <&clk26m>;

View File

@@ -334,7 +334,8 @@
};
keypad: keypad@10010000 {
compatible = "mediatek,mt6779-keypad";
compatible = "mediatek,mt8365-keypad",
"mediatek,mt6779-keypad";
reg = <0 0x10010000 0 0x1000>;
wakeup-source;
interrupts = <GIC_SPI 124 IRQ_TYPE_EDGE_FALLING>;