sprd,display-subsystem.yaml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/sprd/sprd,display-subsystem.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Unisoc DRM master device
  7. maintainers:
  8. - Kevin Tang <kevin.tang@unisoc.com>
  9. description: |
  10. The Unisoc DRM master device is a virtual device needed to list all
  11. DPU devices or other display interface nodes that comprise the
  12. graphics subsystem.
  13. Unisoc's display pipeline have several components as below description,
  14. multi display controllers and corresponding physical interfaces.
  15. For different display scenarios, dpu0 and dpu1 maybe binding to different
  16. encoder.
  17. E.g:
  18. dpu0 and dpu1 both binding to DSI for dual mipi-dsi display;
  19. dpu0 binding to DSI for primary display, and dpu1 binding to DP for external display;
  20. +-----------------------------------------+
  21. | |
  22. | +---------+ |
  23. +----+ | +----+ +---------+ |DPHY/CPHY| | +------+
  24. | +----->+dpu0+--->+MIPI|DSI +--->+Combo +----->+Panel0|
  25. |AXI | | +----+ +---------+ +---------+ | +------+
  26. | | | ^ |
  27. | | | | |
  28. | | | +-----------+ |
  29. | | | | |
  30. |APB | | +--+-+ +-----------+ +---+ | +------+
  31. | +----->+dpu1+--->+DisplayPort+--->+PHY+--------->+Panel1|
  32. | | | +----+ +-----------+ +---+ | +------+
  33. +----+ | |
  34. +-----------------------------------------+
  35. properties:
  36. compatible:
  37. const: sprd,display-subsystem
  38. ports:
  39. $ref: /schemas/types.yaml#/definitions/phandle-array
  40. items:
  41. maxItems: 1
  42. description:
  43. Should contain a list of phandles pointing to display interface port
  44. of DPU devices.
  45. required:
  46. - compatible
  47. - ports
  48. additionalProperties: false
  49. examples:
  50. - |
  51. display-subsystem {
  52. compatible = "sprd,display-subsystem";
  53. ports = <&dpu_out>;
  54. };