User`s guide
Supporting the i.MX53 Camera Sensor Interface CSI0
i.MX53 System Development User’s Guide, Rev. 1
Freescale Semiconductor 20-3
20.4 Adding Support for a New CMOS Camera Sensor
To add support for a new CMOS camera sensor to your BSP, first create a device driver for supporting it.
This device driver is the optimal location for implementing initialization routines, the power up sequence,
power supply settings, the reset signal, and other desired features for your CMOS sensor. It is also the
optimal location to implement the CSI configuration for the parallel protocol used between the camera and
the i.MX53.
Perform the following three steps on the i.MX53 BSP to create the device driver:
1. Add a camera sensor entry on the ltib catalog.
2. Create the camera file.
3. Add compilation flag for the new camera sensor.
These steps are discussed in detail in the following subsections.
20.4.1 Adding a Camera Sensor Entry on the ltib Catalog (Kconfig)
Select specific camera drivers in the following location (as shown in Figure 20-2):
Device Drivers > Multimedia support > Video capture adapters > MXC Camera/V4L2 PRP Features
support
Figure 20-2. MXC Camera/V4L2 PRP Features Support Window
To add a new camera sensor entry on the Kconfig camera file, perform the following steps:
1. Enter the following into the i.MX53 display specific folder:
$ cd <ltib dir>/rpm/BUILD/linux/drivers/media/video/mxc/capture
2. Open Kconfig file: