Re: soc_camera with V4L2 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Guennadi,

> > >  static struct i2c_board_info i2c0_devices[] = {
> > >  	{
> > >  		I2C_BOARD_INFO("ag5evm_ts", 0x20),
> > >  		.irq	= pint2irq(12),	/* PINTC3 */
> > >  	},
> > > +	/* 2M camera */
> > > +	{
> > > +		I2C_BOARD_INFO("rj65na20", 0x40),
> > > +	},
> > 
> > No, you do not have to include this here, the sensor must not be registered 
> > automatically during the board initialisation.

I have one more question before sleeping :)

The camera module needs to be initialized by writing values to the registers.
Do I need to write init function at the following?

static const struct v4l2_subdev_core_ops rj65na20_core_ops = {
         .reset = rj65na20_reset,
[snip]
}

With kind regards,

Akira
-- 
Akira Tsukamoto

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux