Add MAX77714 PMIC minimal driver (RTC and watchdog only)
From: | Luca Ceresoli <luca-AT-lucaceresoli.net> | |
To: | linux-kernel-AT-vger.kernel.org | |
Subject: | [PATCH v4 0/9] Add MAX77714 PMIC minimal driver (RTC and watchdog only) | |
Date: | Sat, 20 Nov 2021 16:56:58 +0100 | |
Message-ID: | <20211120155707.4019487-1-luca@lucaceresoli.net> | |
Cc: | Luca Ceresoli <luca-AT-lucaceresoli.net>, Lee Jones <lee.jones-AT-linaro.org>, Rob Herring <robh+dt-AT-kernel.org>, Chanwoo Choi <cw00.choi-AT-samsung.com>, Krzysztof Kozlowski <krzysztof.kozlowski-AT-canonical.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie-AT-samsung.com>, Alessandro Zummo <a.zummo-AT-towertech.it>, Alexandre Belloni <alexandre.belloni-AT-bootlin.com>, Wim Van Sebroeck <wim-AT-linux-watchdog.org>, Guenter Roeck <linux-AT-roeck-us.net>, devicetree-AT-vger.kernel.org, linux-rtc-AT-vger.kernel.org, linux-watchdog-AT-vger.kernel.org, Chiwoong Byun <woong.byun-AT-samsung.com>, Laxman Dewangan <ldewangan-AT-nvidia.com>, Randy Dunlap <rdunlap-AT-infradead.org> | |
Archive-link: | Article |
Hi, this series adds minimal drivers for the Maxim Semiconductor MAX77714 (https://www.maximintegrated.com/en/products/power/power-m...). Only RTC and watchdog are implemented by these patches. All implemented functionality is tested and working: RTC read/write, watchdog start/stop/ping/set_timeout. Patches 1-3 + 6 are trivial cleanups to the max77686 drivers and Kconfig indentation and can probably be applied easily. Patches 4, 5, 7, 8 and 9 add: dt bindings, mfd driver, watchdog driver and rtc driver. 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 (9): 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: Kconfig: fix help text indentation 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 | 50 +++--- drivers/watchdog/max77620_wdt.c | 101 +++++++++--- include/linux/mfd/max77686-private.h | 4 +- include/linux/mfd/max77714.h | 60 +++++++ 12 files changed, 455 insertions(+), 81 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