apple,h7-display-pipe.yaml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/apple,h7-display-pipe.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Apple pre-DCP display controller
  7. maintainers:
  8. - Sasha Finkelstein <fnkl.kernel@gmail.com>
  9. description:
  10. A secondary display controller used to drive the "touchbar" on
  11. certain Apple laptops.
  12. properties:
  13. compatible:
  14. items:
  15. - enum:
  16. - apple,t8112-display-pipe
  17. - apple,t8103-display-pipe
  18. - const: apple,h7-display-pipe
  19. reg:
  20. items:
  21. - description: Primary register block, controls planes and blending
  22. - description:
  23. Contains other configuration registers like interrupt
  24. and FIFO control
  25. reg-names:
  26. items:
  27. - const: be
  28. - const: fe
  29. power-domains:
  30. description:
  31. Phandles to pmgr entries that are needed for this controller to turn on.
  32. Aside from that, their specific functions are unknown
  33. maxItems: 2
  34. interrupts:
  35. items:
  36. - description: Unknown function
  37. - description: Primary interrupt. Vsync events are reported via it
  38. interrupt-names:
  39. items:
  40. - const: be
  41. - const: fe
  42. iommus:
  43. maxItems: 1
  44. port:
  45. $ref: /schemas/graph.yaml#/properties/port
  46. description: Output port. Always connected to apple,h7-display-pipe-mipi
  47. required:
  48. - compatible
  49. - reg
  50. - interrupts
  51. - port
  52. additionalProperties: false
  53. examples:
  54. - |
  55. #include <dt-bindings/interrupt-controller/apple-aic.h>
  56. display-pipe@28200000 {
  57. compatible = "apple,t8103-display-pipe", "apple,h7-display-pipe";
  58. reg = <0x28200000 0xc000>,
  59. <0x28400000 0x4000>;
  60. reg-names = "be", "fe";
  61. power-domains = <&ps_dispdfr_fe>, <&ps_dispdfr_be>;
  62. interrupt-parent = <&aic>;
  63. interrupts = <AIC_IRQ 502 IRQ_TYPE_LEVEL_HIGH>,
  64. <AIC_IRQ 506 IRQ_TYPE_LEVEL_HIGH>;
  65. interrupt-names = "be", "fe";
  66. iommus = <&displaydfr_dart 0>;
  67. port {
  68. dfr_adp_out_mipi: endpoint {
  69. remote-endpoint = <&dfr_mipi_in_adp>;
  70. };
  71. };
  72. };
  73. ...