[PATCH 0/9] MT6365 PMIC support cleanup

Louis-Alexis Eyraud posted 9 patches 1 month, 2 weeks ago
.../bindings/iio/adc/mediatek,mt6359-auxadc.yaml   | 17 +++++++++-----
.../bindings/input/mediatek,pmic-keys.yaml         | 21 ++++++++++-------
.../devicetree/bindings/mfd/mediatek,mt6397.yaml   | 14 ++++++++++++
arch/arm64/boot/dts/mediatek/mt6359.dtsi           |  4 ++--
arch/arm64/boot/dts/mediatek/mt6365.dtsi           | 26 ++++++++++++++++++++++
.../boot/dts/mediatek/mt8390-genio-common.dtsi     |  8 +++----
.../boot/dts/mediatek/mt8395-genio-common.dtsi     |  8 +++----
.../boot/dts/mediatek/mt8395-radxa-nio-12l.dts     |  6 ++---
8 files changed, 77 insertions(+), 27 deletions(-)
[PATCH 0/9] MT6365 PMIC support cleanup
Posted by Louis-Alexis Eyraud 1 month, 2 weeks ago
Several Mediatek and Radxa boards, based on MT8370, MT8390 or MT8395
SoC, integrate the MT6365 PMIC, that is a MT6359P variant:
 - Mediatek Genio 1200-EVK
 - Mediatek Genio 700-EVK
 - Mediatek Genio 510-EVK
 - Radxa NIO-12L
It is compatible with the MT6359 PMIC.

But both MT6365 PMIC support and compatibility were never expressed in
the dt-bindings and there is no MT6365 include file as well.
So, since these board support was introduced, their devicetrees use the
mt6359 include file to enable this PMIC support. 

The goal of this series is to clean this support by adding the missing
compatible strings for this MFD main and subdevices in the dt-bindings,
and add a include for MT6365 definitions to replace the MT6359 include
in these board devicetrees and for future ones (like Genio 520/720
EVKs).

The series is based on linux-next tree (tag: next-20260428) and has
been tested on Mediatek Genio 510, 700 and 1200-EVK boards.

---
Louis-Alexis Eyraud (9):
      dt-bindings: mfd: mediatek: mt6397: Add rtc for MT6359
      dt-bindings: mfd: mediatek: mt6397: Add MT6365 PMIC support
      dt-bindings: input: mediatek,pmic-keys: Add MT6365 support
      dt-bindings: iio: adc: mt6359: Add MT6365 PMIC AuxADC
      arm64: dts: mediatek: mt6359: use proper compatible for rtc
      arm64: dts: mediatek: add MT6365 PMIC include
      arm64: dts: mediatek: mt8390-genio-common: use MT6365 PMIC definitions
      arm64: dts: mediatek: mt8395-genio-common: use MT6365 PMIC definitions
      arm64: dts: mediatek: mt8395-radxa-nio-12l: use MT6365 PMIC definitions

 .../bindings/iio/adc/mediatek,mt6359-auxadc.yaml   | 17 +++++++++-----
 .../bindings/input/mediatek,pmic-keys.yaml         | 21 ++++++++++-------
 .../devicetree/bindings/mfd/mediatek,mt6397.yaml   | 14 ++++++++++++
 arch/arm64/boot/dts/mediatek/mt6359.dtsi           |  4 ++--
 arch/arm64/boot/dts/mediatek/mt6365.dtsi           | 26 ++++++++++++++++++++++
 .../boot/dts/mediatek/mt8390-genio-common.dtsi     |  8 +++----
 .../boot/dts/mediatek/mt8395-genio-common.dtsi     |  8 +++----
 .../boot/dts/mediatek/mt8395-radxa-nio-12l.dts     |  6 ++---
 8 files changed, 77 insertions(+), 27 deletions(-)
---
base-commit: 0f3ef35b0747832b58b97171bad99011d084c6b1
change-id: 20260428-mediatek-genio-mt6365-cleanup-6cdd84c3f098

Best regards,
-- 
Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Re: [PATCH 0/9] MT6365 PMIC support cleanup
Posted by Rob Herring 1 week, 6 days ago
On Wed, Apr 29, 2026 at 11:44:13AM +0200, Louis-Alexis Eyraud wrote:
> Several Mediatek and Radxa boards, based on MT8370, MT8390 or MT8395
> SoC, integrate the MT6365 PMIC, that is a MT6359P variant:
>  - Mediatek Genio 1200-EVK
>  - Mediatek Genio 700-EVK
>  - Mediatek Genio 510-EVK
>  - Radxa NIO-12L
> It is compatible with the MT6359 PMIC.
> 
> But both MT6365 PMIC support and compatibility were never expressed in
> the dt-bindings and there is no MT6365 include file as well.
> So, since these board support was introduced, their devicetrees use the
> mt6359 include file to enable this PMIC support. 
> 
> The goal of this series is to clean this support by adding the missing
> compatible strings for this MFD main and subdevices in the dt-bindings,
> and add a include for MT6365 definitions to replace the MT6359 include
> in these board devicetrees and for future ones (like Genio 520/720
> EVKs).
> 
> The series is based on linux-next tree (tag: next-20260428) and has
> been tested on Mediatek Genio 510, 700 and 1200-EVK boards.
> 
> ---
> Louis-Alexis Eyraud (9):
>       dt-bindings: mfd: mediatek: mt6397: Add rtc for MT6359
>       dt-bindings: mfd: mediatek: mt6397: Add MT6365 PMIC support
>       dt-bindings: input: mediatek,pmic-keys: Add MT6365 support
>       dt-bindings: iio: adc: mt6359: Add MT6365 PMIC AuxADC

Applied these 2 to fix warnings in linux-next.

Angelo, Apply the binding changes along with the .dts changes if they 
haven't been picked up yet.

Once again, Mediatek warnings are moving in the wrong direction. :(

Rob

>       arm64: dts: mediatek: mt6359: use proper compatible for rtc
>       arm64: dts: mediatek: add MT6365 PMIC include
>       arm64: dts: mediatek: mt8390-genio-common: use MT6365 PMIC definitions
>       arm64: dts: mediatek: mt8395-genio-common: use MT6365 PMIC definitions
>       arm64: dts: mediatek: mt8395-radxa-nio-12l: use MT6365 PMIC definitions
Re: (subset) [PATCH 0/9] MT6365 PMIC support cleanup
Posted by AngeloGioacchino Del Regno 1 month ago
On Wed, 29 Apr 2026 11:44:13 +0200, Louis-Alexis Eyraud wrote:
> Several Mediatek and Radxa boards, based on MT8370, MT8390 or MT8395
> SoC, integrate the MT6365 PMIC, that is a MT6359P variant:
>  - Mediatek Genio 1200-EVK
>  - Mediatek Genio 700-EVK
>  - Mediatek Genio 510-EVK
>  - Radxa NIO-12L
> It is compatible with the MT6359 PMIC.
> 
> [...]

Applied to v7.1-next/dts64, thanks!

[6/9] arm64: dts: mediatek: add MT6365 PMIC include
      commit: dd85b476c5bb164e5978e42867e1f4deb23b23fd
[7/9] arm64: dts: mediatek: mt8390-genio-common: use MT6365 PMIC definitions
      commit: 38c2adaccd3618882e3c5b8ec76ef77a1ecb8de9
[8/9] arm64: dts: mediatek: mt8395-genio-common: use MT6365 PMIC definitions
      commit: c264c7958a36ceedebedf8a437fa719906e4e1af
[9/9] arm64: dts: mediatek: mt8395-radxa-nio-12l: use MT6365 PMIC definitions
      commit: 4d2b8fcd8bbd7f00335a52b86189d85686fdc707

Cheers,
Angelo