Skip to content

config: ipu75xa: add ISX031 direct MIPI resolutions - #67

Open
sudhirehl wants to merge 1 commit into
intel:mainfrom
sudhirehl:isx031-direct-mipi-resolutions
Open

config: ipu75xa: add ISX031 direct MIPI resolutions#67
sudhirehl wants to merge 1 commit into
intel:mainfrom
sudhirehl:isx031-direct-mipi-resolutions

Conversation

@sudhirehl

@sudhirehl sudhirehl commented Aug 24, 2026

Copy link
Copy Markdown

Add 1920x1536 and 1280x720 MediaCtlConfig entries for the ISX031 direct-MIPI
runtime configuration.

Publish the new modes through supportedStreamConfig and supportedISysSizes.

Keep 1920x1080 as mcId 0, with 1920x1536 as mcId 1 and 1280x720 as mcId 2.

Validated on IPU7 direct MIPI (isx031-a, CSI2 port 0, no GMSL deserializer),
for example 1920x1536 @60:

media-ctl -d /dev/media0 -V '"isx031 1-001a":0 [fmt:UYVY8_1X16/1920x1536]'
v4l2-ctl -d /dev/v4l-subdev4 --set-subdev-fps pad=0,fps=60
gst-launch-1.0 icamerasrc num-buffers=-1 num-vc=1 scene-mode=normal
device-name=isx031-a printfps=true io-mode=mmap
! video/x-raw,format=UYVY,width=1920,height=1536 ! fakesink sync=false

Total frame is:829 Camera name:isx031-a(Id:8) Stream Id:0
Max fps is:60.0050,Minimum fps is:59.9995,Average fps is:60.0021

1920x1536 @30, 1920x1080 @60, 1920x1080 @30 and 1280x720 @30 were checked the
same way and all held the requested rate. Confirm the sensor is programmed at
the requested rate with --get-subdev-fps before capturing; --set-subdev-fps
does not always take effect after a format change.

isx031-b is the unpopulated second port, so it is untested.

Add 1920x1536 and 1280x720 MediaCtlConfig entries for the ISX031 direct-MIPI
runtime configuration.

Publish the new modes through supportedStreamConfig and supportedISysSizes.

Keep 1920x1080 as mcId 0, with 1920x1536 as mcId 1 and 1280x720 as mcId 2.

Validated on IPU7 direct MIPI (isx031-a, CSI2 port 0, no GMSL deserializer),
for example 1920x1536 @60:

  media-ctl -d /dev/media0 -V '"isx031 1-001a":0 [fmt:UYVY8_1X16/1920x1536]'
  v4l2-ctl -d /dev/v4l-subdev4 --set-subdev-fps pad=0,fps=60
  gst-launch-1.0 icamerasrc num-buffers=-1 num-vc=1 scene-mode=normal \
      device-name=isx031-a printfps=true io-mode=mmap \
    ! video/x-raw,format=UYVY,width=1920,height=1536 ! fakesink sync=false

  Total frame is:829  Camera name:isx031-a(Id:8) Stream Id:0
  Max fps is:60.0050,Minimum fps is:59.9995,Average fps is:60.0021

1920x1536 @30, 1920x1080 @60, 1920x1080 @30 and 1280x720 @30 were checked the
same way and all held the requested rate. Confirm the sensor is programmed at
the requested rate with --get-subdev-fps before capturing; --set-subdev-fps
does not always take effect after a format change.

isx031-b is the unpopulated second port, so it is untested.

Signed-off-by: Sudhir Sharma <sudhir.sharma@intel.com>
@sudhirehl
sudhirehl force-pushed the isx031-direct-mipi-resolutions branch 3 times, most recently from 681f22d to 694e6c8 Compare August 24, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant