Message ID | 20231208152255.472467-3-julien.massot@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | misc improvment for j721e csi2rx | expand |
On Dec 08, 2023 at 16:22:54 +0100, Julien Massot wrote: > Add support for MEDIA_BUS_FMT_Y8_1X8 format. > > Signed-off-by: Julien Massot <julien.massot@collabora.com> > --- > 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 b9356cc7a192..d24880e27607 100644 > --- a/drivers/media/platform/cadence/cdns-csi2rx.c > +++ b/drivers/media/platform/cadence/cdns-csi2rx.c > @@ -114,6 +114,7 @@ static const struct csi2rx_fmt formats[] = { > { .code = MEDIA_BUS_FMT_SGBRG8_1X8, .bpp = 8, }, > { .code = MEDIA_BUS_FMT_SGRBG8_1X8, .bpp = 8, }, > { .code = MEDIA_BUS_FMT_SRGGB8_1X8, .bpp = 8, }, > + { .code = MEDIA_BUS_FMT_Y8_1X8, .bpp = 8, }, > { .code = MEDIA_BUS_FMT_SBGGR10_1X10, .bpp = 10, }, > { .code = MEDIA_BUS_FMT_SGBRG10_1X10, .bpp = 10, }, > { .code = MEDIA_BUS_FMT_SGRBG10_1X10, .bpp = 10, }, > -- > 2.43.0 > Acked-by: Jai Luthra <j-luthra@ti.com>
diff --git a/drivers/media/platform/cadence/cdns-csi2rx.c b/drivers/media/platform/cadence/cdns-csi2rx.c index b9356cc7a192..d24880e27607 100644 --- a/drivers/media/platform/cadence/cdns-csi2rx.c +++ b/drivers/media/platform/cadence/cdns-csi2rx.c @@ -114,6 +114,7 @@ static const struct csi2rx_fmt formats[] = { { .code = MEDIA_BUS_FMT_SGBRG8_1X8, .bpp = 8, }, { .code = MEDIA_BUS_FMT_SGRBG8_1X8, .bpp = 8, }, { .code = MEDIA_BUS_FMT_SRGGB8_1X8, .bpp = 8, }, + { .code = MEDIA_BUS_FMT_Y8_1X8, .bpp = 8, }, { .code = MEDIA_BUS_FMT_SBGGR10_1X10, .bpp = 10, }, { .code = MEDIA_BUS_FMT_SGBRG10_1X10, .bpp = 10, }, { .code = MEDIA_BUS_FMT_SGRBG10_1X10, .bpp = 10, },
Add support for MEDIA_BUS_FMT_Y8_1X8 format. Signed-off-by: Julien Massot <julien.massot@collabora.com> --- drivers/media/platform/cadence/cdns-csi2rx.c | 1 + 1 file changed, 1 insertion(+)