mbox series

[v2,0/3] rtc: da9063: Make IRQ as optional

Message ID 20231204130504.126787-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series rtc: da9063: Make IRQ as optional | expand

Message

Biju Das Dec. 4, 2023, 1:05 p.m. UTC
On some platforms (eg: RZ/{G2UL,Five} SMARC EVK), there is no IRQ
populated by default. Add irq optional support.

v1->v2:
 * Make RTC patch series separate from dt patches.
 * Propagated real errors for platform_get_irq_byname_optional().
 * Cleared ALARM feature bit for non-irq case.
 * Added Rb tag from Geert for patch#2 and #3
 * Restored dev_err() for devm_request_threaded_irq() as an RTC can wake
   up a system without an IRQ.

Biju Das (3):
  rtc: da9063: Make IRQ as optional
  rtc: da9063: Use device_get_match_data()
  rtc: da9063: Use dev_err_probe()

 drivers/rtc/rtc-da9063.c | 89 ++++++++++++++++++----------------------
 1 file changed, 41 insertions(+), 48 deletions(-)