ingenic,jz4780-hdmi.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/bridge/ingenic,jz4780-hdmi.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Ingenic JZ4780 HDMI Transmitter
  7. maintainers:
  8. - H. Nikolaus Schaller <hns@goldelico.com>
  9. description: |
  10. The HDMI Transmitter in the Ingenic JZ4780 is a Synopsys DesignWare HDMI 1.4
  11. TX controller IP with accompanying PHY IP.
  12. allOf:
  13. - $ref: synopsys,dw-hdmi.yaml#
  14. properties:
  15. compatible:
  16. const: ingenic,jz4780-dw-hdmi
  17. reg-io-width:
  18. const: 4
  19. clocks:
  20. maxItems: 2
  21. ports:
  22. $ref: /schemas/graph.yaml#/properties/ports
  23. properties:
  24. port@0:
  25. $ref: /schemas/graph.yaml#/properties/port
  26. description: Input from LCD controller output.
  27. port@1:
  28. $ref: /schemas/graph.yaml#/properties/port
  29. description: Link to the HDMI connector.
  30. required:
  31. - compatible
  32. - clocks
  33. - clock-names
  34. - ports
  35. - reg-io-width
  36. unevaluatedProperties: false
  37. examples:
  38. - |
  39. #include <dt-bindings/clock/ingenic,jz4780-cgu.h>
  40. hdmi: hdmi@10180000 {
  41. compatible = "ingenic,jz4780-dw-hdmi";
  42. reg = <0x10180000 0x8000>;
  43. reg-io-width = <4>;
  44. interrupt-parent = <&intc>;
  45. interrupts = <3>;
  46. clocks = <&cgu JZ4780_CLK_AHB0>, <&cgu JZ4780_CLK_HDMI>;
  47. clock-names = "iahb", "isfr";
  48. ports {
  49. #address-cells = <1>;
  50. #size-cells = <0>;
  51. hdmi_in: port@0 {
  52. reg = <0>;
  53. dw_hdmi_in: endpoint {
  54. remote-endpoint = <&jz4780_lcd_out>;
  55. };
  56. };
  57. hdmi_out: port@1 {
  58. reg = <1>;
  59. dw_hdmi_out: endpoint {
  60. remote-endpoint = <&hdmi_con>;
  61. };
  62. };
  63. };
  64. };
  65. ...