All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/9] rtc: abx80x: add support for abx81x
@ 2026-09-16 20:51 Antoni Pokusinski
  2026-09-16 20:51 ` [PATCH v7 1/9] dt-bindings: rtc: abx80x: document ABX81X RTCs Antoni Pokusinski
                   ` (9 more replies)
  0 siblings, 10 replies; 22+ messages in thread
From: Antoni Pokusinski @ 2026-09-16 20:51 UTC (permalink / raw)
  To: alexandre.belloni, robh, krzk+dt, conor+dt
  Cc: linux-rtc, devicetree, linux-kernel, Antoni Pokusinski

Hello,
This patch series adds support for the ABX81X RTCs, which are essentially
SPI versions of the ABX80X RTCs. The first patches (P2-P4) contain bug fixes 
(added after sashiko's review in v1-v5), then (P5-P8) we have some cleanup and
reorganization changes (converting the driver to use the regmap API was
needed for this), followed by the actual ABX81X support.

Kind regards,
Antoni Pokusinski

---
Changes since v6:
* PATCH 4 ("rtc: abx80x: properly handle shared IRQs")
  - handle_irq: write `status & ~status_flags_clear` instead of `~status_flags_clear`
  - probe: setup watchdog right after register writes
* PATCH 6 ("rtc: abx80x: use regmap instead of I2C specific API")
  - removed the `return -EIO` case
---
Changes since v5:
* PATCH 2 ("rtc: abx80x: fix error check after i2c_smbus_read in read_alarm()")
  Handle the case of 0<=err<7
* PATCH 4 ("rtc: abx80x: properly handle shared IRQs")
  - probe: added missing configuration key unlock before writing REG_OSC
  - handle_irq: fixed the value being written to REG_STATUS
* PATCH 6 ("rtc: abx80x: use regmap instead of I2C specific API")
  Changed the type of "flag" argument of "regmap_read()" from "int" to
  "unsigned int" in "set_time()"
Changes since v4:
  None
Changes since v3:
* PATCH 2 ("rtc: abx80x: fix error check after i2c_smbus_read in read_alarm()")
  New patch
* PATCH 3 ("rtc: abx80x: add mutex protection for register writes")
  Replaced "guard()" with "scoped_guard()" in "abx80x_ioctl()"
* PATCH 4 ("rtc: abx80x: properly handle shared IRQs")
  Disable all the unused interrupts in "probe()"
* PATCH 6 ("rtc: abx80x: use regmap instead of I2C specific API")
  Changed the type of "flag" arguments in "regmap_read()" from "int" to "unsigned int"
---
Changes since v2:
* dropped patch "rtc: abx80x: move part autodetection before RV1805 configuration"
* PATCH 2 ("rtc: abx80x: add mutex protection for register writes")
  New patch
* PATCH 5 ("rtc: abx80x: use regmap instead of I2C specific API")
  - return PTR_ERR(regmap) on I2C regmap init error
* PATCH 8 ("rtc: abx80x: add support for ABX81X")
  - return PTR_ERR(regmap) on SPI regmap init error
---
Changes since v1:
* PATCH 1 ("dt-bindings: rtc: abx80x: document ABX81X RTCs")
  - added missing "spi-peripherals-props" reference
  - added abx815 compatible strings to the trickle charger enum list
* PATCH 2 ("rtc: abx80x: move part autodetection before RV1805 configuration")
  New patch
* PATCH 3 ("rtc: abx80x: properly handle shared IRQs")
  New patch
* PATCH 5 ("rtc: abx80x: use regmap instead of I2C specific API")
  - changed regmap_read() argument types from `int` to `unsigned int`
---

Antoni Pokusinski (9):
  dt-bindings: rtc: abx80x: document ABX81X RTCs
  rtc: abx80x: fix error check after i2c_smbus_read in read_alarm()
  rtc: abx80x: add mutex protection for register writes
  rtc: abx80x: properly handle shared IRQs
  rtc: abx80x: add irq to struct abx80x_priv
  rtc: abx80x: use regmap instead of I2C specific API
  rtc: abx80x: replace read-modify-write pattern with regmap helpers
  rtc: abx80x: create abx80x_i2c_probe()
  rtc: abx80x: add support for ABX81X

 .../bindings/rtc/abracon,abx80x.yaml          |  18 +-
 drivers/rtc/Kconfig                           |  25 +-
 drivers/rtc/rtc-abx80x.c                      | 656 +++++++++++-------
 3 files changed, 449 insertions(+), 250 deletions(-)

-- 
2.55.0


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

end of thread, other threads:[~2026-10-09 15:07 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-16 20:51 [PATCH v7 0/9] rtc: abx80x: add support for abx81x Antoni Pokusinski
2026-09-16 20:51 ` [PATCH v7 1/9] dt-bindings: rtc: abx80x: document ABX81X RTCs Antoni Pokusinski
2026-09-16 20:59   ` sashiko-bot
2026-09-16 20:51 ` [PATCH v7 2/9] rtc: abx80x: fix error check after i2c_smbus_read in read_alarm() Antoni Pokusinski
2026-09-16 21:01   ` sashiko-bot
2026-09-16 20:51 ` [PATCH v7 3/9] rtc: abx80x: add mutex protection for register writes Antoni Pokusinski
2026-09-16 21:02   ` sashiko-bot
2026-09-16 20:51 ` [PATCH v7 4/9] rtc: abx80x: properly handle shared IRQs Antoni Pokusinski
2026-09-16 21:05   ` sashiko-bot
2026-09-17 18:00     ` Antoni Pokusinski
2026-09-16 20:51 ` [PATCH v7 5/9] rtc: abx80x: add irq to struct abx80x_priv Antoni Pokusinski
2026-09-16 20:59   ` sashiko-bot
2026-09-16 20:51 ` [PATCH v7 6/9] rtc: abx80x: use regmap instead of I2C specific API Antoni Pokusinski
2026-09-16 21:05   ` sashiko-bot
2026-09-16 20:51 ` [PATCH v7 7/9] rtc: abx80x: replace read-modify-write pattern with regmap helpers Antoni Pokusinski
2026-09-16 21:05   ` sashiko-bot
2026-09-17 18:03     ` Antoni Pokusinski
2026-09-16 20:51 ` [PATCH v7 8/9] rtc: abx80x: create abx80x_i2c_probe() Antoni Pokusinski
2026-09-16 21:07   ` sashiko-bot
2026-09-16 20:51 ` [PATCH v7 9/9] rtc: abx80x: add support for ABX81X Antoni Pokusinski
2026-09-16 21:06   ` sashiko-bot
2026-10-09 15:06 ` [PATCH v7 0/9] rtc: abx80x: add support for abx81x Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.