On Fri, Feb 18, 2022 at 12:06:03PM +0100, Vincent Whitchurch wrote: > The reg-virt-consumer is very useful for development and testing of > regulator drivers since it allows voltages and modes to be set from > userspace. However, it currently requires platform data so it cannot be > used on modern platforms. Add support for probing it from the > devicetree to remedy this. Meh, you can add a bit of code on module_init() to register a platform device or something. > Since this driver is only meant for testing and is a purely software > construct, no binding documentation is added. That's not going to stop anyone. We should at the very least be printing very loud warnings if anyone tries to intantiate this. > + if (!reg_id) > + reg_id = "default"; > + Oh?
Attachment:
signature.asc
Description: PGP signature