linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/17] Add support to MT6323 RTC and its power device
@ 2018-04-25  9:32 sean.wang
  2018-04-25  9:32 ` [PATCH v2 01/17] dt-bindings: power: reset: mt6323: add bindings for MT6323 power controller sean.wang
                   ` (16 more replies)
  0 siblings, 17 replies; 23+ messages in thread
From: sean.wang @ 2018-04-25  9:32 UTC (permalink / raw)
  To: robh+dt, mark.rutland, sre, lee.jones, a.zummo,
	alexandre.belloni, matthias.bgg, eddie.huang
  Cc: devicetree, linux-rtc, linux-arm-kernel, linux-pm,
	linux-mediatek, linux-kernel, Sean Wang

From: Sean Wang <sean.wang@mediatek.com>

v2:

- The changes must be relative to the below tree since one critial patch
  for the rtc-mt6397.c the series depends on was being applied into
  the tree. Otherwise, for example, if the series are applied on the top
  of [1], a build error must happen due to an implicit declaration of
  function 'irq_create_mapping' as kbuild test robot was reporting in [2].
  
  tree    : https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
  branch  : mfd/ib-mfd-input-rtc-4.18

- changes since v1:
  * Define the power controller as a function of MT6323 MFD.
  * Refine the whole series commit message and title.
  * Add tag Reviewed-by and Acked-by got from v1 result.
  * Reuse use the DEFINE_RES_* helpers in mfd driver.
  * Remove an overdone patch rtc: mediatek: remove unnecessary parentheses.
  * Use devm_rtc_allocate_device() and rtc_register_device instead of
    devm_rtc_device_register.
  * Have an improvement according to the license rule the SPDX notation
    for C header file.
  * Move a file from include/linux/rtc/mt6397.h to include/linux/mfd/mt6397/rtc.h
  * Refine include/linux/mfd/mt6397/rtc.h

[1] https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git
[2] http://lists.infradead.org/pipermail/linux-mediatek/2018-March/012548.html

v1:

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 (17):
  dt-bindings: power: reset: mt6323: add bindings for MT6323 power
    controller
  dt-bindings: rtc: mt6397: add bindings for MediaTek PMIC based RTC
  dt-bindings: mfd: mt6397: add a description for MT6323 RTC
  dt-bindings: mfd: mt6397: add a description for MT6323 power
    controller
  mfd: mt6397: add MT6323 RTC support into MT6397 driver
  mfd: mt6397: add support for MT6323 power controller into MT6397
    driver
  mfd: mt6397: reuse DEFINE_RES_* helpers
  rtc: mt6397: add MT6323 support to RTC driver
  rtc: mt6397: replace a poll with regmap_read_poll_timeout
  rtc: mt6397: remove unnecessary irq_dispose_mapping
  rtc: mt6397: convert to use device managed functions
  rtc: mt6397: move the declaration into a globally visible header file
  rtc: mt6397: cleanup header files to include
  rtc: mt6397: update license converting to using SPDX identifiers
  power: reset: mt6323: add a driver for MT6323 power controller
  MAINTAINERS: update entry for ARM/Mediatek RTC DRIVER
  MAINTAINERS: add an entry for MediaTek board level shutdown driver

 Documentation/devicetree/bindings/mfd/mt6397.txt   |  10 +-
 .../bindings/power/reset/mt6323-poweroff.txt       |  20 +++
 .../devicetree/bindings/rtc/rtc-mt6397.txt         |  29 ++++
 MAINTAINERS                                        |   9 ++
 drivers/mfd/mt6397-core.c                          |  40 ++++--
 drivers/power/reset/Kconfig                        |  10 ++
 drivers/power/reset/Makefile                       |   1 +
 drivers/power/reset/mt6323-poweroff.c              |  97 ++++++++++++++
 drivers/rtc/rtc-mt6397.c                           | 146 +++++----------------
 include/linux/mfd/mt6397/rtc.h                     |  71 ++++++++++
 10 files changed, 308 insertions(+), 125 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt
 create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt6397.txt
 create mode 100644 drivers/power/reset/mt6323-poweroff.c
 create mode 100644 include/linux/mfd/mt6397/rtc.h

-- 
2.7.4

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2018-05-08 15:39 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-25  9:32 [PATCH v2 00/17] Add support to MT6323 RTC and its power device sean.wang
2018-04-25  9:32 ` [PATCH v2 01/17] dt-bindings: power: reset: mt6323: add bindings for MT6323 power controller sean.wang
2018-04-27 20:02   ` Rob Herring
2018-04-30  7:34     ` Sean Wang
2018-04-25  9:32 ` [PATCH v2 02/17] dt-bindings: rtc: mt6397: add bindings for MediaTek PMIC based RTC sean.wang
2018-05-08 15:39   ` Rob Herring
2018-04-25  9:32 ` [PATCH v2 03/17] dt-bindings: mfd: mt6397: add a description for MT6323 RTC sean.wang
2018-04-25  9:32 ` [PATCH v2 04/17] dt-bindings: mfd: mt6397: add a description for MT6323 power controller sean.wang
2018-04-25  9:32 ` [PATCH v2 05/17] mfd: mt6397: add MT6323 RTC support into MT6397 driver sean.wang
2018-04-25  9:32 ` [PATCH v2 06/17] mfd: mt6397: add support for MT6323 power controller " sean.wang
2018-04-25  9:32 ` [PATCH v2 07/17] mfd: mt6397: reuse DEFINE_RES_* helpers sean.wang
2018-04-25  9:32 ` [PATCH v2 08/17] rtc: mt6397: add MT6323 support to RTC driver sean.wang
2018-04-25  9:32 ` [PATCH v2 09/17] rtc: mt6397: replace a poll with regmap_read_poll_timeout sean.wang
2018-04-25  9:32 ` [PATCH v2 10/17] rtc: mt6397: remove unnecessary irq_dispose_mapping sean.wang
2018-04-25  9:32 ` [PATCH v2 11/17] rtc: mt6397: convert to use device managed functions sean.wang
2018-04-25  9:32 ` [PATCH v2 12/17] rtc: mt6397: move the declaration into a globally visible header file sean.wang
2018-04-25  9:32 ` [PATCH v2 13/17] rtc: mt6397: cleanup header files to include sean.wang
2018-04-25  9:32 ` [PATCH v2 14/17] rtc: mt6397: update license converting to using SPDX identifiers sean.wang
2018-04-25  9:32 ` [PATCH v2 15/17] power: reset: mt6323: add a driver for MT6323 power controller sean.wang
2018-05-01 12:56   ` Sebastian Reichel
2018-05-02  2:31     ` Sean Wang
2018-04-25  9:32 ` [PATCH v2 16/17] MAINTAINERS: update entry for ARM/Mediatek RTC DRIVER sean.wang
2018-04-25  9:32 ` [PATCH v2 17/17] MAINTAINERS: add an entry for MediaTek board level shutdown driver sean.wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).