renesas,lvds.txt 1.7 KB

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