Dear Loic,
First of all, thanks for reply to me!
I blanc camera-module@36 as {}; and build kernel again for successfully build it.
Then flashed to Rock960.
Now I can see ov5645 device in your path as like this:
linaro@linaro-alip ~ cd /sys/bus/i2c/devices/i2c-2
linaro@linaro-alip /sys/bus/i2c/devices/i2c-2 ll
total 0
drwxr-xr-x 3 root root 0 Nov 6 08:42 2-0010
--w------- 1 root root 4.0K Nov 6 08:42 delete_device
lrwxrwxrwx 1 root root 0 Nov 6 08:42 device -> ../../ff120000.i2c
drwxr-xr-x 3 root root 0 Nov 6 08:42 i2c-dev
-r--r--r-- 1 root root 4.0K Nov 6 08:42 name
--w------- 1 root root 4.0K Nov 6 08:42 new_device
lrwxrwxrwx 1 root root 0 Nov 6 08:42 of_node -> ../../../../firmware/devicetree/base/i2c@ff120000
drwxr-xr-x 2 root root 0 Nov 6 08:42 power
lrwxrwxrwx 1 root root 0 Nov 6 08:42 subsystem -> ../../../../bus/i2c
-rw-r--r-- 1 root root 4.0K Nov 6 08:42 uevent
linaro@linaro-alip /sys/bus/i2c/devices/i2c-2 cat name
rk3x-i2c
linaro@linaro-alip /sys/bus/i2c/devices/i2c-2 cat 2-0010/name
ov5645
linaro@linaro-alip /sys/bus/i2c/devices/i2c-2
Is it device loaded as well ?
I can see only camera 32 module error in dmesg as like this:
linaro@linaro-alip /sys/bus/i2c/devices/i2c-2 dmesg | grep camera
[ 1.253250] i2c i2c-2: of_i2c: modalias failure on /i2c@ff120000/camera-module@35
Now what is next step for make video node in device directory?
Or something need to other ?
Please help me more to use camera module.
( checked dmesg for v4l, there’s error like this )
801 [ 1.373280] cif_isp10_v4l2_drv_probe: probing...
802 [ 1.373768] cif_isp10_pltfrm_dev_init(1224) ERR: could not get default p instate
803 [ 1.374416] cif_isp10_pltfrm_dev_init WARN: could not get pins_sleep pin state
804 [ 1.375046] cif_isp10_pltfrm_dev_init WARN: could not get pins_inactive pinstate
805 [ 1.376031] cif_isp10_img_src_to_img_src(70) ERR: to_img_src failed!
806 [ 1.376598] cif_isp10_img_src_to_img_src(78) ERR: failed with error -14
807 [ 1.377182] cif_isp10_img_srcs_init(1099) ERR: failed with error -14
808 [ 1.377746] cif_isp10_create(5772) ERR: cif_isp10_img_srcs_init failed
809 [ 1.378318] cif_isp10_create(5808) ERR: failed with error -14
Best regards, Raph.