[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADL8D3YggahBhipLVO1_E+0+N8bQgzfwkwPUkFm3MxD_F-m-nQ@mail.gmail.com>
Date: Wed, 25 Jan 2023 16:59:41 -0500
From: Jon Cormier <jcormier@...ticallink.com>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc: Andrzej Hajda <andrzej.hajda@...el.com>,
Neil Armstrong <neil.armstrong@...aro.org>,
Robert Foss <robert.foss@...aro.org>,
Jonas Karlman <jonas@...boo.se>,
Jernej Skrabec <jernej.skrabec@...il.com>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Tomi Valkeinen <tomi.valkeinen@...com>,
Jyri Sarha <jsarha@...com>, dri-devel@...ts.freedesktop.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Michael Williamson <michael.williamson@...ticallink.com>,
Bob Duke <bduke@...ticallink.com>
Subject: Re: [PATCH 1/4] dt-bindings: display: bridge: tfp410: Add tfp410 i2c example
On Wed, Jan 25, 2023 at 4:24 PM Laurent Pinchart
<laurent.pinchart@...asonboard.com> wrote:
>
> Hi Jonathan,
>
> Thank you for the patch.
>
> On Wed, Jan 25, 2023 at 04:09:09PM -0500, Jonathan Cormier wrote:
> > Add a i2c example with HDMI connector
> >
> > Signed-off-by: Jonathan Cormier <jcormier@...ticallink.com>
> > ---
> > .../bindings/display/bridge/ti,tfp410.yaml | 42 ++++++++++++++++++++++
> > 1 file changed, 42 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml b/Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml
> > index 4c5dd8ec2951..456214f14b47 100644
> > --- a/Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml
> > +++ b/Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml
> > @@ -116,4 +116,46 @@ examples:
> > };
> > };
> >
> > + - |
> > + i2c {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
>
> Please use 4 spaces for indentation, as in the other example.
Will do, the whole file is 2 space indents. I didn't notice the
examples switch to 4 spaces.
>
> > +
> > + hdmi_encoder: tfp410@38 {
> > + compatible = "ti,tfp410";
> > + reg = <0x38>;
> > +
> > + ports {
> > + address-cells = <1>;
> > + size-cells = <0>;
> > +
> > + port@0 {
> > + reg = <0>;
> > + tfp410_in: endpoint {
> > + remote-endpoint = <&dpi1_out>;
> > + };
> > + };
> > +
> > + port@1 {
> > + reg = <1>;
> > + tfp410_out: endpoint {
> > + remote-endpoint = <&hdmi_connector_in>;
> > + };
> > + };
> > + };
> > + };
> > + };
> > +
> > + hdmi: hdmi_connector {
> > + compatible = "hdmi-connector";
> > + label = "hdmi";
> > + type = "a";
> > + ddc-i2c-bus = <&i2c1>;
> > + port {
> > + hdmi_connector_in: endpoint {
> > + remote-endpoint = <&tfp410_out>;
> > + };
> > + };
> > + };
> > +
>
> You can drop the hdmi connector, the example will still validate.
Okay
>
> > ...
>
> --
> Regards,
>
> Laurent Pinchart
--
Jonathan Cormier
Software Engineer
Voice: 315.425.4045 x222
http://www.CriticalLink.com
6712 Brooklawn Parkway, Syracuse, NY 13211
Powered by blists - more mailing lists