Support ov05c10 camera sensor in Intel ipu-bridge

Bug #2081866 reported by You-Sheng Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
In Progress
High
You-Sheng Yang
Noble
Won't Fix
Undecided
Unassigned
Oracular
In Progress
High
You-Sheng Yang
linux-oem-6.11 (Ubuntu)
Invalid
Undecided
Unassigned
Noble
Fix Committed
High
You-Sheng Yang
Oracular
Invalid
Undecided
Unassigned

Bug Description

[SRU Justification]

BugLink: https://bugs.launchpad.net/bugs/2081866

[Impact]

Camera sensor ov05c10 is not probed automatically:
```
$ cat /sys/bus/acpi/devices/OVTI05C1:00/status
15
$ sudo dmesg | grep ipu
...
intel-ipu7 intel-ipu7: no subdev found in graph
intel_ipu7_psys.psys intel_ipu7.psys.40: psys probe minor: 0
```

[Fix]

* https://github.com/intel/ipu6-drivers/blob/master/patch/v6.8/0012-media-Support-ov05c10-camera-sensor.patch

[Test Case]

The new camera sensor should be probed automatically and function well:
```
$ sudo dmesg | grep ipu
...
intel-ipu7 intel-ipu7: Found supported sensor OVTI05C1:00
intel-ipu7 intel-ipu7: Connected 1 cameras
...
intel_ipu7_isys.isys intel_ipu7.isys.40: bind ov05c10 13-0010 nlanes is 2 port is 0
intel_ipu7_isys.isys intel_ipu7.isys.40: All sensor registration completed.
```

[Where problems could occur]

Some of the IPU6/IPU7 camera sensor drivers are not yet upstreamed, and ov05c10 is one of them. Expect further turning/bug fixes.

[Other Info]

While ov05c10 is currently only used on Intel Lunar Lake platform with oem-6.11 kernel, we will target kernels >= 6.11 at least for now. Nominating for Unstable-6.12, Oracular-6.11 and certainly OEM-6.11.

============ original bug report ============

Proposed fix: https://github.com/intel/ipu6-drivers/blob/master/patch/v6.8/0012-media-Support-ov05c10-camera-sensor.patch

Camera sensor driver is only available in ipu6-drivers/oracular >= 0~git202407190257.9369b88e-0ubuntu1, which is only compiled along with v6.11 kernels such as linux-6.11/oracular and linux-oem-6.11/noble.
---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/seq: ubuntu 2618 F.... pipewire
CRDA: N/A
CasperMD5CheckResult: pass
DistroRelease: Ubuntu 24.04
InstallationDate: Installed on 2024-10-21 (0 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
IwConfig:
 lo no wireless extensions.

 enx00e04c6801fa no wireless extensions.
MachineType: Dell Inc. Dell Pro 13 Plus PB13250
Package: linux-oem-6.11 (not installed)
ProcFB: 0 xedrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-1006-oem root=UUID=ba7b5ccb-fe87-4a1f-bf80-21c345ae57fc ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.11.0-1006.6-oem 6.11.0
RelatedPackageVersions:
 linux-restricted-modules-6.11.0-1006-oem N/A
 linux-backports-modules-6.11.0-1006-oem N/A
 linux-firmware 20240318.git3b128b60-0ubuntu2.4
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
Tags: noble
Uname: Linux 6.11.0-1006-oem x86_64
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: False
dmi.bios.date: 09/23/2024
dmi.bios.release: 89.7
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 89.7.35
dmi.board.name: 0VE01B
dmi.board.vendor: Dell Inc.
dmi.board.version: D02
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.ec.firmware.release: 0.0
dmi.modalias: dmi:bvnDellInc.:bvr89.7.35:bd09/23/2024:br89.7:efr0.0:svnDellInc.:pnDellPro13PlusPB13250:pvr:rvnDellInc.:rn0VE01B:rvrD02:cvnDellInc.:ct10:cvr:sku0CDB:
dmi.product.family: Dell Pro Laptops
dmi.product.name: Dell Pro 13 Plus PB13250
dmi.product.sku: 0CDB
dmi.sys.vendor: Dell Inc.

You-Sheng Yang (vicamo)
tags: added: jira-somerville-1210
Revision history for this message
You-Sheng Yang (vicamo) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected noble
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote : CurrentDmesg.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lspci.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lspci-vt.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb-t.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb-v.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcEnviron.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcInterrupts.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcModules.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : UdevDb.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : WifiSyslog.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : acpidump.txt

apport information

Changed in linux-oem-6.11 (Ubuntu Oracular):
status: New → Invalid
Changed in linux-oem-6.11 (Ubuntu):
status: New → Invalid
Changed in linux (Ubuntu Noble):
status: New → Incomplete
status: Incomplete → Won't Fix
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Add dmesg log with messages of an enabled sensor.

[ 2.891067] intel-ipu7 intel-ipu7: enabling device (0000 -> 0002)
[ 2.891074] intel-ipu7 intel-ipu7: Device 0x645d (rev: 0x4)
[ 2.891075] intel-ipu7 intel-ipu7: IPU7 PCI BAR0 base 3012000000 BAR2 base 301533a000
[ 2.891096] intel-ipu7 intel-ipu7: IPU7 PCI BAR0 mapped at 00000000bd5bcf81
[ 2.892807] intel-ipu7 intel-ipu7: IPU7 SKU 0 in secure mode mask 0x0
[ 2.906272] intel-ipu7 intel-ipu7: firmware cpd file: intel/ipu/ipu7_fw.bin
[ 2.907916] intel-ipu7 intel-ipu7: FW binary0 info:
[ 2.907919] intel-ipu7 intel-ipu7: Name: psys
[ 2.907919] intel-ipu7 intel-ipu7: Version: 1.1.9.240627135220
[ 2.907920] intel-ipu7 intel-ipu7: Timestamp: build_id:331942702
[ 2.907920] intel-ipu7 intel-ipu7: Commit: commit_id:d84f5c35
[ 2.907921] intel-ipu7 intel-ipu7: FW binary1 info:
[ 2.907921] intel-ipu7 intel-ipu7: Name: isys
[ 2.907922] intel-ipu7 intel-ipu7: Version: 1.1.9.240627135318
[ 2.907922] intel-ipu7 intel-ipu7: Timestamp: build_id:3823931988
[ 2.907923] intel-ipu7 intel-ipu7: Commit: commit_id:d84f5c35
[ 2.927682] intel-ipu7 intel-ipu7: Found supported sensor OVTI05C1:00
[ 2.927717] intel-ipu7 intel-ipu7: Connected 1 cameras
[ 2.928216] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[ 2.928220] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[ 2.929850] intel-ipu7 intel-ipu7: Sending BOOT_LOAD to CSE
[ 2.930181] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[ 2.930185] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[ 2.930409] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[ 2.930412] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[ 2.990049] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[ 2.990052] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[ 2.993059] intel-ipu7 intel-ipu7: Sending AUTHENTICATE_RUN to CSE
[ 2.993110] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[ 2.993114] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[ 2.993147] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[ 2.993148] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[ 3.022430] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[ 3.022437] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[ 3.022457] intel-ipu7 intel-ipu7: CSE authenticate_run done
[ 4.039596] intel_ipu7_psys.psys intel_ipu7.psys.40: psys probe minor: 0
[ 4.266215] intel_ipu7_isys.isys intel_ipu7.isys.40: bind ov05c10 13-0010 nlanes is 2 port is 0
[ 4.266408] intel_ipu7_isys.isys intel_ipu7.isys.40: All sensor registration completed.

Changed in linux (Ubuntu):
status: New → In Progress
Changed in linux (Ubuntu Oracular):
status: New → In Progress
Changed in linux-oem-6.11 (Ubuntu Noble):
status: New → In Progress
Changed in linux (Ubuntu):
importance: Undecided → High
Changed in linux (Ubuntu Oracular):
importance: Undecided → High
Changed in linux-oem-6.11 (Ubuntu Noble):
importance: Undecided → High
Changed in linux (Ubuntu):
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux (Ubuntu Oracular):
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-oem-6.11 (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
You-Sheng Yang (vicamo)
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :
LEE KUAN-YING (kyyc0426)
Changed in linux-oem-6.11 (Ubuntu Noble):
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.