[PATCH v2 0/4] Add Support for MediaTek PMIC MT6359 Regulator

Wen Su
2020-02-06T03:09:20Z

This patchset add support to MT6359 PMIC regulator. MT6359 is primary
PMIC for MT6779 platform.

Changes since v2:
- remove open coding in the mt6359 regulator for volt_table type regulators
- refine coding style in the mt6359 regulator to avoid using ternery operator
- remove unnecessary reject operation in mt6359 regulator set mode function

Wen Su (4):
dt-bindings: regulator: Add document for MT6359 regulator
mfd: Add for PMIC MT6359 registers definition
regulator: mt6359: Add support for MT6359 regulator
arm64: dts: mt6359: add PMIC MT6359 related nodes

.../bindings/regulator/mt6359-regulator.txt | 58 ++
arch/arm64/boot/dts/mediatek/mt6359.dtsi | 306 +++++++++
drivers/regulator/Kconfig | 9 +
drivers/regulator/Makefile | 1 +
drivers/regulator/mt6359-regulator.c | 738 +++++++++++++++++++++
include/linux/mfd/mt6359/registers.h | 531 +++++++++++++++
include/linux/regulator/mt6359-regulator.h | 58 ++
7 files changed, 1701 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/mt6359-regulator.txt
create mode 100644 arch/arm64/boot/dts/mediatek/mt6359.dtsi
create mode 100644 drivers/regulator/mt6359-regulator.c
create mode 100644 include/linux/mfd/mt6359/registers.h
create mode 100644 include/linux/regulator/mt6359-regulator.h