Re: [PATCH v8 04/16] media: cadence: Add support for TI SoCs

From: Jai Luthra
Date: Mon Aug 07 2023 - 03:58:36 EST


Hi Krzysztof,

Thanks for the review.

On Aug 05, 2023 at 23:06:43 +0200, Krzysztof Kozlowski wrote:
> On 31/07/2023 10:29, Jai Luthra wrote:
> > Multiple TI SoCs (J721E, AM62) use this CSI2RX receiver, integrated with
> > an external DPHY and a pixel-grabber IP that unwraps the pixel data and
> > send it to memory via DMA.
> >
> > Add a separate compatible for the TI-specific version of this IP.
> >
> > Signed-off-by: Jai Luthra <j-luthra@xxxxxx>
> > ---
> > New in v8
> >
> > drivers/media/platform/cadence/cdns-csi2rx.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/media/platform/cadence/cdns-csi2rx.c b/drivers/media/platform/cadence/cdns-csi2rx.c
> > index 0d879d71d818..b087583d636f 100644
> > --- a/drivers/media/platform/cadence/cdns-csi2rx.c
> > +++ b/drivers/media/platform/cadence/cdns-csi2rx.c
> > @@ -559,6 +559,7 @@ static void csi2rx_remove(struct platform_device *pdev)
> >
> > static const struct of_device_id csi2rx_of_table[] = {
> > { .compatible = "starfive,jh7110-csi2rx" },
> > + { .compatible = "ti,j721e-csi2rx" },
>
> Why do you need it? It's redundant - already compatible with cdns. No
> need to add empty match entries.
>

Understood, will drop this patch in the next revision and re-introduce
later whenever we add something SoC specific in the driver.

> > { .compatible = "cdns,csi2rx" },
> > { },
>
>
> Best regards,
> Krzysztof
>

--
Thanks,
Jai

GPG Fingerprint: 4DE0 D818 E5D5 75E8 D45A AFC5 43DE 91F9 249A 7145

Attachment: signature.asc
Description: PGP signature