Re: [RFC PATCH v1 0/2] Introduce dummy regulator consumer

From: Mark Brown
Date: Sun Jun 08 2025 - 18:33:29 EST


On Sat, Jun 07, 2025 at 11:25:37PM +0200, Aleksandrs Vinarskis wrote:

> There are two main reasons for this driver:
> 1. Create a pseudo-consumer in place of real devices which are not or
> cannot be described in the device-tree. Examples would be integrated
> USB UVC camera (present on some arm64 laptops) or dedicated keyboard
> backlight regulator (hypothetical). Instead of leaving regulator
> without consumer and `regulator-always-on` property, one could bind
> to dummy consumer to save some power during suspend.

Those examples both seem like physical things that exist and can have DT
bindings written for them, why not do that?

> 2. A great development tool.

That's what the userspace consumer is there for...

Attachment: signature.asc
Description: PGP signature