Skip to content

Commit 6139d9e

Browse files
valpackettAngeloGioacchino Del Regno
authored andcommitted
arm64: dts: mediatek: add per-SoC compatibles for keypad nodes
The mt6779-keypad binding specifies using a compatible for the actual SoC before the generic MT6779 one. Fixes: a801341 ("arm64: dts: mediatek: mt8183: add keyboard node") Fixes: 6ff9453 ("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>
1 parent 3b19239 commit 6139d9e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

arch/arm64/boot/dts/mediatek/mt8183.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,8 @@
10241024
};
10251025

10261026
keyboard: keyboard@10010000 {
1027-
compatible = "mediatek,mt6779-keypad";
1027+
compatible = "mediatek,mt8183-keypad",
1028+
"mediatek,mt6779-keypad";
10281029
reg = <0 0x10010000 0 0x1000>;
10291030
interrupts = <GIC_SPI 186 IRQ_TYPE_EDGE_FALLING>;
10301031
clocks = <&clk26m>;

arch/arm64/boot/dts/mediatek/mt8365.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,8 @@
449449
};
450450

451451
keypad: keypad@10010000 {
452-
compatible = "mediatek,mt6779-keypad";
452+
compatible = "mediatek,mt8365-keypad",
453+
"mediatek,mt6779-keypad";
453454
reg = <0 0x10010000 0 0x1000>;
454455
wakeup-source;
455456
interrupts = <GIC_SPI 124 IRQ_TYPE_EDGE_FALLING>;

0 commit comments

Comments
 (0)