]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8395-genio-common: use MT6365 PMIC definitions
authorLouis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Wed, 29 Apr 2026 09:44:21 +0000 (11:44 +0200)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 11 May 2026 11:57:20 +0000 (13:57 +0200)
Mediatek Genio 1200 EVK board integrates a MT6365 PMIC, compatible
with MT6359, but the board common definition include file (for the eMMC
and UFS configurations) 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/mt8395-genio-common.dtsi

index 62c336e215009e03cf9aef9aa099228aba5918cc..6df614c471fc385230bde91b7616922c520ef398 100644 (file)
@@ -7,7 +7,7 @@
 /dts-v1/;
 
 #include "mt8195.dtsi"
-#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-max-microvolt = <750000>;
 };
 
-&mt6359codec {
+&mt6365codec {
        mediatek,mic-type-0 = <1>; /* ACC */
        mediatek,mic-type-1 = <3>; /* DCC */
        mediatek,mic-type-2 = <1>; /* ACC */
 &pmic {
        interrupts-extended = <&pio 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>;