Re: [PATCH v11 3/3] arm64: dts: imx93: Add parallel display output nodes

Frank Li
2026-03-03T15:45:21Z

On Tue, Mar 03, 2026 at 11:42:08AM +0100, Marco Felsch wrote:
> Hi Frank,
>
> On 26-03-03, Marco Felsch wrote:
> > Add required OF nodes to support the i.MX93 parallel output (DPI) path.
> >
> > On the i.MX93 a single LCDIF is connected to three bridges: DPI, LVDS
> > LDB and the MIPI-DSI whereas the i.MX91 support only the DPI bridge.
> >
> > Map endpoint@0 as DPI bridge output since the i.MX93 TRM (Figure 485.
> > MEDIAMIX block diagram) doesn't mention any port-number <-> bridge
> > combination.
> >
> > Set the MEDIA-AXI and MEDIA-APB clocks to the overdrive (OD) values
> > since the i.MX93 and i.MX91 use the overdrive (OD) clk settings per
> > default.
> >
> > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
>
> Please ignore this particular patch since you already applied this one.

You can skip these when you post new version. post delta if need update,
I can squash to previous patch as need.

>
> Next time we should align the apply with the rest of the patch series if
> dt-bindings and driver behaviors are involved. In such case the final
> integration patch should be merged at the end and not at the beginning
> :)

You request apply at :)
https://lore.kernel.org/all/fl2br7rtcjrjj2uqxva7ai3xbvjwrrbbl2ruaoqolrccr2rd5p@z33qfx7dpavf/

Frank
>
> Thanks,
> Marco
>
> > ---
> > arch/arm64/boot/dts/freescale/imx91_93_common.dtsi | 54 ++++++++++++++++++++++
> > arch/arm64/boot/dts/freescale/imx93.dtsi | 12 +++++
> > 2 files changed, 66 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx91_93_common.dtsi b/arch/arm64/boot/dts/freescale/imx91_93_common.dtsi
> > index 7958cef353766a430df5e626ff2403dc05a974b1..5a8813df6bc993d559fb0b20fc742a106bfe6315 100644
> > --- a/arch/arm64/boot/dts/freescale/imx91_93_common.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx91_93_common.dtsi
> > @@ -1122,8 +1122,62 @@ media_blk_ctrl: system-controller@4ac10000 {
> > <&clk IMX93_CLK_MIPI_DSI_GATE>;
> > clock-names = "apb", "axi", "nic", "disp", "cam",
> > "pxp", "lcdif", "isi", "csi", "dsi";
> > + assigned-clocks = <&clk IMX93_CLK_MEDIA_AXI>,
> > + <&clk IMX93_CLK_MEDIA_APB>,
> > + <&clk IMX93_CLK_MEDIA_DISP_PIX>;
> > + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1>,
> > + <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>,
> > + <&clk IMX93_CLK_VIDEO_PLL>;
> > + assigned-clock-rates = <400000000>, <133333333>;
> > #power-domain-cells = <1>;
> > status = "disabled";
> > +
> > + dpi_bridge: dpi-bridge {
> > + compatible = "nxp,imx93-pdfc";
> > + status = "disabled";
> > +
> > + ports {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + port@0 {
> > + reg = <0>;
> > +
> > + dpi_from_lcdif: endpoint {
> > + remote-endpoint = <&lcdif_to_dpi>;
> > + };
> > + };
> > +
> > + port@1 {
> > + reg = <1>;
> > +
> > + dpi_to_panel: endpoint {
> > + };
> > + };
> > + };
> > + };
> > + };
> > +
> > + lcdif: display-controller@4ae30000 {
> > + compatible = "fsl,imx93-lcdif";
> > + reg = <0x4ae30000 0x23c>;
> > + interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&clk IMX93_CLK_MEDIA_DISP_PIX>,
> > + <&clk IMX93_CLK_LCDIF_GATE>,
> > + <&clk IMX93_CLK_MEDIA_AXI>;
> > + clock-names = "pix", "axi", "disp_axi";
> > + power-domains = <&media_blk_ctrl IMX93_MEDIABLK_PD_LCDIF>;
> > + status = "disabled";
> > +
> > + port {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + lcdif_to_dpi: endpoint@0 {
> > + reg = <0>;
> > + remote-endpoint = <&dpi_from_lcdif>;
> > + };
> > + };
> > };
> >
> > usbotg1: usb@4c100000 {
> > diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
> > index 7b27012dfcb564650882dc8c40e836e797b2fda1..5436b48b30e89eb1f939b398ce1bf105abe7e34b 100644
> > --- a/arch/arm64/boot/dts/freescale/imx93.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
> > @@ -150,6 +150,18 @@ l3_cache: l3-cache {
> > };
> > };
> >
> > +&lcdif {
> > + port {
> > + lcdif_to_ldb: endpoint@1 {
> > + reg = <1>;
> > + };
> > +
> > + lcdif_to_dsi: endpoint@2 {
> > + reg = <2>;
> > + };
> > + };
> > +};
> > +
> > &src {
> > mlmix: power-domain@44461800 {
> > compatible = "fsl,imx93-src-slice";
> >
> > --
> > 2.47.3
> >
>
> --
> #gernperDu
> #CallMeByMyFirstName
>
> Pengutronix e.K. | |
> Steuerwalder Str. 21 | https://www.pengutronix.de/ |
> 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |