rtc: m41t93: add new features alarm, clock out, watchdog
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 3 repliesApplied
- v26 patches 4 repliesSuperseded
- v17 patches 5 repliesSuperseded
Changes in v3 from the cover letter
- Address comments on bindings from Krzysztof and add myself
as a maintainer.
- Re-validation/testing on top of v6.17-rc6
- Link to v2: https://lore.kernel.org/lkml/[email protected]/
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | dt-bindings: rtc: Add ST m41t93Documentation/ | +50 | 1 reply | |
| 2/6 | rtc: m41t93: add device tree supportdrivers/ | +7 | 0 replies | |
| 3/6 | rtc: m41t93: migrate to regmap api for register accessdrivers/ | +70 | 0 replies | |
| 4/6 | rtc: m41t93: Add alarm supportdrivers/ | +105 | 0 replies | |
| 5/6 | rtc: m41t93: Add square wave clock provider supportdrivers/ | +155 | 0 replies | |
| 6/6 | rtc: m41t93: Add watchdog supportdrivers/ | +99 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Rob Herring (Arm) |
|---|---|
| 1/6 | R-b |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/6] rtc: m41t93: add new features alarm, clock out, watchdog
This patch series adds following to m41t93 rtc driver.
Functionalities:
- Alarm support (support to configure alarm 1)
- Square wave output support
- Watchdog support
Code improvements:
this series migrates existing driver to use standard regmap interface for spi instead of direct spi calls and uses regmap for new features.
Device tree support:
Adds device tree support to the driver along with binding documentation.
Testing:
This patch series is validated on TI am62x board with m41t93 rtc chip connected to spi0 bus.
regmap migration is additionally tested by observing spi transfers with the help of logic analyzer. Short summary of test flow is added in commit message of respective features.
Datasheet:
https://www.st.com/resource/en/datasheet/m41t93.pdf
patch 4 to 6 depend on patch 3 (regmap patch)
---
Changes in v3:
- Address comments on bindings from Krzysztof and add myself
as a maintainer.
- Re-validation/testing on top of v6.17-rc6
- Link to v2: https://lore.kernel.org/lkml/[email protected]/
Changes in v2:
- Address DTS and bindings coding style feedback from Krzysztof
- Verify bindings using $ make dt_binding_check
- Update example in binding documentation after testing.
- Analyze and Fix build warnings as suggested by kernel test robot.
- Drop patch 5 from series (device detect logic change).
This will be taken separately. Focus on functionalities in this series.
- Update commit messages with short test steps for each feature.
- Link to v1: https://lore.kernel.org/lkml/[email protected]/
---
Akhilesh Patil (6):
dt-bindings: rtc: Add ST m41t93
rtc: m41t93: add device tree support
rtc: m41t93: migrate to regmap api for register access
rtc: m41t93: Add alarm support
rtc: m41t93: Add square wave clock provider support
rtc: m41t93: Add watchdog support
.../devicetree/bindings/rtc/st,m41t93.yaml | 50 ++ drivers/rtc/rtc-m41t93.c | 488 ++++++++++++++++-- 2 files changed, 486 insertions(+), 52 deletions(-) create mode 100644 Documentation/devicetree/bindings/rtc/st,m41t93.yaml
Signature · 1 line
2.34.1