4 The Mediatek DSI function block is a sink of the display subsystem and can
5 drive up to 4-lane MIPI DSI output. Two DSIs can be synchronized for dual-
9 - compatible: "mediatek,<chip>-dsi"
10 - the supported chips are mt2701, mt7623, mt8173 and mt8183.
11 - reg: Physical base address and length of the controller's registers
12 - interrupts: The interrupt signal from the function block.
13 - clocks: device clocks
14 See Documentation/devicetree/bindings/clock/clock-bindings.txt for details.
15 - clock-names: must contain "engine", "digital", and "hs"
16 - phys: phandle link to the MIPI D-PHY controller.
17 - phy-names: must contain "dphy"
18 - port: Output port node with endpoint definitions as described in
19 Documentation/devicetree/bindings/graph.txt. This port should be connected
20 to the input port of an attached DSI panel or DSI-to-eDP encoder chip.
22 MIPI TX Configuration Module
23 ============================
25 The MIPI TX configuration module controls the MIPI D-PHY.
28 - compatible: "mediatek,<chip>-mipi-tx"
29 - the supported chips are mt2701, 7623, mt8173 and mt8183.
30 - reg: Physical base address and length of the controller's registers
31 - clocks: PLL reference clock
32 - clock-output-names: name of the output clock line to the DSI encoder
33 - #clock-cells: must be <0>;
34 - #phy-cells: must be <0>.
37 - drive-strength-microamp: adjust driving current, should be 3000 ~ 6000. And
39 - nvmem-cells: A phandle to the calibration data provided by a nvmem device. If
40 unspecified default values shall be used.
41 - nvmem-cell-names: Should be "calibration-data"
45 mipi_tx0: mipi-dphy@10215000 {
46 compatible = "mediatek,mt8173-mipi-tx";
47 reg = <0 0x10215000 0 0x1000>;
49 clock-output-names = "mipi_tx0_pll";
52 drive-strength-microamp = <4600>;
53 nvmem-cells= <&mipi_tx_calibration>;
54 nvmem-cell-names = "calibration-data";
58 compatible = "mediatek,mt8173-dsi";
59 reg = <0 0x1401b000 0 0x1000>;
60 interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_LOW>;
61 clocks = <&mmsys MM_DSI0_ENGINE>, <&mmsys MM_DSI0_DIGITAL>,
63 clock-names = "engine", "digital", "hs";
69 remote-endpoint = <&panel_in>;