Merge remote-tracking branches 'regulator/fix/88pm800', 'regulator/fix/max8973',...
[linux-drm-fsl-dcu.git] / Documentation / devicetree / bindings / drm / msm / hdmi.txt
1 Qualcomm adreno/snapdragon hdmi output
2
3 Required properties:
4 - compatible: one of the following
5    * "qcom,hdmi-tx-8084"
6    * "qcom,hdmi-tx-8074"
7    * "qcom,hdmi-tx-8660"
8    * "qcom,hdmi-tx-8960"
9 - reg: Physical base address and length of the controller's registers
10 - reg-names: "core_physical"
11 - interrupts: The interrupt signal from the hdmi block.
12 - clocks: device clocks
13   See ../clocks/clock-bindings.txt for details.
14 - qcom,hdmi-tx-ddc-clk-gpio: ddc clk pin
15 - qcom,hdmi-tx-ddc-data-gpio: ddc data pin
16 - qcom,hdmi-tx-hpd-gpio: hpd pin
17 - core-vdda-supply: phandle to supply regulator
18 - hdmi-mux-supply: phandle to mux regulator
19
20 Optional properties:
21 - qcom,hdmi-tx-mux-en-gpio: hdmi mux enable pin
22 - qcom,hdmi-tx-mux-sel-gpio: hdmi mux select pin
23 - pinctrl-names: the pin control state names; should contain "default"
24 - pinctrl-0: the default pinctrl state (active)
25 - pinctrl-1: the "sleep" pinctrl state
26
27 Example:
28
29 / {
30         ...
31
32         hdmi: qcom,hdmi-tx-8960@4a00000 {
33                 compatible = "qcom,hdmi-tx-8960";
34                 reg-names = "core_physical";
35                 reg = <0x04a00000 0x1000>;
36                 interrupts = <GIC_SPI 79 0>;
37                 clock-names =
38                     "core_clk",
39                     "master_iface_clk",
40                     "slave_iface_clk";
41                 clocks =
42                     <&mmcc HDMI_APP_CLK>,
43                     <&mmcc HDMI_M_AHB_CLK>,
44                     <&mmcc HDMI_S_AHB_CLK>;
45                 qcom,hdmi-tx-ddc-clk = <&msmgpio 70 GPIO_ACTIVE_HIGH>;
46                 qcom,hdmi-tx-ddc-data = <&msmgpio 71 GPIO_ACTIVE_HIGH>;
47                 qcom,hdmi-tx-hpd = <&msmgpio 72 GPIO_ACTIVE_HIGH>;
48                 core-vdda-supply = <&pm8921_hdmi_mvs>;
49                 hdmi-mux-supply = <&ext_3p3v>;
50                 pinctrl-names = "default", "sleep";
51                 pinctrl-0 = <&hpd_active  &ddc_active  &cec_active>;
52                 pinctrl-1 = <&hpd_suspend &ddc_suspend &cec_suspend>;
53         };
54 };