linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: SPI interface camera sensor driver for soc_camera framework
@ 2014-10-27  2:38 Kassey
  2014-11-06 21:55 ` Guennadi Liakhovetski
  0 siblings, 1 reply; 3+ messages in thread
From: Kassey @ 2014-10-27  2:38 UTC (permalink / raw)
  To: d.belimov; +Cc: linux-media

hi, Dmitri:
    is there any sample driver for SPI interface camera sensor driver
base don soc_camera framework, other than the i2c interface ?
    thanks.

-- 
Best regards
Kassey

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SPI interface camera sensor driver for soc_camera framework
  2014-10-27  2:38 SPI interface camera sensor driver for soc_camera framework Kassey
@ 2014-11-06 21:55 ` Guennadi Liakhovetski
  2015-01-27  2:14   ` Kassey
  0 siblings, 1 reply; 3+ messages in thread
From: Guennadi Liakhovetski @ 2014-11-06 21:55 UTC (permalink / raw)
  To: Kassey; +Cc: d.belimov, linux-media

Hi Kassey,

On Mon, 27 Oct 2014, Kassey wrote:

> hi, Dmitri:
>     is there any sample driver for SPI interface camera sensor driver
> base don soc_camera framework, other than the i2c interface ?

Currently there are no SPI drivers, used with the soc-camera framework. 
There is however an example of a non-I2C subdevice driver in soc-camera: 
the soc_camera_platform.c driver. You'll see handling of non-I2C 
subdevices in soc_camera_probe() in soc_camera.c. However, that driver 
hasn't been used since a long time and might well be broken by now. Also, 
many newer code paths in soc-camera core unfortunately began to assume, 
that I2C is the only way to access subdevices. So, I suspect fixes might 
be needed when adding support for SPI subdevices.

Thanks
Guennadi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SPI interface camera sensor driver for soc_camera framework
  2014-11-06 21:55 ` Guennadi Liakhovetski
@ 2015-01-27  2:14   ` Kassey
  0 siblings, 0 replies; 3+ messages in thread
From: Kassey @ 2015-01-27  2:14 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: d.belimov, linux-media

Guennadi:
      I am working on a SPI interface camera sensor now, trying to
work out a patch for soc_camera for you to review.

     thanks.

Kassey

2014-11-07 5:55 GMT+08:00 Guennadi Liakhovetski <g.liakhovetski@gmx.de>:
> Hi Kassey,
>
> On Mon, 27 Oct 2014, Kassey wrote:
>
>> hi, Dmitri:
>>     is there any sample driver for SPI interface camera sensor driver
>> base don soc_camera framework, other than the i2c interface ?
>
> Currently there are no SPI drivers, used with the soc-camera framework.
> There is however an example of a non-I2C subdevice driver in soc-camera:
> the soc_camera_platform.c driver. You'll see handling of non-I2C
> subdevices in soc_camera_probe() in soc_camera.c. However, that driver
> hasn't been used since a long time and might well be broken by now. Also,
> many newer code paths in soc-camera core unfortunately began to assume,
> that I2C is the only way to access subdevices. So, I suspect fixes might
> be needed when adding support for SPI subdevices.
>
> Thanks
> Guennadi



-- 
Best regards
Kassey

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-27  2:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-27  2:38 SPI interface camera sensor driver for soc_camera framework Kassey
2014-11-06 21:55 ` Guennadi Liakhovetski
2015-01-27  2:14   ` Kassey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).