mediatek,dsi.txt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Mediatek DSI Device
  2. ===================
  3. The Mediatek DSI function block is a sink of the display subsystem and can
  4. drive up to 4-lane MIPI DSI output. Two DSIs can be synchronized for dual-
  5. channel output.
  6. Required properties:
  7. - compatible: "mediatek,<chip>-dsi"
  8. the supported chips are mt2701 and mt8173.
  9. - reg: Physical base address and length of the controller's registers
  10. - interrupts: The interrupt signal from the function block.
  11. - clocks: device clocks
  12. See Documentation/devicetree/bindings/clock/clock-bindings.txt for details.
  13. - clock-names: must contain "engine", "digital", and "hs"
  14. - phys: phandle link to the MIPI D-PHY controller.
  15. - phy-names: must contain "dphy"
  16. - port: Output port node with endpoint definitions as described in
  17. Documentation/devicetree/bindings/graph.txt. This port should be connected
  18. to the input port of an attached DSI panel or DSI-to-eDP encoder chip.
  19. MIPI TX Configuration Module
  20. ============================
  21. The MIPI TX configuration module controls the MIPI D-PHY.
  22. Required properties:
  23. - compatible: "mediatek,<chip>-mipi-tx"
  24. the supported chips are mt2701 and mt8173.
  25. - reg: Physical base address and length of the controller's registers
  26. - clocks: PLL reference clock
  27. - clock-output-names: name of the output clock line to the DSI encoder
  28. - #clock-cells: must be <0>;
  29. - #phy-cells: must be <0>.
  30. Example:
  31. mipi_tx0: mipi-dphy@10215000 {
  32. compatible = "mediatek,mt8173-mipi-tx";
  33. reg = <0 0x10215000 0 0x1000>;
  34. clocks = <&clk26m>;
  35. clock-output-names = "mipi_tx0_pll";
  36. #clock-cells = <0>;
  37. #phy-cells = <0>;
  38. };
  39. dsi0: dsi@1401b000 {
  40. compatible = "mediatek,mt8173-dsi";
  41. reg = <0 0x1401b000 0 0x1000>;
  42. interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_LOW>;
  43. clocks = <&mmsys MM_DSI0_ENGINE>, <&mmsys MM_DSI0_DIGITAL>,
  44. <&mipi_tx0>;
  45. clock-names = "engine", "digital", "hs";
  46. phys = <&mipi_tx0>;
  47. phy-names = "dphy";
  48. port {
  49. dsi0_out: endpoint {
  50. remote-endpoint = <&panel_in>;
  51. };
  52. };
  53. };