[PATCH v3 1/2] dt-bindings: drm/bridge: adv7511: Add regulator bindings

Mark Brown broonie at kernel.org
Tue Dec 6 10:05:17 UTC 2016


On Mon, Dec 05, 2016 at 11:16:22PM +0200, Laurent Pinchart wrote:
> On Monday 05 Dec 2016 13:11:51 Bjorn Andersson wrote:

> > Further more, a DT binding for a particular block should describe that
> > block; so if we have three different 1.8V pins then the DT binding
> > should reflect this - even if our current platform have them wired to
> > the same regulator.

> This has been discussed previously, and Rob agreed that if the datasheet 
> recommends to power all supplies from the same regulator we can take that as a 
> good hint that a single supply should be enough. In the very unlikely event 
> that a board would require control of more regulators we can always extend the 
> DT bindings later without breaking backward compatibility.

No, don't do this - introducing special snowflake bindings just makes
things more complex at the system level and tells everyone else that
they too can have special snowflake bindings.  Someone should be able to
connect up the regulators based purely on a schematic.  Just describe
the hardware, it's just one extra line in the DT per regulator.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161206/7cb9663f/attachment.sig>


More information about the dri-devel mailing list