[PATCH v2 12/12] arm64: dts: imx8mp: Specify the number of channels for CSI-2 receivers

Laurent Pinchart laurent.pinchart at ideasonboard.com
Thu Aug 21 09:42:11 PDT 2025


On Thu, Aug 21, 2025 at 12:00:39PM -0400, Frank Li wrote:
> On Thu, Aug 21, 2025 at 03:09:44AM +0300, Laurent Pinchart wrote:
> > The CSI-2 receivers in the i.MX8MP have 3 output channels. Specify this
> > in the device tree, to enable support for more than one channel in
> > drivers.
> 
> dt descript hardware, not driver

Yes, but the whole point is to make use of the information in drivers
:-)

I'll just drop the "in drivers" part.

> Specify this to reflect actual hardware feature.
> 
> Reviewed-by: Frank Li <Frank.Li at nxp.com>
> 
> > Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> > ---
> >  arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> > index bb24dba7338e..1e52840078df 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> > @@ -1764,6 +1764,7 @@ mipi_csi_0: csi at 32e40000 {
> >  				assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_250M>,
> >  							 <&clk IMX8MP_CLK_24M>;
> >  				power-domains = <&media_blk_ctrl IMX8MP_MEDIABLK_PD_MIPI_CSI2_1>;
> > +				fsl,num-channels = <3>;
> >  				status = "disabled";
> >
> >  				ports {
> > @@ -1799,6 +1800,7 @@ mipi_csi_1: csi at 32e50000 {
> >  				assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_250M>,
> >  							 <&clk IMX8MP_CLK_24M>;
> >  				power-domains = <&media_blk_ctrl IMX8MP_MEDIABLK_PD_MIPI_CSI2_2>;
> > +				fsl,num-channels = <3>;
> >  				status = "disabled";
> >
> >  				ports {

-- 
Regards,

Laurent Pinchart



More information about the linux-arm-kernel mailing list