]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: pf9453: Respect IRQ trigger settings from firmware
authorFranz Schnyder <franz.schnyder@toradex.com>
Wed, 18 Feb 2026 10:25:14 +0000 (11:25 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 2 Mar 2026 14:46:28 +0000 (14:46 +0000)
commit2d85ecd6fb0eb2fee0ffa040ec1ddea57b09bc38
tree230f1041fbdc02580826066f265ed7897341f37e
parent23942b71f07cc99e39d9216a5b370df494759d8c
regulator: pf9453: Respect IRQ trigger settings from firmware

The datasheet specifies, that the IRQ_B pin is pulled low when any
unmasked interrupt bit status is changed, and it is released high once
the application processor reads the INT1 register. As it specifies a
level-low behavior, it should not force a falling-edge interrupt.

Remove the IRQF_TRIGGER_FALLING to not force the falling-edge interrupt
and instead rely on the flag from the device tree.

Fixes: 0959b6706325 ("regulator: pf9453: add PMIC PF9453 support")
Cc: stable@vger.kernel.org
Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
Link: https://patch.msgid.link/20260218102518.238943-2-fra.schnyder@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pf9453-regulator.c