Skip to content

Commit

Permalink
ARM: dts: imx7: add MIPI-DSI support
Browse files Browse the repository at this point in the history
This adds the device tree support for the MIPI-DSI block. The block can
be used as encoder for the parallel signals coming from the lcdif block.

Signed-off-by: Marco Felsch <[email protected]>
Signed-off-by: Roland Hieber <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
Marco Felsch authored and Shawn Guo committed Dec 6, 2023
1 parent 0b6b265 commit edbbae7
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions arch/arm/boot/dts/nxp/imx/imx7s.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,16 @@
<&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
clock-names = "pix", "axi";
status = "disabled";

port {
#address-cells = <1>;
#size-cells = <0>;

lcdif_out_mipi_dsi: endpoint@0 {
reg = <0>;
remote-endpoint = <&mipi_dsi_in_lcdif>;
};
};
};

mipi_csi: mipi-csi@30750000 {
Expand Down Expand Up @@ -857,6 +867,42 @@
};
};
};

mipi_dsi: dsi@30760000 {
compatible = "fsl,imx7d-mipi-dsim", "fsl,imx8mm-mipi-dsim";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x30760000 0x400>;
clocks = <&clks IMX7D_MIPI_DSI_ROOT_CLK>,
<&clks IMX7D_MIPI_DPHY_ROOT_CLK>;
clock-names = "bus_clk", "sclk_mipi";
assigned-clocks = <&clks IMX7D_MIPI_DSI_ROOT_SRC>,
<&clks IMX7D_PLL_SYS_PFD5_CLK>;
assigned-clock-parents = <&clks IMX7D_PLL_SYS_PFD5_CLK>;
assigned-clock-rates = <0>, <333000000>;
power-domains = <&pgc_mipi_phy>;
interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
samsung,burst-clock-frequency = <891000000>;
samsung,esc-clock-frequency = <20000000>;
samsung,pll-clock-frequency = <24000000>;
status = "disabled";

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;

mipi_dsi_in_lcdif: endpoint@0 {
reg = <0>;
remote-endpoint = <&lcdif_out_mipi_dsi>;
};
};
};
};
};

aips3: bus@30800000 {
Expand Down

0 comments on commit edbbae7

Please sign in to comment.