arm64: dts: mediatek: add MT6365 PMIC include

The MT6365 PMIC, compatible with MT6359 PMIC, never had its own include
file so the boards that integrates this PMIC used mt6359.dtsi in their
devicetree to enable its support.

So, add the mt6365 include file for the MT6365 definitions and labels.
In order not to duplicate all of them, make it include mt6359.dtsi and
override the compatible strings for the MFD main and sub devices with
the MT6365 ones.

Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
[Angelo: Fixed regulators node label]
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
This commit is contained in:
Louis-Alexis Eyraud 2026-04-29 11:44:19 +02:00 committed by AngeloGioacchino Del Regno
parent 254f49634e
commit d7428ca556
No known key found for this signature in database
GPG Key ID: 9A3604CFAD978478

View File

@ -0,0 +1,26 @@
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/*
* Copyright (C) 2026 MediaTek Inc.
*/
#include "mt6359.dtsi"
&pmic {
compatible = "mediatek,mt6365", "mediatek,mt6359";
mt6365regulators: regulators {
compatible = "mediatek,mt6365-regulator", "mediatek,mt6359-regulator";
};
};
&pmic_adc {
compatible = "mediatek,mt6365-auxadc", "mediatek,mt6359-auxadc";
};
mt6365codec: &mt6359codec {
compatible = "mediatek,mt6365-codec", "mediatek,mt6359-codec";
};
mt6365rtc: &mt6359rtc {
compatible = "mediatek,mt6365-rtc", "mediatek,mt6358-rtc";
};