Camera sensor SPI interface for CMOS Sensor interface (CSI)

Hi,

We are using a Colibri i.MX 6ULL for our project which use the CMOS sensor interface for a camera sensor on board.

I would like to know if there is a driver example for camera sensor SPI interface (we’re using PYTHON5000 from ONsemi), where the the CoM interfaces uses the parallel CSI in i.MX 6ULL SoC? Or alteast uses the V4L2 framework for the driver development.

I could only find I2C interface with OV56** camera sensors being used for the parallel CSI. I even searched for a example spi driver for camera sensor in kernel tree and could,'t find any.

Hi @SurriyaLuavan,

Unfortunately, I couldn’t find any examples or docs in the Linux Kernel too. I’ve also searched “onsemi” in our downstream kernel and here are the results:

$ rg -i onsemi
Documentation/devicetree/bindings/iio/light/noa1305.yaml
15:  https://www.onsemi.com/pub/Collateral/NOA1305-D.PDF

Documentation/devicetree/bindings/misc/idt_89hpesx.txt
39:                     compatible = "onsemi,24c64";

Documentation/hwmon/pmbus.rst
24:     http://www.onsemi.com/pub_link/Collateral/ADP4000-D.PDF
26:     http://www.onsemi.com/pub_link/Collateral/NCP4200-D.PDF
28:     http://www.onsemi.com/pub_link/Collateral/JUNE%202009-%20REV.%200.PDF

Documentation/hwmon/adm1021.rst
78:  * Onsemi MC1066
84:    Datasheet: Publicly available at the Onsemi website

Documentation/hwmon/lm85.rst
28:    Datasheet: http://www.onsemi.com/PowerSolutions/product.do?id=ADM1027
36:    Datasheet: http://www.onsemi.com/PowerSolutions/product.do?id=ADT7463
44:    Datasheet: http://www.onsemi.com/PowerSolutions/product.do?id=ADT7468

Documentation/hwmon/jc42.rst
70:     http://www.onsemi.com/pub_link/Collateral/CAT34TS02-D.PDF
72:     http://www.onsemi.com/pub/Collateral/CAT6095-D.PDF

Documentation/hwmon/lm90.rst
54:            http://www.onsemi.com/PowerSolutions/product.do?id=ADM1032
64:            http://www.onsemi.com/PowerSolutions/product.do?id=ADT7461
74:            http://www.onsemi.com/PowerSolutions/product.do?id=ADT7461A
84:            http://www.onsemi.com/PowerSolutions/product.do?id=NCT1008

Documentation/hwmon/adm1026.rst
13:            http://www.onsemi.com/PowerSolutions/product.do?id=ADM1026

drivers/gpio/gpio-pcf857x.c
266:    /* NOTE:  the OnSemi jlc1562b is also largely compatible with

drivers/macintosh/therm_adt746x.c
8: * http://www.onsemi.com/PowerSolutions/product.do?id=ADT7467
9: * http://www.onsemi.com/PowerSolutions/product.do?id=ADT7460

drivers/hwmon/adm1021.c
34:/* 0x41 = AD, 0x49 = TI, 0x4D = Maxim, 0x23 = Genesys , 0x54 = Onsemi */

drivers/hwmon/adm1026.c
10: * <http://www.onsemi.com/PowerSolutions/product.do?id=ADM1026>

drivers/hwmon/adm1025.c
16: *   http://www.onsemi.com/PowerSolutions/product.do?id=ADM1025

drivers/iio/light/lv0104cs.c

Nothing related to this specific sensor that I could see.

I would recommend you send an email to Onsemi asking for some guidance or a Linux driver. Looking at this sensor datasheet, I didn’t find anything specific about Linux, only Windows software.

Best Regards,
Hiago.

Thank you for your reply,

Is there any other SPI based Image sensor driver example that you might have access to?

Regards,
Surriya

Hi @SurriyaLuavan,

Nothing that I’m aware of right now. I’ll ask some colleagues here, maybe some partner of Toradex has something, but nothing that we could provide right now.

Best Regards,
Hiago.