Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | TPD12S015 HDMI level shifter and ESD protection chip |
| 2 | ==================================================== |
| 3 | |
| 4 | Required properties: |
| 5 | - compatible: "ti,tpd12s015" |
| 6 | |
| 7 | Optional properties: |
| 8 | - gpios: CT CP HPD, LS OE and HPD gpios |
| 9 | |
| 10 | Required nodes: |
| 11 | - Video port 0 for HDMI input |
| 12 | - Video port 1 for HDMI output |
| 13 | |
| 14 | Example |
| 15 | ------- |
| 16 | |
| 17 | tpd12s015: encoder@1 { |
| 18 | compatible = "ti,tpd12s015"; |
| 19 | |
| 20 | gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>, /* 60, CT CP HPD */ |
| 21 | <&gpio2 9 GPIO_ACTIVE_HIGH>, /* 41, LS OE */ |
| 22 | <&gpio2 31 GPIO_ACTIVE_HIGH>; /* 63, HPD */ |
| 23 | |
| 24 | ports { |
| 25 | #address-cells = <1>; |
| 26 | #size-cells = <0>; |
| 27 | |
| 28 | port@0 { |
| 29 | reg = <0>; |
| 30 | |
| 31 | tpd12s015_in: endpoint@0 { |
| 32 | remote-endpoint = <&hdmi_out>; |
| 33 | }; |
| 34 | }; |
| 35 | |
| 36 | port@1 { |
| 37 | reg = <1>; |
| 38 | |
| 39 | tpd12s015_out: endpoint@0 { |
| 40 | remote-endpoint = <&hdmi_connector_in>; |
| 41 | }; |
| 42 | }; |
| 43 | }; |
| 44 | }; |