Skip to contentSkip to conversation

radio: Add radio-timb to the Kconfig and Makefile

PATCH Superseded Richard Röjfors 4 participants 6 messages Jan 27, 2010 – Feb 12, 2010 Media (V4L/DVB)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 radio: Add radio-timb to the Kconfig and Makefile

This patch adds radio-timb to the Makefile and Kconfig.

---

drivers/media/radio/Kconfig +10 -0
index 3f40f37..46fd8c4 100644
@@ -429,4 +429,14 @@ config RADIO_TEF6862
 	  To compile this driver as a module, choose M here: the
 	  module will be called TEF6862.
 
+config RADIO_TIMBERDALE
+	tristate "Enable the Timberdale radio driver"
+	depends on MFD_TIMBERDALE && VIDEO_V4L2 && HAS_IOMEM
+	select RADIO_TEF6862
+	select RADIO_SAA7706H
+	---help---
+	  This is a kind of umbrella driver for the Radio Tuner and DSP
+	  found behind the Timberdale FPGA on the Russellville board.
+	  Enable this driver will automatically select the DSP and tuner.
+
 endif # RADIO_ADAPTERS
drivers/media/radio/Makefile +1 -0
index 01922ad..8973850 100644
@@ -24,5 +24,6 @@ obj-$(CONFIG_RADIO_SI470X) += si470x/
 obj-$(CONFIG_USB_MR800) += radio-mr800.o
 obj-$(CONFIG_RADIO_TEA5764) += radio-tea5764.o
 obj-$(CONFIG_RADIO_TEF6862) += tef6862.o
+obj-$(CONFIG_RADIO_TIMBERDALE) += radio-timb.o
 
 EXTRA_CFLAGS += -Isound
#1 lore raw
Quoted 11 lines · On Wed, 27 Jan 2010 17:22:10 +0100 Richard Röjfors wrote:

This patch adds radio-timb to the Makefile and Kconfig.

---

drivers/media/radio/Kconfig +0 -0
index 3f40f37..46fd8c4 100644
@@ -429,4 +429,14 @@ config RADIO_TEF6862
 	  To compile this driver as a module, choose M here: the
 	  module will be called TEF6862.

drivers/media/radio/Kconfig config RADIO_TEF6862 · line 440

Quoted 10 lines
drivers/media/radio/Kconfig +9 -0
 
+config RADIO_TIMBERDALE
+	tristate "Enable the Timberdale radio driver"
+	depends on MFD_TIMBERDALE && VIDEO_V4L2 && HAS_IOMEM
+	select RADIO_TEF6862
+	select RADIO_SAA7706H
+	---help---
+	  This is a kind of umbrella driver for the Radio Tuner and DSP
+	  found behind the Timberdale FPGA on the Russellville board.
+	  Enable this driver will automatically select the DSP and tuner.

Enabling

Quoted 7 lines
drivers/media/radio/Kconfig +1 -0
+
 endif # RADIO_ADAPTERS
drivers/media/radio/Makefile +0 -0
index 01922ad..8973850 100644

drivers/media/radio/Makefile obj-$(CONFIG_RADIO_SI470X) += si470x/

Quoted 8 lines
drivers/media/radio/Makefile +1 -1
@@ -24,5 +24,6 @@ obj-$(CONFIG_RADIO_SI470X) += si470x/
 obj-$(CONFIG_USB_MR800) += radio-mr800.o
 obj-$(CONFIG_RADIO_TEA5764) += radio-tea5764.o
 obj-$(CONFIG_RADIO_TEF6862) += tef6862.o
+obj-$(CONFIG_RADIO_TIMBERDALE) += radio-timb.o
 
 EXTRA_CFLAGS += -Isound
 
--

---
~Randy

#2 lore raw
In reply to Richard Röjfors
Quoted 9 lines · On Wednesday 27 January 2010 17:22:10 Richard Röjfors wrote:

This patch adds radio-timb to the Makefile and Kconfig.

---

drivers/media/radio/Kconfig +0 -0
index 3f40f37..46fd8c4 100644

drivers/media/radio/Kconfig config RADIO_TEF6862 · line 434

Quoted 6 lines
drivers/media/radio/Kconfig +3 -0
@@ -429,4 +429,14 @@ config RADIO_TEF6862
 	  To compile this driver as a module, choose M here: the
 	  module will be called TEF6862.
 
+config RADIO_TIMBERDALE
+	tristate "Enable the Timberdale radio driver"
+	depends on MFD_TIMBERDALE && VIDEO_V4L2 && HAS_IOMEM

I think you need a dependency on I2C as well.

Regards,

Hans

Quoted 21 lines
drivers/media/radio/Kconfig +7 -0
+	select RADIO_TEF6862
+	select RADIO_SAA7706H
+	---help---
+	  This is a kind of umbrella driver for the Radio Tuner and DSP
+	  found behind the Timberdale FPGA on the Russellville board.
+	  Enable this driver will automatically select the DSP and tuner.
+
 endif # RADIO_ADAPTERS
drivers/media/radio/Makefile +1 -0
index 01922ad..8973850 100644
@@ -24,5 +24,6 @@ obj-$(CONFIG_RADIO_SI470X) += si470x/
 obj-$(CONFIG_USB_MR800) += radio-mr800.o
 obj-$(CONFIG_RADIO_TEA5764) += radio-tea5764.o
 obj-$(CONFIG_RADIO_TEF6862) += tef6862.o
+obj-$(CONFIG_RADIO_TIMBERDALE) += radio-timb.o
 
 EXTRA_CFLAGS += -Isound
Signature · 1 line
Hans Verkuil - video4linux developer - sponsored by TANDBERG
#3 lore raw
Quoted 8 lines · Hans Verkuil

drivers/media/radio/Kconfig config RADIO_TEF6862 · line 434

Quoted 5 lines · On Wednesday 27 January 2010 17:22:10 Richard Röjfors wrote:

This patch adds radio-timb to the Makefile and Kconfig.

drivers/media/radio/Kconfig +3 -0
+config RADIO_TIMBERDALE
+	tristate "Enable the Timberdale radio driver"
+	depends on MFD_TIMBERDALE && VIDEO_V4L2 && HAS_IOMEM

I think you need a dependency on I2C as well.

It is not needed. VIDEO_V4L2 already takes care of properly handling it.

Signature · 2 lines
Cheers,
Mauro
#4 lore raw
Quoted 4 lines · On Wednesday 03 February 2010 10:58:14 Mauro Carvalho Chehab wrote:
Quoted 2 lines · Hans Verkuil
Quoted 1 line · On Wednesday 27 January 2010 17:22:10 Richard Röjfors wrote:

This patch adds radio-timb to the Makefile and Kconfig.

Quoted 8 lines
Quoted 5 lines

drivers/media/radio/Kconfig config RADIO_TEF6862 · line 434

Quoted 3 lines
drivers/media/radio/Kconfig +3 -0
+config RADIO_TIMBERDALE
+	tristate "Enable the Timberdale radio driver"
+	depends on MFD_TIMBERDALE && VIDEO_V4L2 && HAS_IOMEM

I think you need a dependency on I2C as well.

It is not needed. VIDEO_V4L2 already takes care of properly handling it.

Where does that happen? I don't see how VIDEO_V4L2 can know when a driver requires I2C. It's not a universal requirement, after all.

Regards,

Hans

Quoted 2 lines
Signature · 1 line
Hans Verkuil - video4linux developer - sponsored by TANDBERG
#5 lore raw
In reply to Richard Röjfors
Quoted 1 line · Richard Röjfors

This patch adds radio-timb to the Makefile and Kconfig.

On your next submission, please fold with patch 1/2.

Quoted 38 lines

---

drivers/media/radio/Kconfig +10 -0
index 3f40f37..46fd8c4 100644
@@ -429,4 +429,14 @@ config RADIO_TEF6862
 	  To compile this driver as a module, choose M here: the
 	  module will be called TEF6862.
 
+config RADIO_TIMBERDALE
+	tristate "Enable the Timberdale radio driver"
+	depends on MFD_TIMBERDALE && VIDEO_V4L2 && HAS_IOMEM
+	select RADIO_TEF6862
+	select RADIO_SAA7706H
+	---help---
+	  This is a kind of umbrella driver for the Radio Tuner and DSP
+	  found behind the Timberdale FPGA on the Russellville board.
+	  Enable this driver will automatically select the DSP and tuner.
+
 endif # RADIO_ADAPTERS
drivers/media/radio/Makefile +1 -1
index 01922ad..8973850 100644
@@ -24,5 +24,6 @@ obj-$(CONFIG_RADIO_SI470X) += si470x/
 obj-$(CONFIG_USB_MR800) += radio-mr800.o
 obj-$(CONFIG_RADIO_TEA5764) += radio-tea5764.o
 obj-$(CONFIG_RADIO_TEF6862) += tef6862.o
+obj-$(CONFIG_RADIO_TIMBERDALE) += radio-timb.o
 
 EXTRA_CFLAGS += -Isound
 
--

To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Cheers,
Mauro