msm-hdmi-tx.txt 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. * Qualcomm HDMI Tx
  2. Required properties:
  3. - cell-index: hdmi tx controller index
  4. - compatible: must be "qcom,hdmi-tx"
  5. - reg: offset and length of the register regions(s) for the device.
  6. - reg-names: a list of strings that map in order to the list of regs.
  7. - hpd-gdsc-supply: phandle to the mdss gdsc regulator device tree node.
  8. - hpd-5v-supply: phandle to the 5V regulator device tree node.
  9. - core-vdda-supply: phandle to the HDMI vdda regulator device tree node.
  10. - core-vcc-supply: phandle to the HDMI vcc regulator device tree node.
  11. - qcom,hdmi-tx-supply-names: a list of strings that map in order
  12. to the list of supplies.
  13. - qcom,hdmi-tx-min-voltage-level: specifies minimum voltage level
  14. of supply(ies) mentioned above.
  15. - qcom,hdmi-tx-max-voltage-level: specifies maximum voltage level
  16. of supply(ies) mentioned above.
  17. - qcom,hdmi-tx-peak-current: specifies the peak current that will be
  18. drawn from the supply(ies) mentioned above.
  19. - qcom,hdmi-tx-cec: gpio for Consumer Electronics Control (cec) line.
  20. - qcom,hdmi-tx-ddc-clk: gpio for Display Data Channel (ddc) clock line.
  21. - qcom,hdmi-tx-ddc-data: gpio for ddc data line.
  22. - qcom,hdmi-tx-hpd: gpio required for HDMI hot-plug detect.
  23. Optional properties:
  24. - qcom,hdmi-tx-mux-sel: gpio required to toggle HDMI output between
  25. docking station, type A, and liquid device, type D, ports. Required
  26. property for liquid devices.
  27. - qcom,hdmi-tx-ddc-mux-sel: gpio for ddc mux select.
  28. - qcom,hdmi-tx-mux-en: gpio required to enable mux for HDMI output
  29. on liquid devices. Required property for liquid devices.
  30. - qcom,conditional-power-on: Enables HPD conditionally on MTP targets.
  31. Required property for MTP devices which are reworked to expose HDMI port.
  32. [Optional child nodes]: These nodes are for devices which are
  33. dependent on HDMI Tx controller. If HDMI Tx controller is disabled then
  34. these devices will be disabled as well. Ex. HDMI Audio Codec device.
  35. - qcom,msm-hdmi-audio-rx: Node for HDMI audio codec.
  36. Required properties:
  37. - compatible : "msm-hdmi-audio-codec-rx";
  38. Example:
  39. mdss_hdmi_tx: qcom,hdmi_tx@fd922100 {
  40. cell-index = <0>;
  41. compatible = "qcom,hdmi-tx";
  42. reg = <0xfd922100 0x35C>,
  43. <0xfd922500 0x7C>,
  44. <0xfc4b8000 0x60F0>;
  45. reg-names = "core_physical", "phy_physical", "qfprom_physical";
  46. hpd-gdsc-supply = <&gdsc_mdss>;
  47. hpd-5v-supply = <&pm8941_mvs2>;
  48. core-vdda-supply = <&pm8941_l12>;
  49. core-vcc-supply = <&pm8941_s3>;
  50. qcom,hdmi-tx-supply-names = "hpd-gdsc", "hpd-5v", "core-vdda", "core-vcc";
  51. qcom,hdmi-tx-min-voltage-level = <0 0 1800000 1800000>;
  52. qcom,hdmi-tx-max-voltage-level = <0 0 1800000 1800000>;
  53. qcom,hdmi-tx-peak-current = <0 0 1800000 0>;
  54. qcom,hdmi-tx-ddc-mux-sel = <&pma8084_gpios 6 0>;
  55. qcom,hdmi-tx-cec = <&msmgpio 31 0>;
  56. qcom,hdmi-tx-ddc-clk = <&msmgpio 32 0>;
  57. qcom,hdmi-tx-ddc-data = <&msmgpio 33 0>;
  58. qcom,hdmi-tx-hpd = <&msmgpio 34 0>;
  59. qcom,conditional-power-on;
  60. qcom,msm-hdmi-audio-rx {
  61. compatible = "qcom,msm-hdmi-audio-codec-rx";
  62. };
  63. };