Re: [PATCH net-next 11/12] net: pse-pd: Add support for event reporting using devm_regulator_irq_helper
From: Andrew Lunn
Date: Wed Oct 02 2024 - 20:02:43 EST
On Wed, Oct 02, 2024 at 06:28:07PM +0200, Kory Maincent wrote:
> From: Kory Maincent (Dent Project) <kory.maincent@xxxxxxxxxxx>
>
> Add support for devm_pse_irq_helper(), a wrapper for
> devm_regulator_irq_helper(). This aims to report events such as
> over-current or over-temperature conditions similarly to how the regulator
> API handles them. Additionally, this patch introduces several define
> wrappers to keep regulator naming conventions out of PSE drivers.
I'm missing something here, i think.
https://docs.kernel.org/power/regulator/consumer.html#regulator-events
Suggests these are internal events, using a notification chain. How
does user space get to know about such events?
Andrew