Hi Tim, On Thu, Dec 21, 2023 at 10:12 PM Tim Harvey <tharvey@xxxxxxxxxxxxx> wrote: > > Greetings, > > I'm running into an issue with Linux 6.6 (6.6.8) when compiling with > modules where the imx7_media_csi driver probe is deferred and I'm not > clear how to troubleshoot the cause. > > The board is imx8mm-venice-gw73xx-0x [1] with > imx8mm-venice-gw73xx-0x-imx219.dtso [2] and I'm using > arch/arm64/configs/defconfig. > > The kernel reports the following: > # dmesg | egrep csi\|mipi\|imx219 > [ 1.293264] i2c 2-0010: Fixed dependency cycle(s) with > /soc@0/bus@32c00000/mipi-csi@32e30000/ports/port@0/endpoint > [ 12.001419] imx219 2-0010: supply VANA not found, using dummy regulator > [ 12.044885] imx219 2-0010: supply VDDL not found, using dummy regulator > [ 12.164308] imx7-csi 32e20000.csi: Registered csi capture as /dev/video0 > [ 12.178460] imx7-csi 32e20000.csi: error -ENOTCONN: Failed to get > remote endpoint > [ 12.200047] imx7-csi: probe of 32e20000.csi failed with error -107 > # cat /sys/kernel/debug/devices_deferred > cpufreq-dt > 32e30000.mipi-csi platform: wait for supplier I am not able to reproduce this problem. I have just booted 6.6.8 on an imx8mm-evk and the camera is working well: root@imx8mmevk:~# dmesg | egrep csi\|mipi\|ov56 [ 0.042431] platform 32e30000.mipi-csi: Fixed dependency cycle(s) with /soc@0/bus@32c00000/csi@32e20000/port/endpoint [ 1.575489] i2c 2-003c: Fixed dependency cycle(s) with /soc@0/bus@32c00000/mipi-csi@32e30000/ports/port@0/endpoint [ 5.514082] ov5640 2-003c: supply DOVDD not found, using dummy regulator [ 5.522453] ov5640 2-003c: supply AVDD not found, using dummy regulator [ 5.538136] ov5640 2-003c: supply DVDD not found, using dummy regulator [ 5.552376] imx-mipi-csis 32e30000.mipi-csi: lanes: 2, freq: 333000000 [ 5.583661] imx7-csi 32e20000.csi: Registered csi capture as /dev/video0 root@imx8mmevk:~# cat /sys/kernel/debug/devices_deferred root@imx8mmevk:~# zcat /proc/config.gz | egrep VIDEO_OV5640\|VIDEO_IMX_MIPI\|VIDEO_IMX7 CONFIG_VIDEO_IMX7_CSI=m CONFIG_VIDEO_IMX_MIPI_CSIS=m CONFIG_VIDEO_OV5640=m