mbox series

[v3,0/3] Make IRQ as optional

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

Message

Biju Das Jan. 5, 2024, 2:53 p.m. UTC
On some platforms (eg: RZ/{G2UL,Five} SMARC EVK), there is no IRQ
populated by default. Add irq optional support.

v2->v3:
 * Dropped clearing redundant RTC_FEATURE_UPDATE_INTERRUPT bit
 * Added Rb tag from Geert for patch#1.
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 | 88 ++++++++++++++++++----------------------
 1 file changed, 40 insertions(+), 48 deletions(-)

Comments

Alexandre Belloni Jan. 18, 2024, 12:26 a.m. UTC | #1
On Fri, 05 Jan 2024 14:53:41 +0000, Biju Das wrote:
> On some platforms (eg: RZ/{G2UL,Five} SMARC EVK), there is no IRQ
> populated by default. Add irq optional support.
> 
> v2->v3:
>  * Dropped clearing redundant RTC_FEATURE_UPDATE_INTERRUPT bit
>  * Added Rb tag from Geert for patch#1.
> 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.
> 
> [...]

Applied, thanks!

[1/3] rtc: da9063: Make IRQ as optional
      https://git.kernel.org/abelloni/c/8681de6457aa
[2/3] rtc: da9063: Use device_get_match_data()
      https://git.kernel.org/abelloni/c/4b60c32e979a
[3/3] rtc: da9063: Use dev_err_probe()
      https://git.kernel.org/abelloni/c/f5334aa88345

Best regards,