[PATCH v2 0/3] Add support for MT6315 regulator

Hsin-Hsiung Wang hsin-hsiung.wang at mediatek.com
Tue Oct 20 05:56:47 EDT 2020


This patch series add support for MediaTek PMIC MT6315 regulator driver,
which adds MT6315 related buck voltage data to the driver.

changes since v1:
- update binding document in DT schema format.
- add mtk,combined-regulator properity to show the relationship of MT6315 bucks.
- ignore the regulator registration of combined buck in probe.

Hsin-Hsiung Wang (3):
  spmi: Add driver shutdown support
  dt-bindings: regulator: document binding for MT6315 regulator
  regulator: mt6315: Add support for MT6315 regulator

 .../regulator/mtk,mt6315-regulator.yaml       |  88 +++++
 drivers/regulator/Kconfig                     |  10 +
 drivers/regulator/Makefile                    |   1 +
 drivers/regulator/mt6315-regulator.c          | 364 ++++++++++++++++++
 drivers/spmi/spmi.c                           |   9 +
 include/dt-bindings/regulator/mtk,mt6315.h    |  17 +
 include/linux/regulator/mt6315-regulator.h    |  37 ++
 include/linux/spmi.h                          |   1 +
 8 files changed, 527 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/mtk,mt6315-regulator.yaml
 create mode 100644 drivers/regulator/mt6315-regulator.c
 create mode 100644 include/dt-bindings/regulator/mtk,mt6315.h
 create mode 100644 include/linux/regulator/mt6315-regulator.h

-- 
2.18.0


More information about the linux-arm-kernel mailing list