renesas,dw-hdmi.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Renesas Gen3 DWC HDMI TX Encoder
  2. ================================
  3. The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP
  4. with a companion PHY IP.
  5. These DT bindings follow the Synopsys DWC HDMI TX bindings defined in
  6. Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt with the
  7. following device-specific properties.
  8. Required properties:
  9. - compatible : Shall contain one or more of
  10. - "renesas,r8a7795-hdmi" for R8A7795 (R-Car H3) compatible HDMI TX
  11. - "renesas,r8a7796-hdmi" for R8A7796 (R-Car M3-W) compatible HDMI TX
  12. - "renesas,r8a77965-hdmi" for R8A77965 (R-Car M3-N) compatible HDMI TX
  13. - "renesas,rcar-gen3-hdmi" for the generic R-Car Gen3 compatible HDMI TX
  14. When compatible with generic versions, nodes must list the SoC-specific
  15. version corresponding to the platform first, followed by the
  16. family-specific version.
  17. - reg: See dw_hdmi.txt.
  18. - interrupts: HDMI interrupt number
  19. - clocks: See dw_hdmi.txt.
  20. - clock-names: Shall contain "iahb" and "isfr" as defined in dw_hdmi.txt.
  21. - ports: See dw_hdmi.txt. The DWC HDMI shall have one port numbered 0
  22. corresponding to the video input of the controller and one port numbered 1
  23. corresponding to its HDMI output, and one port numbered 2 corresponding to
  24. sound input of the controller. Each port shall have a single endpoint.
  25. Optional properties:
  26. - power-domains: Shall reference the power domain that contains the DWC HDMI,
  27. if any.
  28. Example:
  29. hdmi0: hdmi@fead0000 {
  30. compatible = "renesas,r8a7795-dw-hdmi";
  31. reg = <0 0xfead0000 0 0x10000>;
  32. interrupts = <0 389 IRQ_TYPE_LEVEL_HIGH>;
  33. clocks = <&cpg CPG_CORE R8A7795_CLK_S0D4>, <&cpg CPG_MOD 729>;
  34. clock-names = "iahb", "isfr";
  35. power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
  36. ports {
  37. #address-cells = <1>;
  38. #size-cells = <0>;
  39. port@0 {
  40. reg = <0>;
  41. dw_hdmi0_in: endpoint {
  42. remote-endpoint = <&du_out_hdmi0>;
  43. };
  44. };
  45. port@1 {
  46. reg = <1>;
  47. rcar_dw_hdmi0_out: endpoint {
  48. remote-endpoint = <&hdmi0_con>;
  49. };
  50. };
  51. port@2 {
  52. reg = <2>;
  53. rcar_dw_hdmi0_sound_in: endpoint {
  54. remote-endpoint = <&hdmi_sound_out>;
  55. };
  56. };
  57. };
  58. };
  59. hdmi0-out {
  60. compatible = "hdmi-connector";
  61. label = "HDMI0 OUT";
  62. type = "a";
  63. port {
  64. hdmi0_con: endpoint {
  65. remote-endpoint = <&rcar_dw_hdmi0_out>;
  66. };
  67. };
  68. };