Message ID | 20230125-tfp410_i2c-v2-1-bf22f4dcbcea@criticallink.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/bridge: tfp410: Add i2c support | expand |
On 26/01/2023 23:40, Jonathan Cormier wrote: > Add a i2c example with HDMI connector > > Signed-off-by: Jonathan Cormier <jcormier@criticallink.com> > --- > .../bindings/display/bridge/ti,tfp410.yaml | 30 ++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml b/Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml > index 4c5dd8ec2951..1f3d29259f22 100644 > --- a/Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml > @@ -116,4 +116,34 @@ examples: > }; > }; > > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + tfp410_i2c: encoder@38 { > + compatible = "ti,tfp410"; > + reg = <0x38>; This differs only by two properties, I don't think it's beneficial to add it. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml b/Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml index 4c5dd8ec2951..1f3d29259f22 100644 --- a/Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml +++ b/Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml @@ -116,4 +116,34 @@ examples: }; }; + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + tfp410_i2c: encoder@38 { + compatible = "ti,tfp410"; + reg = <0x38>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + tfp410_in_1: endpoint { + remote-endpoint = <&dpi1_out>; + }; + }; + + port@1 { + reg = <1>; + tfp410_out_1: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; + }; + }; + ...
Add a i2c example with HDMI connector Signed-off-by: Jonathan Cormier <jcormier@criticallink.com> --- .../bindings/display/bridge/ti,tfp410.yaml | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+)