From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hsin-Hsiung Wang Subject: [PATCH v5 00/10] Add Support for MediaTek PMIC MT6358 Date: Fri, 23 Aug 2019 11:45:21 +0800 Message-ID: <1566531931-9772-1-git-send-email-hsin-hsiung.wang@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Lee Jones , Rob Herring , Mark Brown , Matthias Brugger , Alexandre Belloni Cc: Mark Rutland , Liam Girdwood , Eddie Huang , Sean Wang , Alessandro Zummo , Hsin-Hsiung Wang , Kate Stewart , Greg Kroah-Hartman , Thomas Gleixner , Richard Fontana , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, srv_heupstream@mediatek.com List-Id: devicetree@vger.kernel.org This patchset including refactoring interrupt add support to MT6358 PMIC. MT6358 is the primary PMIC for MT8183 platform. changes since v4: - fix some comments for mfd driver. - fix some coding style issues for regulator driver. - merge the same voltage tables and index tables for regulator driver. - remove regulator-always-on for vemc. - change mtk rtc struct and variable naming. - use of_device_get_match_data() to replace of_match_device() for rtc driver. Hsin-Hsiung Wang (8): mfd: mt6397: clean up code mfd: mt6397: extract irq related code from core driver mfd: mt6397: modify suspend/resume behavior dt-bindings: mfd: Add compatible for the MediaTek MT6358 PMIC regulator: Add document for MT6358 regulator mfd: Add support for the MediaTek MT6358 PMIC regulator: mt6358: Add support for MT6358 regulator arm64: dts: mt6358: add PMIC MT6358 related nodes Ran Bi (2): rtc: mt6397: fix alarm register overwrite rtc: mt6397: Add support for the MediaTek MT6358 RTC Documentation/devicetree/bindings/mfd/mt6397.txt | 11 +- .../bindings/regulator/mt6358-regulator.txt | 358 ++++++++++++++ arch/arm64/boot/dts/mediatek/mt6358.dtsi | 361 ++++++++++++++ drivers/mfd/Makefile | 4 +- drivers/mfd/mt6358-irq.c | 231 +++++++++ drivers/mfd/mt6397-core.c | 281 ++++------- drivers/mfd/mt6397-irq.c | 214 ++++++++ drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile | 1 + drivers/regulator/mt6358-regulator.c | 549 +++++++++++++++++++++ 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 | 15 + include/linux/regulator/mt6358-regulator.h | 56 +++ 15 files changed, 2393 insertions(+), 222 deletions(-) create mode 100644 Documentation/devicetree/bindings/regulator/mt6358-regulator.txt create mode 100644 arch/arm64/boot/dts/mediatek/mt6358.dtsi create mode 100644 drivers/mfd/mt6358-irq.c create mode 100644 drivers/mfd/mt6397-irq.c create mode 100644 drivers/regulator/mt6358-regulator.c create mode 100644 include/linux/mfd/mt6358/core.h create mode 100644 include/linux/mfd/mt6358/registers.h create mode 100644 include/linux/regulator/mt6358-regulator.h -- 1.9.1