Received: by 10.213.65.68 with SMTP id h4csp188056imn; Fri, 23 Mar 2018 02:23:12 -0700 (PDT) X-Google-Smtp-Source: AG47ELuz58up3YFxJQOcJwLbelzqB5acS7Oa3t5JBZOYtDAx9P/Khl/5L5k1Al5tYg5d2IDagsd9 X-Received: by 2002:a17:902:b943:: with SMTP id h3-v6mr7055182pls.1.1521796992102; Fri, 23 Mar 2018 02:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521796992; cv=none; d=google.com; s=arc-20160816; b=NxuuoBTbczZE2cfSQnJI2A+qBMCI3ZBO0JPvIMZgH/xlQX7W/wl067s4wSn8tw2dZE c9u/3+fX93lu0+q8GTdkj6a+ynF1ztY6jPxEm6gCbXAt4KPQlA80v2rKUTN1v4XQ5XSv 42tTtOFj0PiDs26VFm2+ZOROUHd52sZ4jYnDyvJxAj/JGrEiHh+aFWqtmJ1TnHTD2zvW h1xh5rtwZZxiU55IfZQuTI9Fz8XQ26rgX5Z4QmSndfxd698z7rVgzui48hEPYl91Zz3A iS9BOuKasiWjc+hs//2AZhHt37tsdixg3psYERzavGTg5bzY9w5bBU4mlMZ+NiyL20bm 7VyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=lfOCi2nxtZAETunvc6bi1VWkBAkGdkVSo9rsaa0tCsY=; b=gNfwrMnlmodfGG0IK4oyc76L4COD3bWFgqJ50sLA56xoOcFGlVW5G/i5HOrvjkJ/Rh 3YfmEgBYi50wDgHSmulnkpGD3NmviMtGHhWk/7r7ncepEzFjqaCD/4BcqCiTB2o80Dp8 bVdt7NOGPEVOX613ulLjKaFKW13DIFsGsLFqlMNLxVej4oL5VEV7jk5nYS1pAKJ64pMI PQzA2IOvT+0IeFmLSYd8LvMoax8dVoOA1A1oq5EXxmuaxOaH5K+jxhIzOr9lrNWWLvJ8 sLNovccX6LTO1RGjfUp2Awn2rcRuFlqdDMZCwoCATpKwhojj+t4QpDpwyiVAVoEMSYIC QEqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2-v6si7826328plt.207.2018.03.23.02.22.57; Fri, 23 Mar 2018 02:23:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751987AbeCWJP1 (ORCPT + 99 others); Fri, 23 Mar 2018 05:15:27 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:48398 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751668AbeCWJPZ (ORCPT ); Fri, 23 Mar 2018 05:15:25 -0400 X-UUID: cc6d50fc664d4606b6a9bdd37205d8d1-20180323 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 328542256; Fri, 23 Mar 2018 17:15:18 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 23 Mar 2018 17:15:16 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Fri, 23 Mar 2018 17:15:16 +0800 From: To: , , , , , , CC: , , , , , Sean Wang Subject: [PATCH v1 00/16] Add support to MT6323 RTC and its power device Date: Fri, 23 Mar 2018 17:14:57 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-12.5.0.5042-8.2.9001-23736.004 X-TM-AS-Result: No-9.360600-8.000000-10 X-TMASE-MatchedRID: tTPQr586rYaZCmMjjYK8qYv73wEu0Nx7QCf2rISO3ztcKZwALwMGswBu o8M5Nxn4FrGaGuAHjPEZWUxDAlAndMvTk9bUe4riuIwLnB3Aqp1hBfGxmdHCgjUsHjosUACSdE7 ABQfxM9d4i+oTWG3KCXua1vW9URg3LSTGw1g/Kd5NVr4vdmCpzu0d/wCAHbnoSwcZtVb90bAVWT DhfTuSaE4kHnA/WiqEhRAr0eCrd7SvvxILmKK/HBRFJJyf5BJe3QfwsVk0UbtuRXh7bFKB7r5Ce OaEn8jcDYt4GHyd40F+Nt3NsmbJIGWo4CpyJYPqWClYJu9r4yY= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--9.360600-8.000000 X-TMASE-Version: SMEX-12.5.0.5042-8.2.9001-23736.004 X-TMASE-POSTMAN: 2-d; X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang Hi, The series keeps to extend the capability of BPI-R2 board with MT7623 and the result can as well bring benefits into the other MediaTek PMICs such as MT6397 or SoCs. The series sent across mfd, rtc, pm, dt-binding sub-system is for hoping to let people have a simple cross-reference to know the exact dependency and why those patches are being split in that way between each one. Patch 1-3: Add dt-binding to the related devices newly or already supported. Patch 4-5: Extend driver with the functionality of MT6323 RTC device. Patch 6-9 and 12-13: Add a few of trivial fixups, cleanups and improvements. Patch 10-11: It's a preparation for Patch 14 adding a new driver. Patch 14: Add a new driver for a power-off driver. Patch 15-16: Update MAINTAINERS with these new files being added. Sean Sean Wang (16): dt-bindings: power: reset: mediatek: add bindings for power device dt-bindings: rtc: mediatek: add bindings for PMIC RTC dt-bindings: mfd: mediatek: add a description for MT6323 RTC mfd: mt6397: add MT6323 RTC support into MT6397 driver rtc: mediatek: add MT6323 support to RTC driver rtc: mediatek: remove unnecessary parentheses rtc: mediatek: replace a poll with regmap_read_poll_timeout rtc: mediatek: remove unnecessary irq_dispose_mapping rtc: mediatek: convert to use device managed functions rtc: mediatek: add devm_of_platform_populate rtc: mediatek: move the declaration into a globally visible header file rtc: mediatek: cleanup header files to include rtc: mediatek: update license converting to using SPDX identifiers power: reset: mediatek: add a power-off driver using PMIC RTC device MAINTAINERS: update entry for ARM/Mediatek RTC DRIVER MAINTAINERS: add an entry for MediaTek board level shutdown driver Documentation/devicetree/bindings/mfd/mt6397.txt | 4 +- .../bindings/power/reset/mt6397-rtc-poweroff.txt | 24 ++++ .../devicetree/bindings/rtc/rtc-mt6397.txt | 39 ++++++ MAINTAINERS | 9 ++ drivers/mfd/mt6397-core.c | 23 +++- drivers/power/reset/Kconfig | 9 ++ drivers/power/reset/Makefile | 1 + drivers/power/reset/mt6397-rtc-poweroff.c | 100 ++++++++++++++ drivers/rtc/rtc-mt6397.c | 145 +++++---------------- include/linux/rtc/mt6397.h | 73 +++++++++++ 10 files changed, 314 insertions(+), 113 deletions(-) create mode 100644 Documentation/devicetree/bindings/power/reset/mt6397-rtc-poweroff.txt create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt6397.txt create mode 100644 drivers/power/reset/mt6397-rtc-poweroff.c create mode 100644 include/linux/rtc/mt6397.h -- 2.7.4