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

Mark Brown
2025-06-08T22:33:19Z

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]