Re: short-circuit and over-current IRQs

From: Mark Brown
Date: Wed Jan 27 2021 - 07:34:28 EST


On Wed, Jan 27, 2021 at 12:01:55PM +0000, Vaittinen, Matti wrote:

> Anyways - I was wondering if this is common thing amongst many PMICs?
> If yes - then, perhaps some generally useful regulator helper could be
> added to help implementing the IRQ disabling + scheduling worker to
> check status and re-enable IRQs? I think it *might* save some time in
> the future - and help making same mistakes many times :]

If we've got two that's enough for a helper. TBH I'm a bit surprised
that people are implementing hardware that leaves the outputs enabled
when it detects this sort of error, it's something that's usually an
emergency that needs shutting off quickly to prevent hardware damage.

Attachment: signature.asc
Description: PGP signature