1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/bri 4 $id: http://devicetree.org/schemas/display/bridge/renesas,dw-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Renesas R-Car DWC HDMI TX Encoder 7 title: Renesas R-Car DWC HDMI TX Encoder 8 8 9 maintainers: 9 maintainers: 10 - Laurent Pinchart <laurent.pinchart+renesas@ 10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 11 11 12 description: | 12 description: | 13 The HDMI transmitter is a Synopsys DesignWar 13 The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP 14 with a companion PHY IP. 14 with a companion PHY IP. 15 15 16 allOf: 16 allOf: 17 - $ref: synopsys,dw-hdmi.yaml# 17 - $ref: synopsys,dw-hdmi.yaml# 18 18 19 properties: 19 properties: 20 compatible: 20 compatible: 21 items: 21 items: 22 - enum: 22 - enum: 23 - renesas,r8a774a1-hdmi # for RZ/G2M 23 - renesas,r8a774a1-hdmi # for RZ/G2M compatible HDMI TX 24 - renesas,r8a774b1-hdmi # for RZ/G2N 24 - renesas,r8a774b1-hdmi # for RZ/G2N compatible HDMI TX 25 - renesas,r8a774e1-hdmi # for RZ/G2H 25 - renesas,r8a774e1-hdmi # for RZ/G2H compatible HDMI TX 26 - renesas,r8a7795-hdmi # for R-Car H 26 - renesas,r8a7795-hdmi # for R-Car H3 compatible HDMI TX 27 - renesas,r8a7796-hdmi # for R-Car M 27 - renesas,r8a7796-hdmi # for R-Car M3-W compatible HDMI TX 28 - renesas,r8a77961-hdmi # for R-Car 28 - renesas,r8a77961-hdmi # for R-Car M3-W+ compatible HDMI TX 29 - renesas,r8a77965-hdmi # for R-Car 29 - renesas,r8a77965-hdmi # for R-Car M3-N compatible HDMI TX 30 - const: renesas,rcar-gen3-hdmi 30 - const: renesas,rcar-gen3-hdmi 31 31 32 reg-io-width: 32 reg-io-width: 33 const: 1 33 const: 1 34 34 35 clocks: 35 clocks: 36 maxItems: 2 36 maxItems: 2 37 37 38 clock-names: 38 clock-names: 39 maxItems: 2 39 maxItems: 2 40 40 41 resets: 41 resets: 42 maxItems: 1 42 maxItems: 1 43 43 44 ports: 44 ports: 45 $ref: /schemas/graph.yaml#/properties/port 45 $ref: /schemas/graph.yaml#/properties/ports 46 46 47 properties: 47 properties: 48 port@0: 48 port@0: 49 $ref: /schemas/graph.yaml#/properties/ 49 $ref: /schemas/graph.yaml#/properties/port 50 description: Parallel RGB input port 50 description: Parallel RGB input port 51 51 52 port@1: 52 port@1: 53 $ref: /schemas/graph.yaml#/properties/ 53 $ref: /schemas/graph.yaml#/properties/port 54 description: HDMI output port 54 description: HDMI output port 55 55 56 port@2: 56 port@2: 57 $ref: /schemas/graph.yaml#/properties/ 57 $ref: /schemas/graph.yaml#/properties/port 58 description: Sound input port 58 description: Sound input port 59 59 60 required: 60 required: 61 - port@0 61 - port@0 62 - port@1 62 - port@1 63 - port@2 63 - port@2 64 64 65 power-domains: 65 power-domains: 66 maxItems: 1 66 maxItems: 1 67 67 68 required: 68 required: 69 - compatible 69 - compatible 70 - reg 70 - reg 71 - clocks 71 - clocks 72 - clock-names 72 - clock-names 73 - resets 73 - resets 74 - interrupts 74 - interrupts 75 - ports 75 - ports 76 76 77 unevaluatedProperties: false 77 unevaluatedProperties: false 78 78 79 examples: 79 examples: 80 - | 80 - | 81 #include <dt-bindings/clock/r8a7795-cpg-ms 81 #include <dt-bindings/clock/r8a7795-cpg-mssr.h> 82 #include <dt-bindings/interrupt-controller 82 #include <dt-bindings/interrupt-controller/irq.h> 83 #include <dt-bindings/power/r8a7795-sysc.h 83 #include <dt-bindings/power/r8a7795-sysc.h> 84 84 85 hdmi@fead0000 { 85 hdmi@fead0000 { 86 compatible = "renesas,r8a7795-hdmi", " 86 compatible = "renesas,r8a7795-hdmi", "renesas,rcar-gen3-hdmi"; 87 reg = <0xfead0000 0x10000>; 87 reg = <0xfead0000 0x10000>; 88 interrupts = <0 389 IRQ_TYPE_LEVEL_HIG 88 interrupts = <0 389 IRQ_TYPE_LEVEL_HIGH>; 89 clocks = <&cpg CPG_CORE R8A7795_CLK_S0 89 clocks = <&cpg CPG_CORE R8A7795_CLK_S0D4>, <&cpg CPG_MOD 729>; 90 clock-names = "iahb", "isfr"; 90 clock-names = "iahb", "isfr"; 91 power-domains = <&sysc R8A7795_PD_ALWA 91 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; 92 resets = <&cpg 729>; 92 resets = <&cpg 729>; 93 93 94 ports { 94 ports { 95 #address-cells = <1>; 95 #address-cells = <1>; 96 #size-cells = <0>; 96 #size-cells = <0>; 97 port@0 { 97 port@0 { 98 reg = <0>; 98 reg = <0>; 99 dw_hdmi0_in: endpoint { 99 dw_hdmi0_in: endpoint { 100 remote-endpoint = <&du_out 100 remote-endpoint = <&du_out_hdmi0>; 101 }; 101 }; 102 }; 102 }; 103 port@1 { 103 port@1 { 104 reg = <1>; 104 reg = <1>; 105 rcar_dw_hdmi0_out: endpoint { 105 rcar_dw_hdmi0_out: endpoint { 106 remote-endpoint = <&hdmi0_ 106 remote-endpoint = <&hdmi0_con>; 107 }; 107 }; 108 }; 108 }; 109 port@2 { 109 port@2 { 110 reg = <2>; 110 reg = <2>; 111 rcar_dw_hdmi0_sound_in: endpoi 111 rcar_dw_hdmi0_sound_in: endpoint { 112 remote-endpoint = <&hdmi_s 112 remote-endpoint = <&hdmi_sound_out>; 113 }; 113 }; 114 }; 114 }; 115 }; 115 }; 116 }; 116 }; 117 117 118 hdmi0-out { 118 hdmi0-out { 119 compatible = "hdmi-connector"; 119 compatible = "hdmi-connector"; 120 label = "HDMI0 OUT"; 120 label = "HDMI0 OUT"; 121 type = "a"; 121 type = "a"; 122 122 123 port { 123 port { 124 hdmi0_con: endpoint { 124 hdmi0_con: endpoint { 125 remote-endpoint = <&rcar_dw_hd 125 remote-endpoint = <&rcar_dw_hdmi0_out>; 126 }; 126 }; 127 }; 127 }; 128 }; 128 }; 129 129 130 ... 130 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.