[PATCH v6 0/6] Add Support for MediaTek PMIC MT6358

Hsin-Hsiung Wang
2019-12-06T13:38:43Z

This patchset including modifying suspend/resume behavior add support to MT6358 PMIC.
MT6358 is the primary PMIC for MT8183 platform.

changes since v5:
- rewrite suspend/resume behavior for mfd driver.
- remove unused error handle for mfd driver.
- refine for better code quality in mfd driver.
- add MT6358 PMIC support to MT8183 evb.
- add signed-off-by for rtc patches.

Hsin-Hsiung Wang (4):
mfd: mt6397: modify suspend/resume behavior
dt-bindings: mfd: Add compatible for the MediaTek MT6358 PMIC
mfd: Add support for the MediaTek MT6358 PMIC
arm64: dts: mt6358: add PMIC MT6358 related nodes

Ran Bi (2):
rtc: mt6397: fix alarm register overwrite
rtc: Add support for the MediaTek MT6358 RTC

Documentation/devicetree/bindings/mfd/mt6397.txt | 14 +-
arch/arm64/boot/dts/mediatek/mt6358.dtsi | 361 +++++++++++++++++++++++
arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 1 +
drivers/mfd/Makefile | 2 +-
drivers/mfd/mt6358-irq.c | 224 ++++++++++++++
drivers/mfd/mt6397-core.c | 75 +++--
drivers/mfd/mt6397-irq.c | 33 +++
drivers/rtc/rtc-mt6397.c | 85 ++++--
include/linux/mfd/mt6358/core.h | 158 ++++++++++
include/linux/mfd/mt6358/registers.h | 282 ++++++++++++++++++
include/linux/mfd/mt6397/core.h | 5 +
11 files changed, 1182 insertions(+), 58 deletions(-)
create mode 100644 arch/arm64/boot/dts/mediatek/mt6358.dtsi
create mode 100644 drivers/mfd/mt6358-irq.c
create mode 100644 include/linux/mfd/mt6358/core.h
create mode 100644 include/linux/mfd/mt6358/registers.h

--
2.6.4