]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: pf9453: Allow shared IRQ
authorFranz Schnyder <franz.schnyder@toradex.com>
Mon, 2 Mar 2026 16:53:56 +0000 (17:53 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 2 Mar 2026 16:56:59 +0000 (16:56 +0000)
commite84141846decb77d2826e553318a608b256804e5
tree49f693265a973ec273c3fbe18238ff51840ba2f6
parent2d85ecd6fb0eb2fee0ffa040ec1ddea57b09bc38
regulator: pf9453: Allow shared IRQ

The PF9453 datasheet specifies the IRQ_B pin as an open drain output
with level-low behavior. This makes it capable to share the interrupt
line. To allow shared interrupts, the driver must handle the case
if the interrupt has been triggered by another device.

Set IRQF_SHARED to be able to share the interrupt line.
If the interrupt has not been triggered by the PMIC, return IRQ_NONE.

Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
Link: https://patch.msgid.link/20260302165357.1797803-3-fra.schnyder@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pf9453-regulator.c