mbox series

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

Message ID 1603187810-30481-1-git-send-email-hsin-hsiung.wang@mediatek.com (mailing list archive)
Headers show
Series Add support for MT6315 regulator | expand

Message

Hsin-Hsiung Wang Oct. 20, 2020, 9:56 a.m. UTC
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