* [PATCH 1/2] media: ti: j721e-csi2rx: Support RAW12 bayer formats
2026-06-25 15:17 [PATCH 0/2] Support RAW12 bayer formats Yemike Abhilash Chandra
@ 2026-06-25 15:17 ` Yemike Abhilash Chandra
2026-06-25 15:17 ` [PATCH 2/2] media: cadence: csi2rx: " Yemike Abhilash Chandra
` (3 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Yemike Abhilash Chandra @ 2026-06-25 15:17 UTC (permalink / raw)
To: mchehab, mripard, jai.luthra, sakari.ailus
Cc: linux-media, linux-kernel, r-donadkar, devarsht, u-kumar1
From: Jai Luthra <j-luthra@ti.com>
Add support for RAW12 bayer formats in the j721e-csi2rx driver.
Signed-off-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
---
.../platform/ti/j721e-csi2rx/j721e-csi2rx.c | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c b/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
index 4769931b1930..4ba0ba6ad935 100644
--- a/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
+++ b/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
@@ -225,6 +225,30 @@ static const struct ti_csi2rx_fmt ti_csi2rx_formats[] = {
.csi_dt = MIPI_CSI2_DT_RAW10,
.bpp = 16,
.size = SHIM_DMACNTX_SIZE_16,
+ }, {
+ .fourcc = V4L2_PIX_FMT_SBGGR12,
+ .code = MEDIA_BUS_FMT_SBGGR12_1X12,
+ .csi_dt = MIPI_CSI2_DT_RAW12,
+ .bpp = 16,
+ .size = SHIM_DMACNTX_SIZE_16,
+ }, {
+ .fourcc = V4L2_PIX_FMT_SGBRG12,
+ .code = MEDIA_BUS_FMT_SGBRG12_1X12,
+ .csi_dt = MIPI_CSI2_DT_RAW12,
+ .bpp = 16,
+ .size = SHIM_DMACNTX_SIZE_16,
+ }, {
+ .fourcc = V4L2_PIX_FMT_SGRBG12,
+ .code = MEDIA_BUS_FMT_SGRBG12_1X12,
+ .csi_dt = MIPI_CSI2_DT_RAW12,
+ .bpp = 16,
+ .size = SHIM_DMACNTX_SIZE_16,
+ }, {
+ .fourcc = V4L2_PIX_FMT_SRGGB12,
+ .code = MEDIA_BUS_FMT_SRGGB12_1X12,
+ .csi_dt = MIPI_CSI2_DT_RAW12,
+ .bpp = 16,
+ .size = SHIM_DMACNTX_SIZE_16,
}, {
.fourcc = V4L2_PIX_FMT_RGB565X,
.code = MEDIA_BUS_FMT_RGB565_1X16,
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 2/2] media: cadence: csi2rx: Support RAW12 bayer formats
2026-06-25 15:17 [PATCH 0/2] Support RAW12 bayer formats Yemike Abhilash Chandra
2026-06-25 15:17 ` [PATCH 1/2] media: ti: j721e-csi2rx: " Yemike Abhilash Chandra
@ 2026-06-25 15:17 ` Yemike Abhilash Chandra
2026-07-17 13:16 ` [PATCH 0/2] " Jai Luthra
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Yemike Abhilash Chandra @ 2026-06-25 15:17 UTC (permalink / raw)
To: mchehab, mripard, jai.luthra, sakari.ailus
Cc: linux-media, linux-kernel, r-donadkar, devarsht, u-kumar1
From: Jai Luthra <j-luthra@ti.com>
Add support for RAW12 bayer formats in the cadence csi2rx driver.
Signed-off-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
---
drivers/media/platform/cadence/cdns-csi2rx.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/media/platform/cadence/cdns-csi2rx.c b/drivers/media/platform/cadence/cdns-csi2rx.c
index 1ff2d8f78d5b..9e05b3b9ee34 100644
--- a/drivers/media/platform/cadence/cdns-csi2rx.c
+++ b/drivers/media/platform/cadence/cdns-csi2rx.c
@@ -166,6 +166,10 @@ static const struct csi2rx_fmt formats[] = {
{ .code = MEDIA_BUS_FMT_SGBRG10_1X10, .bpp = 10, .max_pixels = 2, },
{ .code = MEDIA_BUS_FMT_SGRBG10_1X10, .bpp = 10, .max_pixels = 2, },
{ .code = MEDIA_BUS_FMT_SRGGB10_1X10, .bpp = 10, .max_pixels = 2, },
+ { .code = MEDIA_BUS_FMT_SBGGR12_1X12, .bpp = 12, .max_pixels = 2, },
+ { .code = MEDIA_BUS_FMT_SGBRG12_1X12, .bpp = 12, .max_pixels = 2, },
+ { .code = MEDIA_BUS_FMT_SGRBG12_1X12, .bpp = 12, .max_pixels = 2, },
+ { .code = MEDIA_BUS_FMT_SRGGB12_1X12, .bpp = 12, .max_pixels = 2, },
{ .code = MEDIA_BUS_FMT_RGB565_1X16, .bpp = 16, .max_pixels = 1, },
{ .code = MEDIA_BUS_FMT_RGB888_1X24, .bpp = 24, .max_pixels = 1, },
{ .code = MEDIA_BUS_FMT_BGR888_1X24, .bpp = 24, .max_pixels = 1, },
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH 0/2] Support RAW12 bayer formats
2026-06-25 15:17 [PATCH 0/2] Support RAW12 bayer formats Yemike Abhilash Chandra
2026-06-25 15:17 ` [PATCH 1/2] media: ti: j721e-csi2rx: " Yemike Abhilash Chandra
2026-06-25 15:17 ` [PATCH 2/2] media: cadence: csi2rx: " Yemike Abhilash Chandra
@ 2026-07-17 13:16 ` Jai Luthra
2026-07-28 6:28 ` Sakari Ailus
2026-08-04 15:51 ` Rishikesh Donadkar
2026-09-03 11:23 ` Yemike Abhilash Chandra
4 siblings, 1 reply; 10+ messages in thread
From: Jai Luthra @ 2026-07-17 13:16 UTC (permalink / raw)
To: Yemike Abhilash Chandra, jai.luthra, mchehab, mripard,
sakari.ailus
Cc: linux-media, linux-kernel, r-donadkar, devarsht, u-kumar1
Hi Abhilash,
Quoting Yemike Abhilash Chandra (2026-06-25 20:47:54)
> Hi,
>
> This small series adds support for RAW12 bayer formats in the j721e-csi2rx
> and cdns-csi2rx.
>
> Testing details: Tested on j722s-evm with v3link + IMX390 downstream driver
> Test logs: https://gist.github.com/Yemike-Abhilash-Chandra/805ec4662b60ad925e979d55a9515f89
> Testing Branch: https://github.com/Yemike-Abhilash-Chandra/linux/tree/RAW12
>
> Jai Luthra (2):
> media: ti: j721e-csi2rx: Support RAW12 bayer formats
> media: cadence: csi2rx: Support RAW12 bayer formats
>
Thanks for the posting these, LGTM.
Sakari,
could you please apply this if it looks good to you too?
Thanks,
Jai
> drivers/media/platform/cadence/cdns-csi2rx.c | 4 ++++
> .../platform/ti/j721e-csi2rx/j721e-csi2rx.c | 24 +++++++++++++++++++
> 2 files changed, 28 insertions(+)
>
> --
> 2.34.1
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH 0/2] Support RAW12 bayer formats
2026-07-17 13:16 ` [PATCH 0/2] " Jai Luthra
@ 2026-07-28 6:28 ` Sakari Ailus
2026-07-28 6:50 ` Jai Luthra
0 siblings, 1 reply; 10+ messages in thread
From: Sakari Ailus @ 2026-07-28 6:28 UTC (permalink / raw)
To: Jai Luthra
Cc: Yemike Abhilash Chandra, jai.luthra, mchehab, mripard,
linux-media, linux-kernel, r-donadkar, devarsht, u-kumar1
Hi Jai,
On Fri, Jul 17, 2026 at 06:46:56PM +0530, Jai Luthra wrote:
> Hi Abhilash,
>
> Quoting Yemike Abhilash Chandra (2026-06-25 20:47:54)
> > Hi,
> >
> > This small series adds support for RAW12 bayer formats in the j721e-csi2rx
> > and cdns-csi2rx.
> >
> > Testing details: Tested on j722s-evm with v3link + IMX390 downstream driver
> > Test logs: https://gist.github.com/Yemike-Abhilash-Chandra/805ec4662b60ad925e979d55a9515f89
> > Testing Branch: https://github.com/Yemike-Abhilash-Chandra/linux/tree/RAW12
> >
> > Jai Luthra (2):
> > media: ti: j721e-csi2rx: Support RAW12 bayer formats
> > media: cadence: csi2rx: Support RAW12 bayer formats
> >
>
> Thanks for the posting these, LGTM.
>
> Sakari,
> could you please apply this if it looks good to you too?
Is that an A-b: or R-b:? :-)
--
Sakari Ailus
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 0/2] Support RAW12 bayer formats
2026-07-28 6:28 ` Sakari Ailus
@ 2026-07-28 6:50 ` Jai Luthra
2026-07-28 13:36 ` Sakari Ailus
0 siblings, 1 reply; 10+ messages in thread
From: Jai Luthra @ 2026-07-28 6:50 UTC (permalink / raw)
To: Sakari Ailus
Cc: Yemike Abhilash Chandra, jai.luthra, mchehab, mripard,
linux-media, linux-kernel, r-donadkar, devarsht, u-kumar1
Hi Sakari,
Quoting Sakari Ailus (2026-07-28 11:58:49)
> Hi Jai,
>
> On Fri, Jul 17, 2026 at 06:46:56PM +0530, Jai Luthra wrote:
> > Hi Abhilash,
> >
> > Quoting Yemike Abhilash Chandra (2026-06-25 20:47:54)
> > > Hi,
> > >
> > > This small series adds support for RAW12 bayer formats in the j721e-csi2rx
> > > and cdns-csi2rx.
> > >
> > > Testing details: Tested on j722s-evm with v3link + IMX390 downstream driver
> > > Test logs: https://gist.github.com/Yemike-Abhilash-Chandra/805ec4662b60ad925e979d55a9515f89
> > > Testing Branch: https://github.com/Yemike-Abhilash-Chandra/linux/tree/RAW12
> > >
> > > Jai Luthra (2):
> > > media: ti: j721e-csi2rx: Support RAW12 bayer formats
> > > media: cadence: csi2rx: Support RAW12 bayer formats
> > >
> >
> > Thanks for the posting these, LGTM.
> >
> > Sakari,
> > could you please apply this if it looks good to you too?
>
> Is that an A-b: or R-b:? :-)
>
Ah I wasn't sure if those tags could apply given I was the original author
of these. But if one is necessary you can add:
Reviewed-by: Jai Luthra <jai.luthra@ideasonboard.com>
Thanks,
Jai
> --
> Sakari Ailus
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH 0/2] Support RAW12 bayer formats
2026-07-28 6:50 ` Jai Luthra
@ 2026-07-28 13:36 ` Sakari Ailus
0 siblings, 0 replies; 10+ messages in thread
From: Sakari Ailus @ 2026-07-28 13:36 UTC (permalink / raw)
To: Jai Luthra
Cc: Yemike Abhilash Chandra, jai.luthra, mchehab, mripard,
linux-media, linux-kernel, r-donadkar, devarsht, u-kumar1
Hi Jai,
On Tue, Jul 28, 2026 at 12:20:40PM +0530, Jai Luthra wrote:
> Hi Sakari,
>
> Quoting Sakari Ailus (2026-07-28 11:58:49)
> > Hi Jai,
> >
> > On Fri, Jul 17, 2026 at 06:46:56PM +0530, Jai Luthra wrote:
> > > Hi Abhilash,
> > >
> > > Quoting Yemike Abhilash Chandra (2026-06-25 20:47:54)
> > > > Hi,
> > > >
> > > > This small series adds support for RAW12 bayer formats in the j721e-csi2rx
> > > > and cdns-csi2rx.
> > > >
> > > > Testing details: Tested on j722s-evm with v3link + IMX390 downstream driver
> > > > Test logs: https://gist.github.com/Yemike-Abhilash-Chandra/805ec4662b60ad925e979d55a9515f89
> > > > Testing Branch: https://github.com/Yemike-Abhilash-Chandra/linux/tree/RAW12
> > > >
> > > > Jai Luthra (2):
> > > > media: ti: j721e-csi2rx: Support RAW12 bayer formats
> > > > media: cadence: csi2rx: Support RAW12 bayer formats
> > > >
> > >
> > > Thanks for the posting these, LGTM.
> > >
> > > Sakari,
> > > could you please apply this if it looks good to you too?
> >
> > Is that an A-b: or R-b:? :-)
> >
>
> Ah I wasn't sure if those tags could apply given I was the original author
> of these. But if one is necessary you can add:
Ah, I missed that. In this case it's not needed.
>
> Reviewed-by: Jai Luthra <jai.luthra@ideasonboard.com>
--
Regards,
Sakari Ailus
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 0/2] Support RAW12 bayer formats
2026-06-25 15:17 [PATCH 0/2] Support RAW12 bayer formats Yemike Abhilash Chandra
` (2 preceding siblings ...)
2026-07-17 13:16 ` [PATCH 0/2] " Jai Luthra
@ 2026-08-04 15:51 ` Rishikesh Donadkar
2026-09-03 11:23 ` Yemike Abhilash Chandra
4 siblings, 0 replies; 10+ messages in thread
From: Rishikesh Donadkar @ 2026-08-04 15:51 UTC (permalink / raw)
To: Yemike Abhilash Chandra, mchehab, mripard, jai.luthra,
sakari.ailus
Cc: linux-media, linux-kernel, devarsht, u-kumar1
On 25/06/26 20:47, Yemike Abhilash Chandra wrote:
> Hi,
>
> This small series adds support for RAW12 bayer formats in the j721e-csi2rx
> and cdns-csi2rx.
Hi Abhilash,
Thank you for the patches
For the entire series,
Reviewed-by: Rishikesh Donadkar <r-donadkar@ti.com>
Rishikesh
>
> Testing details: Tested on j722s-evm with v3link + IMX390 downstream driver
> Test logs: https://gist.github.com/Yemike-Abhilash-Chandra/805ec4662b60ad925e979d55a9515f89
> Testing Branch: https://github.com/Yemike-Abhilash-Chandra/linux/tree/RAW12
>
> Jai Luthra (2):
> media: ti: j721e-csi2rx: Support RAW12 bayer formats
> media: cadence: csi2rx: Support RAW12 bayer formats
>
> drivers/media/platform/cadence/cdns-csi2rx.c | 4 ++++
> .../platform/ti/j721e-csi2rx/j721e-csi2rx.c | 24 +++++++++++++++++++
> 2 files changed, 28 insertions(+)
>
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH 0/2] Support RAW12 bayer formats
2026-06-25 15:17 [PATCH 0/2] Support RAW12 bayer formats Yemike Abhilash Chandra
` (3 preceding siblings ...)
2026-08-04 15:51 ` Rishikesh Donadkar
@ 2026-09-03 11:23 ` Yemike Abhilash Chandra
2026-09-04 9:02 ` Sakari Ailus
4 siblings, 1 reply; 10+ messages in thread
From: Yemike Abhilash Chandra @ 2026-09-03 11:23 UTC (permalink / raw)
To: mchehab, mripard, jai.luthra, sakari.ailus
Cc: linux-media, linux-kernel, r-donadkar, devarsht, u-kumar1
Hi Sakari,
On 25/06/26 20:47, Yemike Abhilash Chandra wrote:
> Hi,
>
> This small series adds support for RAW12 bayer formats in the j721e-csi2rx
> and cdns-csi2rx.
>
> Testing details: Tested on j722s-evm with v3link + IMX390 downstream driver
> Test logs: https://gist.github.com/Yemike-Abhilash-Chandra/805ec4662b60ad925e979d55a9515f89
> Testing Branch: https://github.com/Yemike-Abhilash-Chandra/linux/tree/RAW12
>
> Jai Luthra (2):
> media: ti: j721e-csi2rx: Support RAW12 bayer formats
> media: cadence: csi2rx: Support RAW12 bayer formats
>
May I know if this series is in line to be picked up in this cycle?
Thanks and Regards,
Yemike Abhilash Chandra
> drivers/media/platform/cadence/cdns-csi2rx.c | 4 ++++
> .../platform/ti/j721e-csi2rx/j721e-csi2rx.c | 24 +++++++++++++++++++
> 2 files changed, 28 insertions(+)
>
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH 0/2] Support RAW12 bayer formats
2026-09-03 11:23 ` Yemike Abhilash Chandra
@ 2026-09-04 9:02 ` Sakari Ailus
0 siblings, 0 replies; 10+ messages in thread
From: Sakari Ailus @ 2026-09-04 9:02 UTC (permalink / raw)
To: Yemike Abhilash Chandra
Cc: mchehab, mripard, jai.luthra, linux-media, linux-kernel,
r-donadkar, devarsht, u-kumar1
Hi Yemike,
On Thu, Sep 03, 2026 at 04:53:52PM +0530, Yemike Abhilash Chandra wrote:
> Hi Sakari,
>
> On 25/06/26 20:47, Yemike Abhilash Chandra wrote:
> > Hi,
> >
> > This small series adds support for RAW12 bayer formats in the j721e-csi2rx
> > and cdns-csi2rx.
> >
> > Testing details: Tested on j722s-evm with v3link + IMX390 downstream driver
> > Test logs: https://gist.github.com/Yemike-Abhilash-Chandra/805ec4662b60ad925e979d55a9515f89
> > Testing Branch: https://github.com/Yemike-Abhilash-Chandra/linux/tree/RAW12
> >
> > Jai Luthra (2):
> > media: ti: j721e-csi2rx: Support RAW12 bayer formats
> > media: cadence: csi2rx: Support RAW12 bayer formats
> >
>
> May I know if this series is in line to be picked up in this cycle?
Thanks for the ping. It's in my tree now and I'll merge it shortly.
--
Sakari Ailus
^ permalink raw reply [flat|nested] 10+ messages in thread