[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f6762a0e-8cb9-4097-b33d-42c6334989fc@microchip.com>
Date: Wed, 15 Oct 2025 05:26:12 +0000
From: <Balamanikandan.Gunasundar@...rochip.com>
To: <eugen.hristev@...aro.org>
CC: <3chas3@...il.com>, <Nicolas.Ferre@...rochip.com>,
<alexandre.belloni@...tlin.com>, <claudiu.beznea@...on.dev>,
<Balakrishnan.S@...rochip.com>, <hverkuil@...nel.org>,
<ribalda@...omium.org>, <laurent.pinchart+renesas@...asonboard.com>,
<jacopo.mondi@...asonboard.com>, <dan.scally+renesas@...asonboard.com>,
<tomi.valkeinen@...asonboard.com>, <linux-kernel@...r.kernel.org>,
<linux-media@...r.kernel.org>, <linux-atm-general@...ts.sourceforge.net>,
<netdev@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<mchehab@...nel.org>
Subject: Re: [PATCH 00/18] media: microchip-isc: Color correction and
histogram stats
On 10/10/25 1:41 am, Eugen Hristev wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> Hi Bala,
>
> On 10/9/25 18:52, Balamanikandan Gunasundar wrote:
>> Hi,
>>
>> This patch series has a set of enhancements to the Microchip Image Sensor
>> Controller driver. The objective is to expand its image processing
>> capabilities and to improve the colors.
>>
>> This series also introduces a new stats driver that exposes the histogram
>> data to userspace via v4l2 controls. This allows applications such as
>> libcamera to access real time image statistics for advanced image
>> processing like automatic exposure, white balance adjustments etc.
>>
>> Balakrishnan Sambath (11):
>> media: microchip-isc: Enable GDC and CBC module flags for RGB formats
>> media: microchip-isc: Improve histogram calculation with outlier
>> rejection
>> media: microchip-isc: Use channel averages for Grey World AWB
>> media: microchip-isc: Add range based black level correction
>> media: platform: microchip: Extend gamma table and control range
>> media: platform: microchip: Add new histogram submodule
>> media: microchip-isc: Register and unregister statistics device
>> media: microchip-isc: Always enable histogram for all RAW formats
>> media: microchip-isc: fix histogram state initialization order
>> media: microchip-isc: decouple histogram cycling from AWB mode
>> media: microchip-isc: enable userspace histogram statistics export
>>
>> Balamanikandan Gunasundar (7):
>> media: platform: microchip: set maximum resolution for sam9x7
>> media: platform: microchip: Include DPC modules flags in pipeline
>> media: microchip-isc: expose hue and saturation as v4l2 controls
>> media: microchip-isc: Rename CBC to CBHS
>> media: microchip-isc: Store histogram data of all channels
>> media: videodev2.h, v4l2-ioctl: Add microchip statistics format
>> media: microchip-isc: expose color correction registers as v4l2
>> controls
>>
>> drivers/media/platform/microchip/Kconfig | 2 +
>> drivers/media/platform/microchip/Makefile | 2 +-
>> .../platform/microchip/microchip-isc-base.c | 373 ++++++++++--
>> .../platform/microchip/microchip-isc-regs.h | 3 +
>> .../platform/microchip/microchip-isc-stats.c | 549 ++++++++++++++++++
>> .../media/platform/microchip/microchip-isc.h | 44 +-
>> .../microchip/microchip-sama5d2-isc.c | 2 +-
>> .../microchip/microchip-sama7g5-isc.c | 73 ++-
>> drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
>> include/linux/atmel-isc-media.h | 13 +
>> include/uapi/linux/videodev2.h | 3 +
>> 11 files changed, 1001 insertions(+), 64 deletions(-)
>> create mode 100644 drivers/media/platform/microchip/microchip-isc-stats.c
>>
> This looks interesting.
> I would like to see the compliance tool output for more platforms
> (sama7g5, sama5d2, and the new sam9x7), also the media-ctl -p , to see
> the topology with your new driver.
>
> Thanks,
> Eugen
Please find the output below,
-------- sama7g5ek --------
root@...a7g5ek-sd:~# v4l2-compliance -d /dev/video0
v4l2-compliance 1.26.1-5142, 32 bits, 64-bit time_t
v4l2-compliance SHA: 4aee01a02792 2023-12-12 21:40:38
Compliance test for microchip-isc device /dev/video0:
Driver Info:
Driver name : microchip-isc
Card type : Microchip Image Sensor Controll
Bus info : platform:e1408000.xisc
Driver version : 6.12.48
Capabilities : 0xa4200001
Video Capture
I/O MC
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x24200001
Video Capture
I/O MC
Streaming
Extended Pix Format
Media Driver Info:
Driver name : microchip_isc_c
Model : microchip,sama7g5-isc
Serial :
Bus info : platform:e1408000.xisc
Media version : 6.12.48
Hardware revision: 0x00000220 (544)
Driver version : 6.12.48
Interface Info:
ID : 0x0300001a
Type : V4L Video
Entity Info:
ID : 0x00000018 (24)
Name : microchip_isc_common
Function : V4L2 I/O
Flags : default
Pad 0x01000019 : 0: Sink
Link 0x02000022: from remote pad 0x1000003 of entity
'microchip_isc_scaler' (Video Scaler): Data, Enabled, Immutable
Required ioctls:
test MC information (see 'Media Driver Info' above): OK
test VIDIOC_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/video0 open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
test VIDIOC_LOG_STATUS: OK
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 1 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls (Input 0):
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 8 Private Controls: 20
Format ioctls (Input 0):
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK
test VIDIOC_TRY_FMT: OK
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK
Codec ioctls (Input 0):
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls (Input 0):
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
test CREATE_BUFS maximum buffers: OK
test VIDIOC_EXPBUF: OK
test Requests: OK (Not Supported)
test TIME32/64: OK
Total for microchip-isc device /dev/video0: 48, Succeeded: 48, Failed:
0, Warnings: 0
root@...a7g5ek-sd:~# v4l2-compliance -d /dev/video1
v4l2-compliance 1.26.1-5142, 32 bits, 64-bit time_t
v4l2-compliance SHA: 4aee01a02792 2023-12-12 21:40:38
Compliance test for microchip-isc device /dev/video1:
Driver Info:
Driver name : microchip-isc
Card type : microchip-isc_stats
Bus info : platform:microchip-isc
Driver version : 6.12.48
Capabilities : 0x84a00000
Metadata Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04a00000
Metadata Capture
Streaming
Extended Pix Format
Media Driver Info:
Driver name : microchip_isc_c
Model : microchip,sama7g5-isc
Serial :
Bus info : platform:e1408000.xisc
Media version : 6.12.48
Hardware revision: 0x00000220 (544)
Driver version : 6.12.48
Interface Info:
ID : 0x0300001e
Type : V4L Video
Entity Info:
ID : 0x0000001c (28)
Name : microchip-isc_stats
Function : V4L2 I/O
Pad 0x0100001d : 0: Sink
Required ioctls:
test MC information (see 'Media Driver Info' above): OK
warn: v4l2-compliance.cpp(670): media bus_info
'platform:e1408000.xisc' differs from V4L2 bus_info 'platform:microchip-isc'
test VIDIOC_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/video1 open: OK
warn: v4l2-compliance.cpp(670): media bus_info
'platform:e1408000.xisc' differs from V4L2 bus_info 'platform:microchip-isc'
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported)
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK (Not Supported)
test VIDIOC_QUERYCTRL: OK (Not Supported)
test VIDIOC_G/S_CTRL: OK (Not Supported)
test VIDIOC_G/S/TRY_EXT_CTRLS: OK (Not Supported)
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK (Not Supported)
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 0 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK
test VIDIOC_TRY_FMT: OK
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
test CREATE_BUFS maximum buffers: OK
test VIDIOC_EXPBUF: OK
test Requests: OK (Not Supported)
test TIME32/64: OK
Total for microchip-isc device /dev/video1: 48, Succeeded: 48, Failed:
0, Warnings: 2
root@...a7g5ek-sd:~# media-ctl -p
Media controller API version 6.12.48
Media device information
------------------------
driver microchip_isc_c
model microchip,sama7g5-isc
serial
bus info platform:e1408000.xisc
hw revision 0x220
driver version 6.12.48
Device topology
- entity 1: microchip_isc_scaler (2 pads, 2 links, 0 routes)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
[stream:0 fmt:SBGGR8_1X8/3264x2464 field:none
colorspace:srgb
crop.bounds:(0,0)/3264x2464
crop:(0,0)/3264x2464]
<- "csi2dc":1 [ENABLED,IMMUTABLE]
pad1: Source
[stream:0 fmt:SBGGR8_1X8/3264x2464 field:none
colorspace:srgb]
-> "microchip_isc_common":0 [ENABLED,IMMUTABLE]
- entity 4: csi2dc (2 pads, 2 links, 0 routes)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Sink
[stream:0 fmt:SRGGB8_1X8/640x480 field:none
colorspace:srgb]
<- "dw-csi.0":1 [ENABLED]
pad1: Source
[stream:0 fmt:SRGGB8_1X8/640x480 field:none
colorspace:srgb]
-> "microchip_isc_scaler":0 [ENABLED,IMMUTABLE]
- entity 7: dw-csi.0 (2 pads, 2 links, 0 routes)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev2
pad0: Sink
[stream:0 fmt:SBGGR8_1X8/0x0]
<- "imx219 1-0010":0 [ENABLED]
pad1: Source
[stream:0 fmt:SBGGR8_1X8/0x0]
-> "csi2dc":0 [ENABLED]
- entity 12: imx219 1-0010 (1 pad, 1 link, 0 routes)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev3
pad0: Source
[stream:0 fmt:SRGGB10_1X10/3280x2464 field:none
colorspace:raw xfer:none ycbcr:601 quantization:full-range
crop.bounds:(8,8)/3280x2464
crop:(8,8)/3280x2464]
-> "dw-csi.0":0 [ENABLED]
- entity 24: microchip_isc_common (1 pad, 1 link)
type Node subtype V4L flags 1
device node name /dev/video0
pad0: Sink
<- "microchip_isc_scaler":1 [ENABLED,IMMUTABLE]
- entity 28: microchip-isc_stats (1 pad, 0 link)
type Node subtype V4L flags 0
device node name /dev/video1
pad0: Sink
-------------sam9x75_curiosity------------------
root@...9x75-curiosity-sd:~# v4l2-compliance -d /dev/video0
v4l2-compliance 1.26.1-5142, 32 bits, 64-bit time_t
v4l2-compliance SHA: 4aee01a02792 2023-12-12 21:40:38
Compliance test for microchip-isc device /dev/video0:
Driver Info:
Driver name : microchip-isc
Card type : Microchip Image Sensor Controll
Bus info : platform:f8048000.xisc
Driver version : 6.12.48
Capabilities : 0xa4200001
Video Capture
I/O MC
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x24200001
Video Capture
I/O MC
Streaming
Extended Pix Format
Media Driver Info:
Driver name : microchip_isc_c
Model : microchip,sama7g5-isc
Serial :
Bus info : platform:f8048000.xisc
Media version : 6.12.48
Hardware revision: 0x00010260 (66144)
Driver version : 6.12.48
Interface Info:
ID : 0x0300001a
Type : V4L Video
Entity Info:
ID : 0x00000018 (24)
Name : microchip_isc_common
Function : V4L2 I/O
Flags : default
Pad 0x01000019 : 0: Sink
Link 0x02000022: from remote pad 0x1000003 of entity
'microchip_isc_scaler' (Video Scaler): Data, Enabled, Immutable
Required ioctls:
test MC information (see 'Media Driver Info' above): OK
test VIDIOC_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/video0 open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
test VIDIOC_LOG_STATUS: OK
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 1 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls (Input 0):
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
test VIDIOC_QUERYCTRL: OK
test VIDIOC_G/S_CTRL: OK
test VIDIOC_G/S/TRY_EXT_CTRLS: OK
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 8 Private Controls: 20
Format ioctls (Input 0):
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK
test VIDIOC_TRY_FMT: OK
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK
Codec ioctls (Input 0):
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls (Input 0):
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
test CREATE_BUFS maximum buffers: OK
test VIDIOC_EXPBUF: OK
test Requests: OK (Not Supported)
test TIME32/64: OK
Total for microchip-isc device /dev/video0: 48, Succeeded: 48, Failed:
0, Warnings: 0
root@...9x75-curiosity-sd:~# v4l2-compliance -d /dev/video1
v4l2-compliance 1.26.1-5142, 32 bits, 64-bit time_t
v4l2-compliance SHA: 4aee01a02792 2023-12-12 21:40:38
Compliance test for microchip-isc device /dev/video1:
Driver Info:
Driver name : microchip-isc
Card type : microchip-isc_stats
Bus info : platform:microchip-isc
Driver version : 6.12.48
Capabilities : 0x84a00000
Metadata Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04a00000
Metadata Capture
Streaming
Extended Pix Format
Media Driver Info:
Driver name : microchip_isc_c
Model : microchip,sama7g5-isc
Serial :
Bus info : platform:f8048000.xisc
Media version : 6.12.48
Hardware revision: 0x00010260 (66144)
Driver version : 6.12.48
Interface Info:
ID : 0x0300001e
Type : V4L Video
Entity Info:
ID : 0x0000001c (28)
Name : microchip-isc_stats
Function : V4L2 I/O
Pad 0x0100001d : 0: Sink
Required ioctls:
test MC information (see 'Media Driver Info' above): OK
warn: v4l2-compliance.cpp(670): media bus_info
'platform:f8048000.xisc' differs from V4L2 bus_info 'platform:microchip-isc'
test VIDIOC_QUERYCAP: OK
test invalid ioctls: OK
Allow for multiple opens:
test second /dev/video1 open: OK
warn: v4l2-compliance.cpp(670): media bus_info
'platform:f8048000.xisc' differs from V4L2 bus_info 'platform:microchip-isc'
test VIDIOC_QUERYCAP: OK
test VIDIOC_G/S_PRIORITY: OK
test for unlimited opens: OK
Debug ioctls:
test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
test VIDIOC_LOG_STATUS: OK (Not Supported)
Input ioctls:
test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
test VIDIOC_ENUMAUDIO: OK (Not Supported)
test VIDIOC_G/S/ENUMINPUT: OK (Not Supported)
test VIDIOC_G/S_AUDIO: OK (Not Supported)
Inputs: 0 Audio Inputs: 0 Tuners: 0
Output ioctls:
test VIDIOC_G/S_MODULATOR: OK (Not Supported)
test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
test VIDIOC_ENUMAUDOUT: OK (Not Supported)
test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
test VIDIOC_G/S_AUDOUT: OK (Not Supported)
Outputs: 0 Audio Outputs: 0 Modulators: 0
Input/Output configuration ioctls:
test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
test VIDIOC_G/S_EDID: OK (Not Supported)
Control ioctls:
test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK (Not Supported)
test VIDIOC_QUERYCTRL: OK (Not Supported)
test VIDIOC_G/S_CTRL: OK (Not Supported)
test VIDIOC_G/S/TRY_EXT_CTRLS: OK (Not Supported)
test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK (Not Supported)
test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
Standard Controls: 0 Private Controls: 0
Format ioctls:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
test VIDIOC_G/S_PARM: OK (Not Supported)
test VIDIOC_G_FBUF: OK (Not Supported)
test VIDIOC_G_FMT: OK
test VIDIOC_TRY_FMT: OK
test VIDIOC_S_FMT: OK
test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
test Cropping: OK (Not Supported)
test Composing: OK (Not Supported)
test Scaling: OK (Not Supported)
Codec ioctls:
test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
test VIDIOC_G_ENC_INDEX: OK (Not Supported)
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)
Buffer ioctls:
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
test CREATE_BUFS maximum buffers: OK
test VIDIOC_EXPBUF: OK
test Requests: OK (Not Supported)
test TIME32/64: OK
Total for microchip-isc device /dev/video1: 48, Succeeded: 48, Failed:
0, Warnings: 2
root@...9x75-curiosity-sd:~# media-ctl -p
Media controller API version 6.12.48
Media device information
------------------------
driver microchip_isc_c
model microchip,sama7g5-isc
serial
bus info platform:f8048000.xisc
hw revision 0x10260
driver version 6.12.48
Device topology
- entity 1: microchip_isc_scaler (2 pads, 2 links, 0 routes)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
[stream:0 fmt:SBGGR8_1X8/2560x1920 field:none
colorspace:srgb
crop.bounds:(0,0)/2560x1920
crop:(0,0)/2560x1920]
<- "csi2dc":1 [ENABLED,IMMUTABLE]
pad1: Source
[stream:0 fmt:SBGGR8_1X8/2560x1920 field:none
colorspace:srgb]
-> "microchip_isc_common":0 [ENABLED,IMMUTABLE]
- entity 4: csi2dc (2 pads, 2 links, 0 routes)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Sink
[stream:0 fmt:SRGGB8_1X8/640x480 field:none
colorspace:srgb]
<- "dw-csi.0":1 [ENABLED]
pad1: Source
[stream:0 fmt:SRGGB8_1X8/640x480 field:none
colorspace:srgb]
-> "microchip_isc_scaler":0 [ENABLED,IMMUTABLE]
- entity 7: dw-csi.0 (2 pads, 2 links, 0 routes)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev2
pad0: Sink
[stream:0 fmt:SBGGR8_1X8/0x0]
<- "imx219 0-0010":0 [ENABLED]
pad1: Source
[stream:0 fmt:SBGGR8_1X8/0x0]
-> "csi2dc":0 [ENABLED]
- entity 12: imx219 0-0010 (1 pad, 1 link, 0 routes)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev3
pad0: Source
[stream:0 fmt:SRGGB10_1X10/3280x2464 field:none
colorspace:raw xfer:none ycbcr:601 quantization:full-range
crop.bounds:(8,8)/3280x2464
crop:(8,8)/3280x2464]
-> "dw-csi.0":0 [ENABLED]
- entity 24: microchip_isc_common (1 pad, 1 link)
type Node subtype V4L flags 1
device node name /dev/video0
pad0: Sink
<- "microchip_isc_scaler":1 [ENABLED,IMMUTABLE]
- entity 28: microchip-isc_stats (1 pad, 0 link)
type Node subtype V4L flags 0
device node name /dev/video1
pad0: Sink
I will get you the output for sama5d2 shortly.
Thanks,
Bala
Powered by blists - more mailing lists