|
|
Log in / Subscribe / Register

Add Support for MediaTek PMIC MT6358

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>, Alexandre Belloni <alexandre.belloni-AT-bootlin.com>, Matthias Brugger <matthias.bgg-AT-gmail.com>
Subject:  [PATCH v8 0/5] Add Support for MediaTek PMIC MT6358
Date:  Mon, 3 Feb 2020 19:40:39 +0800
Message-ID:  <1580730044-30501-1-git-send-email-hsin-hsiung.wang@mediatek.com>
Cc:  Mark Rutland <mark.rutland-AT-arm.com>, Eddie Huang <eddie.huang-AT-mediatek.com>, Sean Wang <sean.wang-AT-mediatek.com>, Alessandro Zummo <a.zummo-AT-towertech.it>, Hsin-Hsiung Wang <hsin-hsiung.wang-AT-mediatek.com>, Richard Fontana <rfontana-AT-redhat.com>, Greg Kroah-Hartman <gregkh-AT-linuxfoundation.org>, Josef Friedl <josef.friedl-AT-speed.at>, Thomas Gleixner <tglx-AT-linutronix.de>, Ran Bi <ran.bi-AT-mediatek.com>, Frank Wunderlich <frank-w-AT-public-files.de>, <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>
Archive-link:  Article

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

changes since v7:
- refine for better code quality in mfd driver.
- update some error log in mfd driver.
- update the regulator-enable-ramp-delay property of vcamio/vcamd/vcama1/vcama2.
- modify the subject of rtc patch.

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 (1):
  rtc: mt6397: 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                         | 230 +++++++++++++++
 drivers/mfd/mt6397-core.c                        |  85 +++---
 drivers/mfd/mt6397-irq.c                         |  33 +++
 drivers/rtc/rtc-mt6397.c                         |  25 +-
 include/linux/mfd/mt6358/core.h                  | 158 ++++++++++
 include/linux/mfd/mt6358/registers.h             | 282 ++++++++++++++++++
 include/linux/mfd/mt6397/core.h                  |   5 +
 include/linux/mfd/mt6397/rtc.h                   |  16 +-
 12 files changed, 1164 insertions(+), 48 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


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