|
| 1 | +Renesas R-Car LVDS Encoder |
| 2 | +========================== |
| 3 | + |
| 4 | +These DT bindings describe the LVDS encoder embedded in the Renesas R-Car |
| 5 | +Gen2, R-Car Gen3 and RZ/G SoCs. |
| 6 | + |
| 7 | +Required properties: |
| 8 | + |
| 9 | +- compatible : Shall contain one of |
| 10 | + - "renesas,r8a7743-lvds" for R8A7743 (RZ/G1M) compatible LVDS encoders |
| 11 | + - "renesas,r8a7790-lvds" for R8A7790 (R-Car H2) compatible LVDS encoders |
| 12 | + - "renesas,r8a7791-lvds" for R8A7791 (R-Car M2-W) compatible LVDS encoders |
| 13 | + - "renesas,r8a7793-lvds" for R8A7793 (R-Car M2-N) compatible LVDS encoders |
| 14 | + - "renesas,r8a7795-lvds" for R8A7795 (R-Car H3) compatible LVDS encoders |
| 15 | + - "renesas,r8a7796-lvds" for R8A7796 (R-Car M3-W) compatible LVDS encoders |
| 16 | + |
| 17 | +- reg: Base address and length for the memory-mapped registers |
| 18 | +- clocks: A phandle + clock-specifier pair for the functional clock |
| 19 | +- resets: A phandle + reset specifier for the module reset |
| 20 | + |
| 21 | +Required nodes: |
| 22 | + |
| 23 | +The LVDS encoder has two video ports. Their connections are modelled using the |
| 24 | +OF graph bindings specified in Documentation/devicetree/bindings/graph.txt. |
| 25 | + |
| 26 | +- Video port 0 corresponds to the parallel RGB input |
| 27 | +- Video port 1 corresponds to the LVDS output |
| 28 | + |
| 29 | +Each port shall have a single endpoint. |
| 30 | + |
| 31 | + |
| 32 | +Example: |
| 33 | + |
| 34 | + lvds0: lvds@feb90000 { |
| 35 | + compatible = "renesas,r8a7790-lvds"; |
| 36 | + reg = <0 0xfeb90000 0 0x1c>; |
| 37 | + clocks = <&cpg CPG_MOD 726>; |
| 38 | + resets = <&cpg 726>; |
| 39 | + |
| 40 | + ports { |
| 41 | + #address-cells = <1>; |
| 42 | + #size-cells = <0>; |
| 43 | + |
| 44 | + port@0 { |
| 45 | + reg = <0>; |
| 46 | + lvds0_in: endpoint { |
| 47 | + remote-endpoint = <&du_out_lvds0>; |
| 48 | + }; |
| 49 | + }; |
| 50 | + port@1 { |
| 51 | + reg = <1>; |
| 52 | + lvds0_out: endpoint { |
| 53 | + }; |
| 54 | + }; |
| 55 | + }; |
| 56 | + }; |
0 commit comments