[PATCH 0/1][SRU][R] UBUNTU: SAUCE: media: ipu-bridge: add TBE20A0 ACPI id for Sony IMX471
You-Sheng Yang
vicamo.yang at canonical.com
Wed Apr 8 10:48:32 UTC 2026
BugLink: https://launchpad.net/bugs/2138841
[Impact]
Some OEM platforms has the camera sensor mounted upside down and it
takes the V4L2 vflip/hflip feature to cover the hardware design.
[Fix]
While IMX471 is not yet upstreamed, the proposed fixes lives in Intel's
repositories as:
* https://github.com/intel/ipu6-drivers/pull/415
* https://github.com/intel/ipu7-camera-hal/pull/31
[Test Plan]
1. Locate the device:
```
$ media-ctl -p
Media controller API version 6.17.13
Media device information
------------------------
driver intel-ipu7
model ipu7
serial
bus info PCI:0000:00:05.0
hw revision 0x17aa2355
driver version 6.17.13
Device topology
...
- entity 233: imx471 0-001a (1 pad, 1 link, 0 routes)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev4
pad0: Source
[stream:0 fmt:SRGGB10_1X10/1928x1088 field:none]
-> "Intel IPU7 CSI2 0":0 [ENABLED,IMMUTABLE]
```
2. Enumerate supported controls:
```
$ v4l2-ctl -l -d /dev/v4l-subdev4
User Controls
exposure 0x00980911 (int) : min=1 max=1290 step=1 default=1270 value=1270 flags=0x00001000
horizontal_flip 0x00980914 (bool) : default=0 value=0 flags=0x00001000
vertical_flip 0x00980915 (bool) : default=0 value=0 flags=0x00001000
...
```
3. Test setting VFLIP/HFLIP:
```
$ v4l2-ctl --set-ctrl vertical_flip=1 -d /dev/v4l-subdev4
$ v4l2-ctl --get-ctrl vertical_flip -d /dev/v4l-subdev4
vertical_flip: 1
$ v4l2-ctl --set-ctrl horizontal_flip=1 -d /dev/v4l-subdev4
$ v4l2-ctl --get-ctrl horizontal_flip -d /dev/v4l-subdev4
horizontal_flip: 1
```
4. Check camera streaming:
```
$ sudo gst-launch-1.0 icamerasrc ! videoconvert ! autovideosink
```
[Where problems could occur]
This adds driver implementation of a device supported feature for V4L2
VFLIP/HFLIP control API by writing corresponding values to device
register. Simple and straightforward and limited to the device.
[Other Info]
N/A.
Serin Yeh (1):
UBUNTU: SAUCE: media: ipu-bridge: add TBE20A0 ACPI id for Sony IMX471
drivers/media/pci/intel/ipu-bridge.c | 1 +
1 file changed, 1 insertion(+)
--
2.53.0
More information about the kernel-team
mailing list