[PATCH v2 1/4] dt-bindings: display: bridge: tfp410: Add tfp410 i2c example

Jonathan Cormier jcormier at criticallink.com
Thu Jan 26 22:40:42 UTC 2023


Add a i2c example with HDMI connector

Signed-off-by: Jonathan Cormier <jcormier at 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 at 38 {
+            compatible = "ti,tfp410";
+            reg = <0x38>;
+
+            ports {
+                #address-cells = <1>;
+                #size-cells = <0>;
+
+                port at 0 {
+                    reg = <0>;
+                    tfp410_in_1: endpoint {
+                        remote-endpoint = <&dpi1_out>;
+                    };
+                };
+
+                port at 1 {
+                    reg = <1>;
+                    tfp410_out_1: endpoint {
+                        remote-endpoint = <&hdmi_connector_in>;
+                    };
+                };
+            };
+        };
+    };
+
 ...

-- 
2.25.1



More information about the dri-devel mailing list