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 4 5 $id: http://devicetree.org/schemas/display/msm 5 $id: http://devicetree.org/schemas/display/msm/hdmi.yaml# 6 $schema: http://devicetree.org/meta-schemas/co 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 title: Qualcomm Adreno/Snapdragon HDMI output 8 title: Qualcomm Adreno/Snapdragon HDMI output 9 9 10 maintainers: 10 maintainers: 11 - Rob Clark <robdclark@gmail.com> 11 - Rob Clark <robdclark@gmail.com> 12 12 13 properties: 13 properties: 14 compatible: 14 compatible: 15 enum: 15 enum: 16 - qcom,hdmi-tx-8084 16 - qcom,hdmi-tx-8084 17 - qcom,hdmi-tx-8660 17 - qcom,hdmi-tx-8660 18 - qcom,hdmi-tx-8960 18 - qcom,hdmi-tx-8960 19 - qcom,hdmi-tx-8974 19 - qcom,hdmi-tx-8974 20 - qcom,hdmi-tx-8994 20 - qcom,hdmi-tx-8994 21 - qcom,hdmi-tx-8996 21 - qcom,hdmi-tx-8996 22 - qcom,hdmi-tx-8998 22 - qcom,hdmi-tx-8998 23 23 24 clocks: 24 clocks: 25 minItems: 1 25 minItems: 1 26 maxItems: 8 26 maxItems: 8 27 27 28 clock-names: 28 clock-names: 29 minItems: 1 29 minItems: 1 30 maxItems: 8 30 maxItems: 8 31 31 32 reg: 32 reg: 33 minItems: 1 33 minItems: 1 34 maxItems: 3 34 maxItems: 3 35 35 36 reg-names: 36 reg-names: 37 minItems: 1 37 minItems: 1 38 items: 38 items: 39 - const: core_physical 39 - const: core_physical 40 - const: qfprom_physical 40 - const: qfprom_physical 41 - const: hdcp_physical 41 - const: hdcp_physical 42 42 43 interrupts: 43 interrupts: 44 maxItems: 1 44 maxItems: 1 45 45 46 phys: 46 phys: 47 maxItems: 1 47 maxItems: 1 48 48 49 phy-names: 49 phy-names: 50 enum: 50 enum: 51 - hdmi_phy 51 - hdmi_phy 52 - hdmi-phy 52 - hdmi-phy 53 deprecated: true 53 deprecated: true 54 54 55 core-vdda-supply: 55 core-vdda-supply: 56 description: phandle to VDDA supply regula 56 description: phandle to VDDA supply regulator 57 57 58 hdmi-mux-supply: 58 hdmi-mux-supply: 59 description: phandle to mux regulator 59 description: phandle to mux regulator 60 deprecated: true 60 deprecated: true 61 61 62 core-vcc-supply: 62 core-vcc-supply: 63 description: phandle to VCC supply regulat 63 description: phandle to VCC supply regulator 64 64 65 hpd-gpios: 65 hpd-gpios: 66 maxItems: 1 66 maxItems: 1 67 description: hpd pin 67 description: hpd pin 68 68 69 qcom,hdmi-tx-mux-en-gpios: 69 qcom,hdmi-tx-mux-en-gpios: 70 maxItems: 1 70 maxItems: 1 71 deprecated: true 71 deprecated: true 72 description: HDMI mux enable pin 72 description: HDMI mux enable pin 73 73 74 qcom,hdmi-tx-mux-sel-gpios: 74 qcom,hdmi-tx-mux-sel-gpios: 75 maxItems: 1 75 maxItems: 1 76 deprecated: true 76 deprecated: true 77 description: HDMI mux select pin 77 description: HDMI mux select pin 78 78 79 qcom,hdmi-tx-mux-lpm-gpios: 79 qcom,hdmi-tx-mux-lpm-gpios: 80 maxItems: 1 80 maxItems: 1 81 deprecated: true 81 deprecated: true 82 description: HDMI mux lpm pin 82 description: HDMI mux lpm pin 83 83 84 '#sound-dai-cells': 84 '#sound-dai-cells': 85 const: 1 85 const: 1 86 86 87 ports: 87 ports: 88 type: object 88 type: object 89 $ref: /schemas/graph.yaml#/properties/port 89 $ref: /schemas/graph.yaml#/properties/ports 90 properties: 90 properties: 91 port@0: 91 port@0: 92 $ref: /schemas/graph.yaml#/$defs/port- 92 $ref: /schemas/graph.yaml#/$defs/port-base 93 description: | 93 description: | 94 Input endpoints of the controller. 94 Input endpoints of the controller. 95 95 96 port@1: 96 port@1: 97 $ref: /schemas/graph.yaml#/$defs/port- 97 $ref: /schemas/graph.yaml#/$defs/port-base 98 description: | 98 description: | 99 Output endpoints of the controller. 99 Output endpoints of the controller. 100 100 101 required: 101 required: 102 - port@0 102 - port@0 103 103 104 required: 104 required: 105 - compatible 105 - compatible 106 - clocks 106 - clocks 107 - clock-names 107 - clock-names 108 - reg 108 - reg 109 - reg-names 109 - reg-names 110 - interrupts 110 - interrupts 111 - phys 111 - phys 112 112 113 allOf: 113 allOf: 114 - if: 114 - if: 115 properties: 115 properties: 116 compatible: 116 compatible: 117 contains: 117 contains: 118 enum: 118 enum: 119 - qcom,hdmi-tx-8960 119 - qcom,hdmi-tx-8960 120 - qcom,hdmi-tx-8660 120 - qcom,hdmi-tx-8660 121 then: 121 then: 122 properties: 122 properties: 123 clocks: 123 clocks: 124 minItems: 3 124 minItems: 3 125 maxItems: 3 125 maxItems: 3 126 clock-names: 126 clock-names: 127 items: 127 items: 128 - const: core 128 - const: core 129 - const: master_iface 129 - const: master_iface 130 - const: slave_iface 130 - const: slave_iface 131 core-vcc-supplies: false 131 core-vcc-supplies: false 132 132 133 - if: 133 - if: 134 properties: 134 properties: 135 compatible: 135 compatible: 136 contains: 136 contains: 137 enum: 137 enum: 138 - qcom,hdmi-tx-8974 138 - qcom,hdmi-tx-8974 139 - qcom,hdmi-tx-8084 139 - qcom,hdmi-tx-8084 140 - qcom,hdmi-tx-8994 140 - qcom,hdmi-tx-8994 141 - qcom,hdmi-tx-8996 141 - qcom,hdmi-tx-8996 142 then: 142 then: 143 properties: 143 properties: 144 clocks: 144 clocks: 145 minItems: 5 145 minItems: 5 146 maxItems: 5 146 maxItems: 5 147 clock-names: 147 clock-names: 148 items: 148 items: 149 - const: mdp_core 149 - const: mdp_core 150 - const: iface 150 - const: iface 151 - const: core 151 - const: core 152 - const: alt_iface 152 - const: alt_iface 153 - const: extp 153 - const: extp 154 hdmi-mux-supplies: false 154 hdmi-mux-supplies: false 155 155 156 - if: 156 - if: 157 properties: 157 properties: 158 compatible: 158 compatible: 159 contains: 159 contains: 160 enum: 160 enum: 161 - qcom,hdmi-tx-8998 161 - qcom,hdmi-tx-8998 162 then: 162 then: 163 properties: 163 properties: 164 clocks: 164 clocks: 165 minItems: 8 165 minItems: 8 166 maxItems: 8 166 maxItems: 8 167 clock-names: 167 clock-names: 168 items: 168 items: 169 - const: mdp_core 169 - const: mdp_core 170 - const: iface 170 - const: iface 171 - const: core 171 - const: core 172 - const: alt_iface 172 - const: alt_iface 173 - const: extp 173 - const: extp 174 - const: bus 174 - const: bus 175 - const: mnoc 175 - const: mnoc 176 - const: iface_mmss 176 - const: iface_mmss 177 177 178 additionalProperties: false 178 additionalProperties: false 179 179 180 examples: 180 examples: 181 - | 181 - | 182 #include <dt-bindings/gpio/gpio.h> 182 #include <dt-bindings/gpio/gpio.h> 183 #include <dt-bindings/interrupt-controller 183 #include <dt-bindings/interrupt-controller/irq.h> 184 #include <dt-bindings/interrupt-controller 184 #include <dt-bindings/interrupt-controller/arm-gic.h> 185 hdmi: hdmi@4a00000 { 185 hdmi: hdmi@4a00000 { 186 compatible = "qcom,hdmi-tx-8960"; 186 compatible = "qcom,hdmi-tx-8960"; 187 reg-names = "core_physical"; 187 reg-names = "core_physical"; 188 reg = <0x04a00000 0x2f0>; 188 reg = <0x04a00000 0x2f0>; 189 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_ 189 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 190 clock-names = "core", 190 clock-names = "core", 191 "master_iface", 191 "master_iface", 192 "slave_iface"; 192 "slave_iface"; 193 clocks = <&clk 61>, 193 clocks = <&clk 61>, 194 <&clk 72>, 194 <&clk 72>, 195 <&clk 98>; 195 <&clk 98>; 196 hpd-gpios = <&msmgpio 72 GPIO_ACTIVE_HIG 196 hpd-gpios = <&msmgpio 72 GPIO_ACTIVE_HIGH>; 197 core-vdda-supply = <&pm8921_hdmi_mvs>; 197 core-vdda-supply = <&pm8921_hdmi_mvs>; 198 hdmi-mux-supply = <&ext_3p3v>; 198 hdmi-mux-supply = <&ext_3p3v>; 199 pinctrl-names = "default", "sleep"; 199 pinctrl-names = "default", "sleep"; 200 pinctrl-0 = <&hpd_active &ddc_active & 200 pinctrl-0 = <&hpd_active &ddc_active &cec_active>; 201 pinctrl-1 = <&hpd_suspend &ddc_suspend & 201 pinctrl-1 = <&hpd_suspend &ddc_suspend &cec_suspend>; 202 202 203 phys = <&hdmi_phy>; 203 phys = <&hdmi_phy>; 204 }; 204 }; 205 - | 205 - | 206 #include <dt-bindings/clock/qcom,gcc-msm89 206 #include <dt-bindings/clock/qcom,gcc-msm8996.h> 207 #include <dt-bindings/clock/qcom,mmcc-msm8 207 #include <dt-bindings/clock/qcom,mmcc-msm8996.h> 208 #include <dt-bindings/gpio/gpio.h> 208 #include <dt-bindings/gpio/gpio.h> 209 #include <dt-bindings/interrupt-controller 209 #include <dt-bindings/interrupt-controller/irq.h> 210 #include <dt-bindings/interrupt-controller 210 #include <dt-bindings/interrupt-controller/arm-gic.h> 211 hdmi@9a0000 { 211 hdmi@9a0000 { 212 compatible = "qcom,hdmi-tx-8996"; 212 compatible = "qcom,hdmi-tx-8996"; 213 reg = <0x009a0000 0x50c>, 213 reg = <0x009a0000 0x50c>, 214 <0x00070000 0x6158>, 214 <0x00070000 0x6158>, 215 <0x009e0000 0xfff>; 215 <0x009e0000 0xfff>; 216 reg-names = "core_physical", 216 reg-names = "core_physical", 217 "qfprom_physical", 217 "qfprom_physical", 218 "hdcp_physical"; 218 "hdcp_physical"; 219 219 220 interrupt-parent = <&mdss>; 220 interrupt-parent = <&mdss>; 221 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; 221 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; 222 222 223 clocks = <&mmcc MDSS_MDP_CLK>, 223 clocks = <&mmcc MDSS_MDP_CLK>, 224 <&mmcc MDSS_AHB_CLK>, 224 <&mmcc MDSS_AHB_CLK>, 225 <&mmcc MDSS_HDMI_CLK>, 225 <&mmcc MDSS_HDMI_CLK>, 226 <&mmcc MDSS_HDMI_AHB_CLK>, 226 <&mmcc MDSS_HDMI_AHB_CLK>, 227 <&mmcc MDSS_EXTPCLK_CLK>; 227 <&mmcc MDSS_EXTPCLK_CLK>; 228 clock-names = "mdp_core", 228 clock-names = "mdp_core", 229 "iface", 229 "iface", 230 "core", 230 "core", 231 "alt_iface", 231 "alt_iface", 232 "extp"; 232 "extp"; 233 233 234 phys = <&hdmi_phy>; 234 phys = <&hdmi_phy>; 235 #sound-dai-cells = <1>; 235 #sound-dai-cells = <1>; 236 236 237 pinctrl-names = "default", "sleep"; 237 pinctrl-names = "default", "sleep"; 238 pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_ 238 pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_active>; 239 pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc 239 pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc_suspend>; 240 240 241 core-vdda-supply = <&vreg_l12a_1p8>; 241 core-vdda-supply = <&vreg_l12a_1p8>; 242 core-vcc-supply = <&vreg_s4a_1p8>; 242 core-vcc-supply = <&vreg_s4a_1p8>; 243 243 244 ports { 244 ports { 245 #address-cells = <1>; 245 #address-cells = <1>; 246 #size-cells = <0>; 246 #size-cells = <0>; 247 247 248 port@0 { 248 port@0 { 249 reg = <0>; 249 reg = <0>; 250 endpoint { 250 endpoint { 251 remote-endpoint = <&mdp5_intf3_out 251 remote-endpoint = <&mdp5_intf3_out>; 252 }; 252 }; 253 }; 253 }; 254 }; 254 }; 255 }; 255 }; 256 ... 256 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.