mediatek,dpi.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Mediatek DPI Device
  2. ===================
  3. The Mediatek DPI function block is a sink of the display subsystem and
  4. provides 8-bit RGB/YUV444 or 8/10/10-bit YUV422 pixel data on a parallel
  5. output bus.
  6. Required properties:
  7. - compatible: "mediatek,<chip>-dpi"
  8. - reg: Physical base address and length of the controller's registers
  9. - interrupts: The interrupt signal from the function block.
  10. - clocks: device clocks
  11. See Documentation/devicetree/bindings/clock/clock-bindings.txt for details.
  12. - clock-names: must contain "pixel", "engine", and "pll"
  13. - port: Output port node with endpoint definitions as described in
  14. Documentation/devicetree/bindings/graph.txt. This port should be connected
  15. to the input port of an attached HDMI or LVDS encoder chip.
  16. Example:
  17. dpi0: dpi@1401d000 {
  18. compatible = "mediatek,mt8173-dpi";
  19. reg = <0 0x1401d000 0 0x1000>;
  20. interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_LOW>;
  21. clocks = <&mmsys CLK_MM_DPI_PIXEL>,
  22. <&mmsys CLK_MM_DPI_ENGINE>,
  23. <&apmixedsys CLK_APMIXED_TVDPLL>;
  24. clock-names = "pixel", "engine", "pll";
  25. port {
  26. dpi0_out: endpoint {
  27. remote-endpoint = <&hdmi0_in>;
  28. };
  29. };
  30. };