[media] sp2: Add I2C driver for CIMaX SP2 common interface module
authorOlli Salonen <olli.salonen@iki.fi>
Fri, 8 Aug 2014 07:06:35 +0000 (04:06 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 2 Sep 2014 18:06:49 +0000 (15:06 -0300)
commit868736ad3404b205794bc04233eca58293818dea
treec970af0d74efb2d2a770bac5471e2cd79b8fd3c1
parent9b9beb1bf5eab918d2d54e42360dd1803b00dbfd
[media] sp2: Add I2C driver for CIMaX SP2 common interface module

Driver for the CIMaX SP2 common interface chip. It is very much based on
the existing cimax2 driver for cx23885, but should be more reusable. The
product has been sold with name Atmel T90FJR as well and the data sheets
for that chip seem to be publicly available.

It seems that the USB device that I have and the cx23885 based devices will
need to interact differently with the chip for the CAM operations. Thus
there is one callback function that is passed on to the sp2 driver
(see function sp2_ci_op_cam for that one).

IRQ functionality is not included currently (not needed by USB devices
and I don't have a PCIe device for development).

Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/Kconfig
drivers/media/dvb-frontends/Makefile
drivers/media/dvb-frontends/sp2.c [new file with mode: 0644]
drivers/media/dvb-frontends/sp2.h [new file with mode: 0644]
drivers/media/dvb-frontends/sp2_priv.h [new file with mode: 0644]