Bug 2454119

Summary: Missing imx471 module for IPU7 MIPI Camera (SONY471A) on Lunar Lake
Product: [Fedora] Fedora Reporter: anis
Component: kernelAssignee: Kate Hsuan <hpa>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 43CC: acaringi, adscvr, airlied, hans, hpa, jforbes, kernel-maint, linville, masami256, mchehab, mistermagio, nickolasjcarr, ptalbert, steved, suraj.ghimire7
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
journalctl -b 0 -k > kernel.txt
none
lsusb > lsusb.txt
none
ls -l /sys/bus/i2c/devices/ > i2c-devices.txt
none
ls -l /sys/bus/spi/devices/ > spi-devices.txt none

Description anis 2026-04-01 21:15:09 UTC
1. Please describe the problem:
I am testing the new FOSS IPU7 stack on Fedora 43 with a Lunar Lake laptop (Lenovo X9 15). The IPU7 initializes perfectly and detects the sensor (dmesg shows "Found supported sensor SONY471A:00" and "Connected 1 cameras"). However, the camera does not work because the specific `imx471` driver module is missing from the kernel tree, preventing the sensor from binding to /dev/media0. 

I have verified that pipewire-plugin-libcamera, libcamera-ipa, and intel-vsc-firmware are installed. I also ensured the proprietary stack is not active.

2. What is the Version-Release number of the kernel:
kernel-6.19.10-200.fc43.x86_64

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :
No, this is a new hardware enablement request for Lunar Lake MIPI cameras.

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:
Yes, always.
Steps:
1. Boot Fedora 43.
2. Run `modprobe imx471` (returns FATAL: Module imx471 not found).
3. Run `cam -l` (returns "No sensor found for /dev/media0").

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:
I have not tested Rawhide, but according to upstream Intel IPU7 driver discussions, the `imx471` sensor module is not yet merged into the mainline kernel.

6. Are you running any modules that not shipped with directly Fedora's kernel?:
No. The system is completely clean and fully FOSS. Proprietary intel-ipu6 packages and custom DKMS modules were explicitly removed.

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.
As requested by the Fedora X86 MIPI CameraHwEnablement Wiki, I enabled dyndbg for int3472 via grubby. I will attach the requested `kernel.txt`, `lsusb.txt`, `i2c-devices.txt`, and `spi-devices.txt` (along with an acpidump) immediately after submitting this bug report.

Reproducible: Always

Comment 1 anis 2026-04-01 21:16:18 UTC
Created attachment 2135703 [details]
journalctl -b 0 -k > kernel.txt

Comment 2 anis 2026-04-01 21:16:46 UTC
Created attachment 2135704 [details]
lsusb > lsusb.txt

Comment 3 anis 2026-04-01 21:17:03 UTC
Created attachment 2135705 [details]
ls -l /sys/bus/i2c/devices/ > i2c-devices.txt

Comment 4 anis 2026-04-01 21:17:20 UTC
Created attachment 2135706 [details]
ls -l /sys/bus/spi/devices/ > spi-devices.txt

Comment 5 Hans de Goede 2026-04-02 11:47:55 UTC
Kate Hsuan is working on cleaning up the out of tree imx471 driver and submitting it for mainline inclusion, assigning this to Kate.

Comment 6 Kate Hsuan 2026-04-17 09:01:31 UTC
Patchset was submitted and can be found at the following URL

https://lore.kernel.org/linux-media/20260417083214.222189-1-hpa@redhat.com/T/#t