Hello.
Now I've refactored the code so that the I2C I/O functions are in the MFD core. Also now the codec can be compiled without compiling the V4L2 driver.
I haven't implemented the audio routing (yet), but I've added a TODO comment about it in the codec file.
Cheers, Matti
Matti J. Aaltonen (3): MFD: WL1273 FM Radio: MFD driver for the FM radio. V4L2: WL1273 FM Radio: TI WL1273 FM radio driver ASoC: WL1273 FM radio: Access I2C IO functions through pointers.
drivers/media/radio/Kconfig | 16 + drivers/media/radio/Makefile | 1 + drivers/media/radio/radio-wl1273.c | 2183 ++++++++++++++++++++++++++++++++++++ drivers/mfd/Kconfig | 10 + drivers/mfd/Makefile | 1 + drivers/mfd/wl1273-core.c | 295 +++++ include/linux/mfd/wl1273-core.h | 291 +++++ sound/soc/codecs/Kconfig | 2 +- sound/soc/codecs/wl1273.c | 38 +- sound/soc/codecs/wl1273.h | 71 -- 10 files changed, 2817 insertions(+), 91 deletions(-) create mode 100644 drivers/media/radio/radio-wl1273.c create mode 100644 drivers/mfd/wl1273-core.c create mode 100644 include/linux/mfd/wl1273-core.h