|
|
Log in / Subscribe / Register

Add Support for MediaTek PMIC MT6359

From:  Hsin-Hsiung Wang <hsin-hsiung.wang-AT-mediatek.com>
To:  Lee Jones <lee.jones-AT-linaro.org>, Rob Herring <robh+dt-AT-kernel.org>, Matthias Brugger <matthias.bgg-AT-gmail.com>, Liam Girdwood <lgirdwood-AT-gmail.com>, Mark Brown <broonie-AT-kernel.org>, Eddie Huang <eddie.huang-AT-mediatek.com>, Alessandro Zummo <a.zummo-AT-towertech.it>, Alexandre Belloni <alexandre.belloni-AT-bootlin.com>, Fei Shao <fshao-AT-chromium.org>
Subject:  [PATCH v8 0/8] Add Support for MediaTek PMIC MT6359
Date:  Wed, 26 May 2021 14:51:59 +0800
Message-ID:  <1622011927-359-1-git-send-email-hsin-hsiung.wang@mediatek.com>
Cc:  Sean Wang <sean.wang-AT-mediatek.com>, Hsin-Hsiung Wang <hsin-hsiung.wang-AT-mediatek.com>, Yuchen Huang <yuchen.huang-AT-mediatek.com>, <devicetree-AT-vger.kernel.org>, <linux-arm-kernel-AT-lists.infradead.org>, <linux-mediatek-AT-lists.infradead.org>, <linux-kernel-AT-vger.kernel.org>, <linux-rtc-AT-vger.kernel.org>, <srv_heupstream-AT-mediatek.com>, <Project_Global_Chrome_Upstream_Group-AT-mediatek.com>
Archive-link:  Article

This patchset includes refactoring interrupt and adding support to MT6359 PMIC.
MT6359 is the primary PMIC for MT6779 and probably other SOCs.
The series[1] sent by Wen will continue to upstream in this patchset afterwards.
This patchset is based on the pmic wrapper patchset[2].

[1] https://patchwork.kernel.org/project/linux-mediatek/list/...
[2] https://patchwork.kernel.org/project/linux-mediatek/list/...

changes since v7:
- rebase to Linux 5.13.

Hsin-Hsiung Wang (6):
  mfd: mt6358: refine interrupt code
  rtc: mt6397: refine RTC_TC_MTH
  dt-bindings: mfd: Add compatible for the MediaTek MT6359 PMIC
  dt-bindings: regulator: Add document for MT6359 regulator
  mfd: Add support for the MediaTek MT6359 PMIC
  regulator: mt6359: Add support for MT6359P regulator

Wen Su (2):
  regulator: mt6359: Add support for MT6359 regulator
  arm64: dts: mt6359: add PMIC MT6359 related nodes

 Documentation/devicetree/bindings/mfd/mt6397.txt   |    1 +
 .../bindings/regulator/mt6359-regulator.yaml       |  385 ++++++++
 arch/arm64/boot/dts/mediatek/mt6359.dtsi           |  298 ++++++
 arch/arm64/boot/dts/mediatek/mt8192-evb.dts        |    1 +
 drivers/mfd/mt6358-irq.c                           |   89 +-
 drivers/mfd/mt6397-core.c                          |   24 +
 drivers/regulator/Kconfig                          |    9 +
 drivers/regulator/Makefile                         |    1 +
 drivers/regulator/mt6359-regulator.c               | 1036 ++++++++++++++++++++
 drivers/rtc/rtc-mt6397.c                           |    2 +-
 include/linux/mfd/mt6358/core.h                    |    8 +-
 include/linux/mfd/mt6359/core.h                    |  133 +++
 include/linux/mfd/mt6359/registers.h               |  529 ++++++++++
 include/linux/mfd/mt6359p/registers.h              |  249 +++++
 include/linux/mfd/mt6397/core.h                    |    1 +
 include/linux/mfd/mt6397/rtc.h                     |    1 +
 include/linux/regulator/mt6359-regulator.h         |   59 ++
 17 files changed, 2793 insertions(+), 33 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/regulator/mt6359-regulator.yaml
 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/core.h
 create mode 100644 include/linux/mfd/mt6359/registers.h
 create mode 100644 include/linux/mfd/mt6359p/registers.h
 create mode 100644 include/linux/regulator/mt6359-regulator.h

-- 
2.6.4



Copyright © 2021, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds