[PATCH v1 0/2] mfd: Add driver for multifunction MediaTek SPMI PMICs

AngeloGioacchino Del Regno posted 2 patches 3 months, 2 weeks ago
.../bindings/mfd/mediatek,mt6363.yaml         |  98 +++++
drivers/mfd/Kconfig                           |  17 +
drivers/mfd/Makefile                          |   1 +
drivers/mfd/mtk-spmi-pmic.c                   | 410 ++++++++++++++++++
include/linux/mfd/mt6363.h                    |  26 ++
include/linux/mfd/mt6373.h                    |  21 +
6 files changed, 573 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/mediatek,mt6363.yaml
create mode 100644 drivers/mfd/mtk-spmi-pmic.c
create mode 100644 include/linux/mfd/mt6363.h
create mode 100644 include/linux/mfd/mt6373.h
[PATCH v1 0/2] mfd: Add driver for multifunction MediaTek SPMI PMICs
Posted by AngeloGioacchino Del Regno 3 months, 2 weeks ago
Some MediaTek SPMI PMICs, like MT6363 and MT6373, are multi-function
devices, as they have and expose multiple sub-devices; moreover, some
of those also contain an interrupt controller, managing internal IPs
interrupts: for those, a chained interrupt handler is registered, which
parent is the SPMI controller itself.

This series adds support for the MT6363, MT6373 SPMI PMICs and their
interrupt controller.

AngeloGioacchino Del Regno (2):
  dt-bindings: mfd: Add binding for MediaTek MT6363 series SPMI PMIC
  drivers: mfd: Add support for MediaTek SPMI PMICs and MT6363/73

 .../bindings/mfd/mediatek,mt6363.yaml         |  98 +++++
 drivers/mfd/Kconfig                           |  17 +
 drivers/mfd/Makefile                          |   1 +
 drivers/mfd/mtk-spmi-pmic.c                   | 410 ++++++++++++++++++
 include/linux/mfd/mt6363.h                    |  26 ++
 include/linux/mfd/mt6373.h                    |  21 +
 6 files changed, 573 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/mediatek,mt6363.yaml
 create mode 100644 drivers/mfd/mtk-spmi-pmic.c
 create mode 100644 include/linux/mfd/mt6363.h
 create mode 100644 include/linux/mfd/mt6373.h

-- 
2.49.0
Re: [PATCH v1 0/2] mfd: Add driver for multifunction MediaTek SPMI PMICs
Posted by Nícolas F. R. A. Prado 3 months, 2 weeks ago
On Mon, 2025-06-23 at 14:00 +0200, AngeloGioacchino Del Regno wrote:
> Some MediaTek SPMI PMICs, like MT6363 and MT6373, are multi-function
> devices, as they have and expose multiple sub-devices; moreover, some
> of those also contain an interrupt controller, managing internal IPs
> interrupts: for those, a chained interrupt handler is registered,
> which
> parent is the SPMI controller itself.
> 
> This series adds support for the MT6363, MT6373 SPMI PMICs and their
> interrupt controller.
> 
> AngeloGioacchino Del Regno (2):
>   dt-bindings: mfd: Add binding for MediaTek MT6363 series SPMI PMIC
>   drivers: mfd: Add support for MediaTek SPMI PMICs and MT6363/73

For the whole series:

Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

-- 
Thanks,

Nícolas