[PATCH 0/7] Add MediaTek MT6357 PMIC support

Fabien Parent fparent at baylibre.com
Tue May 31 05:49:52 PDT 2022


This patch series adds MFD, PMIC keys, and regulator support for MT6357.
MT6357 is a MediaTek PMIC very similar to MT6358 and MT6359.

The first 6 patches of this series have no dependencies. The last patch
depends on another patch series that add PMIC keys support for MT6359:
https://lore.kernel.org/all/20220415153629.1817202-1-fparent@baylibre.com/

Fabien Parent (7):
  dt-bindings: mfd: mt6397: add binding for MT6357
  dt-bindings: input: mtk-pmic-keys: add binding for MT6357 PMIC
  dt-bindings: regulator: Add binding schema for mt6357 regulators
  mfd: mt6397-core: add MT6357 PMIC support
  mfd: mt6358-irq: add MT6357 PMIC support
  regulator: add mt6357 regulator
  Input: mtk-pmic-keys: add MT6357 support

 .../bindings/input/mtk-pmic-keys.txt          |    1 +
 .../devicetree/bindings/mfd/mt6397.txt        |    1 +
 .../regulator/mediatek,mt6357-regulator.yaml  |  282 +++
 drivers/input/keyboard/mtk-pmic-keys.c        |   15 +
 drivers/mfd/mt6358-irq.c                      |   24 +
 drivers/mfd/mt6397-core.c                     |   44 +
 drivers/regulator/Kconfig                     |    9 +
 drivers/regulator/Makefile                    |    1 +
 drivers/regulator/mt6357-regulator.c          |  485 +++++
 include/linux/mfd/mt6357/core.h               |  119 ++
 include/linux/mfd/mt6357/registers.h          | 1574 +++++++++++++++++
 include/linux/mfd/mt6397/core.h               |    1 +
 include/linux/regulator/mt6357-regulator.h    |   51 +
 13 files changed, 2607 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/mediatek,mt6357-regulator.yaml
 create mode 100644 drivers/regulator/mt6357-regulator.c
 create mode 100644 include/linux/mfd/mt6357/core.h
 create mode 100644 include/linux/mfd/mt6357/registers.h
 create mode 100644 include/linux/regulator/mt6357-regulator.h

-- 
2.36.1




More information about the Linux-mediatek mailing list