1c66ec88fSEmmanuel VadotRenesas Gen3 DWC HDMI TX Encoder 2c66ec88fSEmmanuel Vadot================================ 3c66ec88fSEmmanuel Vadot 4c66ec88fSEmmanuel VadotThe HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP 5c66ec88fSEmmanuel Vadotwith a companion PHY IP. 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel VadotThese DT bindings follow the Synopsys DWC HDMI TX bindings defined in 8c66ec88fSEmmanuel VadotDocumentation/devicetree/bindings/display/bridge/dw_hdmi.txt with the 9c66ec88fSEmmanuel Vadotfollowing device-specific properties. 10c66ec88fSEmmanuel Vadot 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel VadotRequired properties: 13c66ec88fSEmmanuel Vadot 14c66ec88fSEmmanuel Vadot- compatible : Shall contain one or more of 15c66ec88fSEmmanuel Vadot - "renesas,r8a774a1-hdmi" for R8A774A1 (RZ/G2M) compatible HDMI TX 16c66ec88fSEmmanuel Vadot - "renesas,r8a774b1-hdmi" for R8A774B1 (RZ/G2N) compatible HDMI TX 17*6be33864SEmmanuel Vadot - "renesas,r8a774e1-hdmi" for R8A774E1 (RZ/G2H) compatible HDMI TX 18c66ec88fSEmmanuel Vadot - "renesas,r8a7795-hdmi" for R8A7795 (R-Car H3) compatible HDMI TX 19c66ec88fSEmmanuel Vadot - "renesas,r8a7796-hdmi" for R8A7796 (R-Car M3-W) compatible HDMI TX 20*6be33864SEmmanuel Vadot - "renesas,r8a77961-hdmi" for R8A77961 (R-Car M3-W+) compatible HDMI TX 21c66ec88fSEmmanuel Vadot - "renesas,r8a77965-hdmi" for R8A77965 (R-Car M3-N) compatible HDMI TX 22c66ec88fSEmmanuel Vadot - "renesas,rcar-gen3-hdmi" for the generic R-Car Gen3 and RZ/G2 compatible 23c66ec88fSEmmanuel Vadot HDMI TX 24c66ec88fSEmmanuel Vadot 25c66ec88fSEmmanuel Vadot When compatible with generic versions, nodes must list the SoC-specific 26c66ec88fSEmmanuel Vadot version corresponding to the platform first, followed by the 27c66ec88fSEmmanuel Vadot family-specific version. 28c66ec88fSEmmanuel Vadot 29c66ec88fSEmmanuel Vadot- reg: See dw_hdmi.txt. 30c66ec88fSEmmanuel Vadot- interrupts: HDMI interrupt number 31c66ec88fSEmmanuel Vadot- clocks: See dw_hdmi.txt. 32c66ec88fSEmmanuel Vadot- clock-names: Shall contain "iahb" and "isfr" as defined in dw_hdmi.txt. 33c66ec88fSEmmanuel Vadot- ports: See dw_hdmi.txt. The DWC HDMI shall have one port numbered 0 34c66ec88fSEmmanuel Vadot corresponding to the video input of the controller and one port numbered 1 35c66ec88fSEmmanuel Vadot corresponding to its HDMI output, and one port numbered 2 corresponding to 36c66ec88fSEmmanuel Vadot sound input of the controller. Each port shall have a single endpoint. 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel VadotOptional properties: 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadot- power-domains: Shall reference the power domain that contains the DWC HDMI, 41c66ec88fSEmmanuel Vadot if any. 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel Vadot 44c66ec88fSEmmanuel VadotExample: 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadot hdmi0: hdmi@fead0000 { 47*6be33864SEmmanuel Vadot compatible = "renesas,r8a7795-hdmi", "renesas,rcar-gen3-hdmi"; 48c66ec88fSEmmanuel Vadot reg = <0 0xfead0000 0 0x10000>; 49c66ec88fSEmmanuel Vadot interrupts = <0 389 IRQ_TYPE_LEVEL_HIGH>; 50c66ec88fSEmmanuel Vadot clocks = <&cpg CPG_CORE R8A7795_CLK_S0D4>, <&cpg CPG_MOD 729>; 51c66ec88fSEmmanuel Vadot clock-names = "iahb", "isfr"; 52c66ec88fSEmmanuel Vadot power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; 53c66ec88fSEmmanuel Vadot 54c66ec88fSEmmanuel Vadot ports { 55c66ec88fSEmmanuel Vadot #address-cells = <1>; 56c66ec88fSEmmanuel Vadot #size-cells = <0>; 57c66ec88fSEmmanuel Vadot port@0 { 58c66ec88fSEmmanuel Vadot reg = <0>; 59c66ec88fSEmmanuel Vadot dw_hdmi0_in: endpoint { 60c66ec88fSEmmanuel Vadot remote-endpoint = <&du_out_hdmi0>; 61c66ec88fSEmmanuel Vadot }; 62c66ec88fSEmmanuel Vadot }; 63c66ec88fSEmmanuel Vadot port@1 { 64c66ec88fSEmmanuel Vadot reg = <1>; 65c66ec88fSEmmanuel Vadot rcar_dw_hdmi0_out: endpoint { 66c66ec88fSEmmanuel Vadot remote-endpoint = <&hdmi0_con>; 67c66ec88fSEmmanuel Vadot }; 68c66ec88fSEmmanuel Vadot }; 69c66ec88fSEmmanuel Vadot port@2 { 70c66ec88fSEmmanuel Vadot reg = <2>; 71c66ec88fSEmmanuel Vadot rcar_dw_hdmi0_sound_in: endpoint { 72c66ec88fSEmmanuel Vadot remote-endpoint = <&hdmi_sound_out>; 73c66ec88fSEmmanuel Vadot }; 74c66ec88fSEmmanuel Vadot }; 75c66ec88fSEmmanuel Vadot }; 76c66ec88fSEmmanuel Vadot }; 77c66ec88fSEmmanuel Vadot 78c66ec88fSEmmanuel Vadot hdmi0-out { 79c66ec88fSEmmanuel Vadot compatible = "hdmi-connector"; 80c66ec88fSEmmanuel Vadot label = "HDMI0 OUT"; 81c66ec88fSEmmanuel Vadot type = "a"; 82c66ec88fSEmmanuel Vadot 83c66ec88fSEmmanuel Vadot port { 84c66ec88fSEmmanuel Vadot hdmi0_con: endpoint { 85c66ec88fSEmmanuel Vadot remote-endpoint = <&rcar_dw_hdmi0_out>; 86c66ec88fSEmmanuel Vadot }; 87c66ec88fSEmmanuel Vadot }; 88c66ec88fSEmmanuel Vadot }; 89