[PATCH 2/6] dt-bindings: regulator: Add reg-external-output binding
Mark Brown
broonie at kernel.org
Wed May 4 22:55:53 AEST 2022
On Tue, May 03, 2022 at 11:52:48PM -0700, Zev Weiss wrote:
> This describes an external output supplied by a regulator, such as a
> power outlet on a power distribution unit (PDU).
OK, so this is that represnetation of the connection - which raises the
question about why the regulator needs a property?
> +description: |
> + This describes an external output supplied by a regulator, such as
> + a power outlet on a power distribution unit (PDU).
> +
> +properties:
> + compatible:
> + const: reg-external-output
> +
> + vout-supply:
> + description:
> + Phandle of the regulator supplying the output, which should have
> + the regulator-external-output property.
> +
> +required:
I think at a minimum anything like this would need some sort of
representation of how the output physically appears so that people can
work out how outputs are mapped to the hardware they see. However we
already have a subsystem for external connectors - extcon. Perhaps this
should be a regulator client in the extcon API? It's common for
connectors to include some sort of power provision so it seems like this
would fit right in.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220504/fac9ce90/attachment.sig>
More information about the openbmc
mailing list