Skip to contentSkip to conversation

radio: add support for SAA7706H Car Radio DSP

PATCH Applied [email protected] 1 participant 1 message Feb 2, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 4/7 radio: add support for SAA7706H Car Radio DSP

From: Richard R�jfors <[email protected]>

Initial support for the SAA7706H Car Radio DSP.

It is a I2C device and currently the mute control is supported.

When the device is unmuted it is brought out of reset and initiated using the proposed intialisation sequence.

When muted the DSP is brought into reset state.

[[email protected]: include delay.h]
Cc Mauro Carvalho Chehab <[email protected]>
Cc Douglas Schilling Landgraf <[email protected]>
Cc Hans Verkuil <[email protected]>
Cc Randy Dunlap <[email protected]>

---

 drivers/media/radio/Kconfig     |   12 
 drivers/media/radio/Makefile    |    1 
 drivers/media/radio/saa7706h.c  |  451 ++++++++++++++++++++++++++++++
 include/media/v4l2-chip-ident.h |    3 
 4 files changed, 467 insertions(+)
drivers/media/radio/Kconfig renamed from drivers/media/radio/Kconfig~radio-add-the-saa7706h-car-radio-dsp-to-v4l2-chip-identh +12 -0
diff -puN drivers/media/radio/Kconfig~radio-add-the-saa7706h-car-radio-dsp-to-v4l2-chip-identh drivers/media/radio/Kconfig
@@ -417,6 +417,18 @@ config RADIO_TEA5764_XTAL
 	  Say Y here if TEA5764 have a 32768 Hz crystal in circuit, say N
 	  here if TEA5764 reference frequency is connected in FREQIN.
 
+config RADIO_SAA7706H
+	tristate "SAA7706H Car Radio DSP"
+	depends on I2C && VIDEO_V4L2
+	---help---
+	  Say Y here if you want to use the SAA7706H Car radio Digital
+	  Signal Processor, found for instance on the Russellville development
+	  board. On the russellville the device is connected to internal
+	  timberdale I2C bus.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called SAA7706H.
+
 config RADIO_TEF6862
 	tristate "TEF6862 Car Radio Enhanced Selectivity Tuner"
 	depends on I2C && VIDEO_V4L2
drivers/media/radio/Makefile renamed from drivers/media/radio/Makefile~radio-add-the-saa7706h-car-radio-dsp-to-v4l2-chip-identh +1 -0
diff -puN drivers/media/radio/Makefile~radio-add-the-saa7706h-car-radio-dsp-to-v4l2-chip-identh drivers/media/radio/Makefile
@@ -23,6 +23,7 @@ obj-$(CONFIG_USB_DSBR) += dsbr100.o
 obj-$(CONFIG_RADIO_SI470X) += si470x/
 obj-$(CONFIG_USB_MR800) += radio-mr800.o
 obj-$(CONFIG_RADIO_TEA5764) += radio-tea5764.o
+obj-$(CONFIG_RADIO_SAA7706H) += saa7706h.o
 obj-$(CONFIG_RADIO_TEF6862) += tef6862.o
 
 EXTRA_CFLAGS += -Isound
drivers/media/radio/saa7706h.c new file +451 -0

451 lines not on this page · raw message

include/media/v4l2-chip-ident.h renamed from include/media/v4l2-chip-ident.h~radio-add-the-saa7706h-car-radio-dsp-to-v4l2-chip-identh +3 -0
diff -puN include/media/v4l2-chip-ident.h~radio-add-the-saa7706h-car-radio-dsp-to-v4l2-chip-identh include/media/v4l2-chip-ident.h
@@ -155,6 +155,9 @@ enum {
 	/* module adv7343: just ident 7343 */
 	V4L2_IDENT_ADV7343 = 7343,
 
+	/* module saa7706h: just ident 7706 */
+	V4L2_IDENT_SAA7706H = 7706,
+
 	/* module wm8739: just ident 8739 */
 	V4L2_IDENT_WM8739 = 8739,
 

_