[PATCH v3 12/13] media: imx-mipi-csis: Initial support for multiple output channels
Frank Li
Frank.li at nxp.com
Fri Aug 22 07:18:28 PDT 2025
On Fri, Aug 22, 2025 at 03:27:32AM +0300, Laurent Pinchart wrote:
> Some CSIS instances feature more than one output channel. Update
> register macros accordingly, parse the number of channels from the
> device tree, and update register dumps and event counters to log
> per-channel data.
>
> Support for routing virtual channels and data types to output channels
> through the subdev internal routing API will come later.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> Changes since v1:
>
> - Update more per-channel registers
> - Update commit message
> ---
> drivers/media/platform/nxp/imx-mipi-csis.c | 239 +++++++++++++--------
> 1 file changed, 152 insertions(+), 87 deletions(-)
...
> + return dev_err_probe(csis->dev, -EINVAL,
> + "Invalid fsl,num-channels value\n");
> +
> return 0;
> }
>
> @@ -1444,10 +1511,8 @@ static int mipi_csis_probe(struct platform_device *pdev)
>
> /* Parse DT properties. */
> ret = mipi_csis_parse_dt(csis);
> - if (ret < 0) {
> - dev_err(dev, "Failed to parse device tree: %d\n", ret);
> + if (ret < 0)
> return ret;
> - }
I think this change is not belong to this patch.
Frank
>
> /* Acquire resources. */
> csis->regs = devm_platform_ioremap_resource(pdev, 0);
> --
> Regards,
>
> Laurent Pinchart
>
More information about the linux-arm-kernel
mailing list