From: Louis-Alexis Eyraud Date: Wed, 29 Apr 2026 09:44:20 +0000 (+0200) Subject: arm64: dts: mediatek: mt8390-genio-common: use MT6365 PMIC definitions X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=0ca0b18071dbdd19ea2aab042572ac261c7f0cfb;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: mediatek: mt8390-genio-common: use MT6365 PMIC definitions 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 Signed-off-by: AngeloGioacchino Del Regno --- diff --git a/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi b/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi index 2062506f6cc5..5303add717bf 100644 --- a/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi @@ -10,7 +10,7 @@ * AngeloGioacchino Del Regno */ -#include "mt6359.dtsi" +#include "mt6365.dtsi" #include #include #include @@ -695,7 +695,7 @@ regulator-always-on; }; -&mt6359codec { +&mt6365codec { mediatek,mic-type-0 = <1>; /* ACC */ mediatek,mic-type-1 = <3>; /* DCC */ }; @@ -1281,8 +1281,8 @@ 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>;