]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/media/pci/ddbridge/ddbridge-core.c
[media] ddbridge: add I2C functions, add XO2 module support
authorDaniel Scheller <d.scheller@gmx.net>
Sun, 9 Apr 2017 19:38:26 +0000 (16:38 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 12:58:15 +0000 (09:58 -0300)
commite933a6f1af4648c6a0023795d99aa5470fd2f49d
tree3ef29691a62882c46358c57a0039a591134a5df6
parent1b58a5a4b5fea0be8ae625a945f9662af2edf9a5
[media] ddbridge: add I2C functions, add XO2 module support

Some Flex modules (mostly with anyof C/C2/T/T2 demods based on the Sony
CXD28xxER series) are equipped with an interface named XO2 (which
appears to be the Lattice MachXO2). Add functionality to detect such
links and initialise them, so any tuner module with such an interface can
be used.

This also adds dummy detection for any possible connected module, telling
the user it isn't supported at this very moment.

Also adds i2c_io(), i2c_write() and i2c_write_reg(), all required for the
XO2 handling functionality.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/ddbridge/ddbridge-core.c
drivers/media/pci/ddbridge/ddbridge.h