]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8390-genio-common: use MT6365 PMIC definitions
authorLouis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Wed, 29 Apr 2026 09:44:20 +0000 (11:44 +0200)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 11 May 2026 11:57:20 +0000 (13:57 +0200)
Mediatek Genio 510 and 700 EVK boards integrate a MT6365 PMIC,
compatible with MT6359, but the board common definition include file
used the mt6359.dtsi to enable its support since the board support was
introduced.

Now that mt6365.dtsi has been created, include it instead of mt6359.dtsi
and use MT6365 labels and pmic key compatible too.

Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi

index 2062506f6cc523d7797adc8b7e74732be9320201..5303add717bf76923d38ef7455a00b360f02ba0e 100644 (file)
@@ -10,7 +10,7 @@
  *                    AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>   
  */
 
-#include "mt6359.dtsi"
+#include "mt6365.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/interrupt-controller/irq.h>
        regulator-always-on;
 };
 
-&mt6359codec {
+&mt6365codec {
        mediatek,mic-type-0 = <1>; /* ACC */
        mediatek,mic-type-1 = <3>; /* DCC */
 };
        interrupt-parent = <&pio>;
        interrupts = <222 IRQ_TYPE_LEVEL_HIGH>;
 
-       mt6359keys: keys {
-               compatible = "mediatek,mt6359-keys";
+       mt6365keys: keys {
+               compatible = "mediatek,mt6365-keys", "mediatek,mt6359-keys";
                mediatek,long-press-mode = <1>;
                power-off-time-sec = <0>;