Dear all,
I am trying to integrate mt9m111 sensor with dm355 leopard board.
the default mt9v113 sensor is initializing the vpfe but when i give the support
for mt9m111 the vpfe is failing to get the platform_data.
i studied the driver files for both and find the following one of the difference:
static int mt9v113_read_reg(struct i2c_client *client, unsigned short reg)
static int mt9m111_reg_read(struct soc_camera_device *icd, const u16 reg)
Is it because of differences like this that mt9v113 is working by default and mt9m111 is failing.
I have the following doubts:
1.If i have to write the whole mt9m111 driver file on the basis of mt9v113 file in order to give the mt9m111 image sensor support.
If this is the case then what for mt9m111.c is included in the linux kernel.
Are there any patches to linux kernel drivers which modify the mt9m111 files(.c,.h) and provide the support for mt9m111 image sensor.
2.Apart from modifying the board-dm355.c file if i have to make changes anywhere to integrate the mt9m111 image sensor.
Please answer the above queries urgently
Thanking you for your reply.
Regards,
Mayank