ite,it66121.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/bridge/ite,it66121.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: ITE it66121 HDMI bridge
  7. maintainers:
  8. - Phong LE <ple@baylibre.com>
  9. - Neil Armstrong <neil.armstrong@linaro.org>
  10. description: |
  11. The IT66121 is a high-performance and low-power single channel HDMI
  12. transmitter, fully compliant with HDMI 1.3a, HDCP 1.2 and backward compatible
  13. to DVI 1.0 specifications.
  14. properties:
  15. compatible:
  16. enum:
  17. - ite,it66121
  18. - ite,it66122
  19. - ite,it6610
  20. reg:
  21. maxItems: 1
  22. reset-gpios:
  23. maxItems: 1
  24. description: GPIO connected to active low reset
  25. vrf12-supply:
  26. description: Regulator for 1.2V analog core power.
  27. vcn33-supply:
  28. description: Regulator for 3.3V digital core power.
  29. vcn18-supply:
  30. description: Regulator for 1.8V IO core power.
  31. interrupts:
  32. maxItems: 1
  33. "#sound-dai-cells":
  34. const: 0
  35. ports:
  36. $ref: /schemas/graph.yaml#/properties/ports
  37. properties:
  38. port@0:
  39. $ref: /schemas/graph.yaml#/$defs/port-base
  40. unevaluatedProperties: false
  41. description: DPI input port.
  42. properties:
  43. endpoint:
  44. $ref: /schemas/graph.yaml#/$defs/endpoint-base
  45. unevaluatedProperties: false
  46. properties:
  47. bus-width:
  48. description:
  49. Endpoint bus width.
  50. enum:
  51. - 12 # 12 data lines connected and dual-edge mode
  52. - 24 # 24 data lines connected and single-edge mode
  53. default: 24
  54. port@1:
  55. $ref: /schemas/graph.yaml#/properties/port
  56. description: HDMI Connector port.
  57. required:
  58. - port@0
  59. - port@1
  60. required:
  61. - compatible
  62. - reg
  63. - reset-gpios
  64. - vrf12-supply
  65. - vcn33-supply
  66. - vcn18-supply
  67. - interrupts
  68. - ports
  69. allOf:
  70. - $ref: /schemas/sound/dai-common.yaml#
  71. unevaluatedProperties: false
  72. examples:
  73. - |
  74. #include <dt-bindings/interrupt-controller/irq.h>
  75. #include <dt-bindings/gpio/gpio.h>
  76. i2c {
  77. #address-cells = <1>;
  78. #size-cells = <0>;
  79. it66121hdmitx: hdmitx@4c {
  80. compatible = "ite,it66121";
  81. pinctrl-names = "default";
  82. pinctrl-0 = <&ite_pins_default>;
  83. vcn33-supply = <&mt6358_vcn33_wifi_reg>;
  84. vcn18-supply = <&mt6358_vcn18_reg>;
  85. vrf12-supply = <&mt6358_vrf12_reg>;
  86. reset-gpios = <&pio 160 GPIO_ACTIVE_LOW>;
  87. interrupt-parent = <&pio>;
  88. interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
  89. reg = <0x4c>;
  90. ports {
  91. #address-cells = <1>;
  92. #size-cells = <0>;
  93. port@0 {
  94. reg = <0>;
  95. it66121_in: endpoint {
  96. bus-width = <12>;
  97. remote-endpoint = <&display_out>;
  98. };
  99. };
  100. port@1 {
  101. reg = <1>;
  102. hdmi_conn_out: endpoint {
  103. remote-endpoint = <&hdmi_conn_in>;
  104. };
  105. };
  106. };
  107. };
  108. };