mdp4.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/msm/mdp4.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Qualcomm Adreno/Snapdragon MDP4 display controller
  7. description: >
  8. MDP4 display controller found in SoCs like MSM8960, APQ8064 and MSM8660.
  9. maintainers:
  10. - Rob Clark <robdclark@gmail.com>
  11. properties:
  12. compatible:
  13. const: qcom,mdp4
  14. clocks:
  15. minItems: 6
  16. maxItems: 8
  17. clock-names:
  18. minItems: 6
  19. items:
  20. - const: core_clk
  21. - const: iface_clk
  22. - const: bus_clk
  23. - const: lut_clk
  24. - const: hdmi_clk
  25. - const: tv_clk
  26. - const: lcdc_clk
  27. - const: pxo
  28. description: XO used to drive the internal LVDS PLL
  29. '#clock-cells':
  30. const: 0
  31. reg:
  32. maxItems: 1
  33. interrupts:
  34. maxItems: 1
  35. iommus:
  36. maxItems: 4
  37. ports:
  38. $ref: /schemas/graph.yaml#/properties/ports
  39. properties:
  40. port@0:
  41. $ref: /schemas/graph.yaml#/properties/port
  42. description: LCDC/LVDS
  43. port@1:
  44. $ref: /schemas/graph.yaml#/properties/port
  45. description: DSI1 Cmd / Video
  46. port@2:
  47. $ref: /schemas/graph.yaml#/properties/port
  48. description: DSI2 Cmd / Video
  49. port@3:
  50. $ref: /schemas/graph.yaml#/properties/port
  51. description: Digital TV
  52. qcom,lcdc-align-lsb:
  53. type: boolean
  54. description: >
  55. Indication that LSB alignment should be used for LCDC.
  56. This is only valid for 18bpp panels.
  57. required:
  58. - compatible
  59. - reg
  60. - clocks
  61. - ports
  62. additionalProperties: false
  63. examples:
  64. - |
  65. mdp: mdp@5100000 {
  66. compatible = "qcom,mdp4";
  67. reg = <0x05100000 0xf0000>;
  68. interrupts = <0 75 0>;
  69. clock-names =
  70. "core_clk",
  71. "iface_clk",
  72. "bus_clk",
  73. "lut_clk",
  74. "hdmi_clk",
  75. "tv_clk";
  76. clocks =
  77. <&mmcc 77>,
  78. <&mmcc 86>,
  79. <&mmcc 102>,
  80. <&mmcc 75>,
  81. <&mmcc 97>,
  82. <&mmcc 12>;
  83. ports {
  84. #address-cells = <1>;
  85. #size-cells = <0>;
  86. port@0 {
  87. reg = <0>;
  88. mdp_lvds_out: endpoint {
  89. };
  90. };
  91. port@1 {
  92. reg = <1>;
  93. mdp_dsi1_out: endpoint {
  94. };
  95. };
  96. port@2 {
  97. reg = <2>;
  98. mdp_dsi2_out: endpoint {
  99. };
  100. };
  101. port@3 {
  102. reg = <3>;
  103. mdp_dtv_out: endpoint {
  104. remote-endpoint = <&hdmi_in>;
  105. };
  106. };
  107. };
  108. };