]> git.ipfire.org Git - thirdparty/linux.git/commit
mfd: bd96801: Add ERRB IRQ
authorMatti Vaittinen <mazziesaccount@gmail.com>
Thu, 3 Oct 2024 05:34:38 +0000 (08:34 +0300)
committerLee Jones <lee@kernel.org>
Wed, 16 Oct 2024 08:04:11 +0000 (09:04 +0100)
commit894d915d23b90629356a7c18d92f31358b2f92f8
tree23024401ec5bffc6d6d8022ae08e9de7d5aee47c
parent337dd40b3bac67acfd74e4d8b2d9d4886e0d0aeb
mfd: bd96801: Add ERRB IRQ

The ROHM BD96801 "scalable PMIC" provides two physical IRQs. The ERRB
handling can in many cases be omitted because it is used to inform fatal
IRQs, which usually kill the power from the SOC.

There may however be use-cases where the SOC has a 'back-up' emergency
power source which allows some very short time of operation to try to
gracefully shut down sensitive hardware. Furthermore, it is possible the
processor controlling the PMIC is not powered by the PMIC. In such cases
handling the ERRB IRQs may be beneficial.

Add support for ERRB IRQs.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/dda4464443fba81f79d5f8d73947dbd63083cff2.1727931468.git.mazziesaccount@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/rohm-bd96801.c