Re: [PATCH] arm64: dts: imx8mm: Add display pipeline components

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Am Mittwoch, 5. April 2023, 14:32:35 CEST schrieb Marek Vasut:
> On 4/5/23 08:00, Alexander Stein wrote:
> > Hi Marek,
> 
> Hi,
> 
> > Am Dienstag, 4. April 2023, 02:01:51 CEST schrieb Marek Vasut:
> >> Add LCDIF scanout engine and DSIM bridge nodes for i.MX8M Mini.
> >> This makes the DSI display pipeline available on this SoC.
> >> 
> >> Signed-off-by: Marek Vasut <marex@xxxxxxx>
> >> ---
> >> Cc: Abel Vesa <abel.vesa@xxxxxxx>
> >> Cc: Dong Aisheng <aisheng.dong@xxxxxxx>
> >> Cc: Fabio Estevam <festevam@xxxxxxxxx>
> >> Cc: Guido Günther <agx@xxxxxxxxxxx>
> >> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx>
> >> Cc: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> >> Cc: NXP Linux Team <linux-imx@xxxxxxx>
> >> Cc: Pengutronix Kernel Team <kernel@xxxxxxxxxxxxxx>
> >> Cc: Richard Cochran <richardcochran@xxxxxxxxx>
> >> Cc: Rob Herring <robh+dt@xxxxxxxxxx>
> >> Cc: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
> >> Cc: Shawn Guo <shawnguo@xxxxxxxxxx>
> >> Cc: devicetree@xxxxxxxxxxxxxxx
> >> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> >> ---
> >> 
> >>   arch/arm64/boot/dts/freescale/imx8mm.dtsi | 57 +++++++++++++++++++++++
> >>   1 file changed, 57 insertions(+)
> >> 
> >> diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
> >> b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index
> >> e311da7e87bdc..06495c225c94b 100644
> >> --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
> >> +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
> >> @@ -1119,6 +1119,63 @@ aips4: bus@32c00000 {
> >> 
> >>   			#size-cells = <1>;
> >>   			ranges = <0x32c00000 0x32c00000 0x400000>;
> >> 
> >> +			lcdif: lcdif@32e00000 {
> >> +				compatible = "fsl,imx8mm-lcdif",
> > 
> > "fsl,imx6sx-lcdif";
> > 
> >> +				reg = <0x32e00000 0x10000>;
> >> +				clocks = <&clk
> > 
> > IMX8MM_CLK_LCDIF_PIXEL>,
> > 
> >> +					 <&clk
> > 
> > IMX8MM_CLK_DISP_APB_ROOT>,
> > 
> >> +					 <&clk
> > 
> > IMX8MM_CLK_DISP_AXI_ROOT>;
> > 
> >> +				clock-names = "pix", "axi",
> > 
> > "disp_axi";
> > 
> >> +				assigned-clocks = <&clk
> > 
> > IMX8MM_CLK_LCDIF_PIXEL>,
> > 
> >> +						  <&clk
> > 
> > IMX8MM_CLK_DISP_AXI>,
> > 
> >> +						  <&clk
> > 
> > IMX8MM_CLK_DISP_APB>;
> > 
> >> +				assigned-clock-parents = <&clk
> > 
> > IMX8MM_VIDEO_PLL1_OUT>,
> > 
> >> +							 <&clk
> > 
> > IMX8MM_SYS_PLL2_1000M>,
> > 
> >> +							 <&clk
> > 
> > IMX8MM_SYS_PLL1_800M>;
> > 
> >> +				assigned-clock-rates = <594000000>,
> > 
> > <500000000>, <200000000>;
> > 
> >> +				interrupts = <GIC_SPI 5
> > 
> > IRQ_TYPE_LEVEL_HIGH>;
> > 
> >> +				power-domains = <&disp_blk_ctrl
> > 
> > IMX8MM_DISPBLK_PD_LCDIF>;
> > 
> >> +				status = "disabled";
> >> +
> >> +				port {
> >> +					lcdif_to_dsim: endpoint {
> >> +						remote-endpoint =
> > 
> > <&dsim_from_lcdif>;
> > 
> >> +					};
> >> +				};
> >> +			};
> >> +
> >> +			mipi_dsi: dsi@32e10000 {
> >> +				#address-cells = <1>;
> >> +				#size-cells = <0>;

I missed that. These are not necessary.

> >> +				compatible = "fsl,imx8mm-mipi-dsim";
> >> +				reg = <0x32e10000 0x400>;
> >> +				clocks = <&clk IMX8MM_CLK_DSI_CORE>,
> >> +					 <&clk
> > 
> > IMX8MM_CLK_DSI_PHY_REF>;
> > 
> >> +				clock-names = "bus_clk", "sclk_mipi";
> >> +				assigned-clocks = <&clk
> > 
> > IMX8MM_CLK_DSI_CORE>,
> > 
> >> +						  <&clk
> > 
> > IMX8MM_CLK_DSI_PHY_REF>;
> > 
> >> +				assigned-clock-parents = <&clk
> > 
> > IMX8MM_SYS_PLL1_266M>,
> > 
> >> +							 <&clk
> > 
> > IMX8MM_CLK_24M>;
> > 
> >> +				assigned-clock-rates = <266000000>,
> > 
> > <24000000>;
> > 
> >> +				samsung,pll-clock-frequency =
> > 
> > <24000000>;
> > 
> > What about samsung,burst-clock-frequency and samsung,esc-clock-frequency?
> > Is there is sane default? Do they need to be provided in the board file?
> Those two (burst and esc) are display or nearest-bridge specific and go
> into board files.

Thanks for clarification. With the nit from above fixed:
Reviewed-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>

-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/






[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux