[PATCH v6 0/8] Add MAX77714 PMIC minimal driver (RTC and watchdog only)

Luca Ceresoli posted 8 patches 4 years, 4 months ago
.../bindings/mfd/maxim,max77714.yaml          |  68 ++++++++
MAINTAINERS                                   |   7 +
drivers/mfd/Kconfig                           |  14 ++
drivers/mfd/Makefile                          |   1 +
drivers/mfd/max77686.c                        |   2 +-
drivers/mfd/max77714.c                        | 152 ++++++++++++++++++
drivers/rtc/Kconfig                           |   2 +-
drivers/rtc/rtc-max77686.c                    |  75 +++++----
drivers/watchdog/Kconfig                      |   2 +-
drivers/watchdog/max77620_wdt.c               |  85 ++++++++--
include/linux/mfd/max77686-private.h          |   4 +-
include/linux/mfd/max77714.h                  |  60 +++++++
12 files changed, 421 insertions(+), 51 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mfd/maxim,max77714.yaml
create mode 100644 drivers/mfd/max77714.c
create mode 100644 include/linux/mfd/max77714.h
[PATCH v6 0/8] Add MAX77714 PMIC minimal driver (RTC and watchdog only)
Posted by Luca Ceresoli 4 years, 4 months ago
Hi,

this series adds minimal drivers for the Maxim Semiconductor MAX77714
(https://www.maximintegrated.com/en/products/power/power-management-ics/MAX77714.html).
Only RTC and watchdog are implemented by these patches.

This is almost a bare resend of v5. Changes are minimal, trivial and only
in comments (see list below).

All implemented functionality is tested and working: RTC read/write,
watchdog start/stop/ping/set_timeout.

Patches 1-3 are trivial cleanups to the max77686 drivers.

Patches 4-8 add dt bindings, mfd driver, watchdog driver and rtc driver.

Changes in v6:
 - patch 6: removed, now in mainline
 - patch 5: describe as "Core driver", not "MFD driver" in comment
   (Lee Jones)
 - update copyright years
 - add review tags

Changes in v5:
 - patch 7: fix (and simplify) watchdog_info code
 - patch 8: remove amibguity in comment

Changes in v4:
 - do not add a new wdog driver for MAX77714, extend the MAX77620 wdog
   driver; this means removing v3 patch 7, now replaced by patches 7+8
 - added review tags

Changes in v3:
 - fixed all issues reported on v1 patches
 - removed patch 1 of v2, already applied
   ("mfd: max77686: Correct tab-based alignment of register addresses")

Changes in v2:
 - fixed all issues reported on v1 patches
 - added patch 7 ("watchdog: Kconfig: fix help text indentation")
 - additional minor improvements

Luca

Luca Ceresoli (8):
  rtc: max77686: convert comments to kernel-doc format
  rtc: max77686: rename day-of-month defines
  rtc: max77686: remove unused code to read in 12-hour mode
  dt-bindings: mfd: add Maxim MAX77714 PMIC
  mfd: max77714: Add driver for Maxim MAX77714 PMIC
  watchdog: max77620: add support for the max77714 variant
  watchdog: max77620: add comment to clarify set_timeout procedure
  rtc: max77686: add MAX77714 support

 .../bindings/mfd/maxim,max77714.yaml          |  68 ++++++++
 MAINTAINERS                                   |   7 +
 drivers/mfd/Kconfig                           |  14 ++
 drivers/mfd/Makefile                          |   1 +
 drivers/mfd/max77686.c                        |   2 +-
 drivers/mfd/max77714.c                        | 152 ++++++++++++++++++
 drivers/rtc/Kconfig                           |   2 +-
 drivers/rtc/rtc-max77686.c                    |  75 +++++----
 drivers/watchdog/Kconfig                      |   2 +-
 drivers/watchdog/max77620_wdt.c               |  85 ++++++++--
 include/linux/mfd/max77686-private.h          |   4 +-
 include/linux/mfd/max77714.h                  |  60 +++++++
 12 files changed, 421 insertions(+), 51 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/maxim,max77714.yaml
 create mode 100644 drivers/mfd/max77714.c
 create mode 100644 include/linux/mfd/max77714.h

-- 
2.25.1

[GIT PULL] Immutable branch between MFD, RTC and Watchdog due for the v5.18 merge window
Posted by Lee Jones 4 years, 3 months ago
Enjoy!

The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07:

  Linux 5.17-rc1 (2022-01-23 10:12:53 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-rtc-watchdog-v5.18

for you to fetch changes up to c58e496311a50c087eeeaaae81083cd643fe5128:

  rtc: max77686: Add MAX77714 support (2022-03-07 13:55:04 +0000)

----------------------------------------------------------------
Immutable branch between MFD, RTC and Watchdog due for the v5.18 merge window

----------------------------------------------------------------
Luca Ceresoli (8):
      rtc: max77686: Convert comments to kernel-doc format
      rtc: max77686: Rename day-of-month defines
      rtc: max77686: Remove unused code to read in 12-hour mode
      dt-bindings: mfd: Add Maxim MAX77714 PMIC
      mfd: max77714: Add driver for Maxim MAX77714 PMIC
      watchdog: max77620: Add support for the max77714 variant
      watchdog: max77620: Add comment to clarify set_timeout procedure
      rtc: max77686: Add MAX77714 support

 .../devicetree/bindings/mfd/maxim,max77714.yaml    |  68 +++++++++
 MAINTAINERS                                        |   7 +
 drivers/mfd/Kconfig                                |  14 ++
 drivers/mfd/Makefile                               |   1 +
 drivers/mfd/max77686.c                             |   2 +-
 drivers/mfd/max77714.c                             | 152 +++++++++++++++++++++
 drivers/rtc/Kconfig                                |   2 +-
 drivers/rtc/rtc-max77686.c                         |  75 ++++++----
 drivers/watchdog/Kconfig                           |   2 +-
 drivers/watchdog/max77620_wdt.c                    |  85 +++++++++---
 include/linux/mfd/max77686-private.h               |   4 +-
 include/linux/mfd/max77714.h                       |  60 ++++++++
 12 files changed, 421 insertions(+), 51 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/maxim,max77714.yaml
 create mode 100644 drivers/mfd/max77714.c
 create mode 100644 include/linux/mfd/max77714.h

-- 
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog