lontium,lt9211.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/bridge/lontium,lt9211.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Lontium LT9211 DSI/LVDS/DPI to DSI/LVDS/DPI bridge.
  7. maintainers:
  8. - Marek Vasut <marex@denx.de>
  9. description: |
  10. The LT9211 are bridge devices which convert Single/Dual-Link DSI/LVDS
  11. or Single DPI to Single/Dual-Link DSI/LVDS or Single DPI.
  12. properties:
  13. compatible:
  14. enum:
  15. - lontium,lt9211
  16. reg:
  17. maxItems: 1
  18. interrupts:
  19. maxItems: 1
  20. reset-gpios:
  21. maxItems: 1
  22. description: GPIO connected to active high RESET pin.
  23. vccio-supply:
  24. description: Regulator for 1.8V IO power.
  25. ports:
  26. $ref: /schemas/graph.yaml#/properties/ports
  27. properties:
  28. port@0:
  29. $ref: /schemas/graph.yaml#/properties/port
  30. description:
  31. Primary MIPI DSI port-1 for MIPI input or
  32. LVDS port-1 for LVDS input or DPI input.
  33. port@1:
  34. $ref: /schemas/graph.yaml#/properties/port
  35. description:
  36. Additional MIPI port-2 for MIPI input or LVDS port-2
  37. for LVDS input. Used in combination with primary
  38. port-1 to drive higher resolution displays
  39. port@2:
  40. $ref: /schemas/graph.yaml#/properties/port
  41. description:
  42. Primary MIPI DSI port-1 for MIPI output or
  43. LVDS port-1 for LVDS output or DPI output.
  44. port@3:
  45. $ref: /schemas/graph.yaml#/properties/port
  46. description:
  47. Additional MIPI port-2 for MIPI output or LVDS port-2
  48. for LVDS output. Used in combination with primary
  49. port-1 to drive higher resolution displays.
  50. required:
  51. - port@0
  52. - port@2
  53. required:
  54. - compatible
  55. - reg
  56. - vccio-supply
  57. - ports
  58. additionalProperties: false
  59. examples:
  60. - |
  61. #include <dt-bindings/gpio/gpio.h>
  62. #include <dt-bindings/interrupt-controller/irq.h>
  63. i2c {
  64. #address-cells = <1>;
  65. #size-cells = <0>;
  66. hdmi-bridge@3b {
  67. compatible = "lontium,lt9211";
  68. reg = <0x3b>;
  69. reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;
  70. interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>;
  71. vccio-supply = <&lt9211_1v8>;
  72. ports {
  73. #address-cells = <1>;
  74. #size-cells = <0>;
  75. port@0 {
  76. reg = <0>;
  77. endpoint {
  78. remote-endpoint = <&dsi0_out>;
  79. };
  80. };
  81. port@2 {
  82. reg = <2>;
  83. endpoint {
  84. remote-endpoint = <&panel_in_lvds>;
  85. };
  86. };
  87. };
  88. };
  89. };
  90. ...