]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mfd: sec: Add rtc alarm IRQ as platform device resource
authorAndré Draszik <andre.draszik@linaro.org>
Tue, 13 Jan 2026 14:03:11 +0000 (14:03 +0000)
committerLee Jones <lee@kernel.org>
Tue, 20 Jan 2026 15:36:52 +0000 (15:36 +0000)
commit153ae5c52b7063ac0926926d0cc9b53ee9d7fed2
treec7173b2f3637713f00b7a9f6ad866f4020fad73a
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
mfd: sec: Add rtc alarm IRQ as platform device resource

By adding the RTC alarm IRQ to the MFD cell as a resource, the child
driver (rtc) can simply query that IRQ, instead of having a lookup
table itself.

This change therefore allows the child driver to be simplified with
regards to determining the alarm IRQ.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260113-s5m-alarm-v3-1-855a19db1277@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/sec-common.c