sakoman | 7 Sep 08:38

[PATCH 0/5] ARM: OMAP2: Add support for GUmstix Overo (rev 3)

This patch series adds support for the Gumstix Overo board.

This is the third submission and incorporates all previous feedback from both linux-omap and alsa-devel. 
Careful readers will also notice that this version includes nand support rather than onenand.
sakoman | 7 Sep 08:41

[PATCH 1/5] ARM: OMAP2: Add support for the Gumstix Overo board (rev 3)

From: Steve Sakoman <steve <at> sakoman.com>

This patch adds support for basic features: nand, uarts, i2c,
mmc, rtc, and usb

Signed-off-by: Steve Sakoman <steve <at> sakoman.com>
---
 arch/arm/mach-omap2/Kconfig                   |    4 +
 arch/arm/mach-omap2/Makefile                  |    4 +
 arch/arm/mach-omap2/board-overo.c             |  249 +++++++++++++++++++++++++
 arch/arm/plat-omap/include/mach/board-overo.h |   25 +++
 4 files changed, 282 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-omap2/board-overo.c
 create mode 100644 arch/arm/plat-omap/include/mach/board-overo.h

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 365b982..362edfa 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -123,6 +123,10 @@ config MACH_OMAP3_BEAGLE
 	bool "OMAP3 BEAGLE board"
 	depends on ARCH_OMAP3 && ARCH_OMAP34XX

+config MACH_OVERO
+	bool "Gumstix Overo board"
+	depends on ARCH_OMAP3 && ARCH_OMAP34XX
+
 config OMAP_TICK_GPTIMER
 	int "GPTIMER used for system tick timer"
 	depends on ARCH_OMAP2 || ARCH_OMAP3
(Continue reading)

sakoman | 7 Sep 08:41

[PATCH 2/5] ARM: OMAP2: Add video driver the Gumstix Overo board (rev 3)

From: Steve Sakoman <steve <at> sakoman.com>

Signed-off-by: Steve Sakoman <steve <at> sakoman.com>
---
 arch/arm/mach-omap2/board-overo.c |   11 +++
 drivers/video/omap/Kconfig        |   21 +++++
 drivers/video/omap/Makefile       |    1 +
 drivers/video/omap/lcd_overo.c    |  179 +++++++++++++++++++++++++++++++++++++
 4 files changed, 212 insertions(+), 0 deletions(-)
 create mode 100644 drivers/video/omap/lcd_overo.c

diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
index 5510049..175a444 100644
--- a/arch/arm/mach-omap2/board-overo.c
+++ b/arch/arm/mach-omap2/board-overo.c
@@ -174,12 +174,23 @@ static struct platform_device overo_twl4030rtc_device = {
 	.id             = -1,
 };

+static struct platform_device overo_lcd_device = {
+	.name		= "overo_lcd",
+	.id		= -1,
+};
+
+static struct omap_lcd_config overo_lcd_config __initdata = {
+	.ctrl_name	= "internal",
+};
+
 static struct omap_board_config_kernel overo_config[] __initdata = {
 	{ OMAP_TAG_UART,	&overo_uart_config },
(Continue reading)

sakoman | 7 Sep 08:41

[PATCH 3/5] ALSA: ASoC: Add support for TWL4030 audio codec (rev 3)

From: Steve Sakoman <steve <at> sakoman.com>

Signed-off-by: Steve Sakoman <steve <at> sakoman.com>
Acked-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
---
 sound/soc/codecs/Kconfig   |    5 +
 sound/soc/codecs/Makefile  |    2 +
 sound/soc/codecs/twl4030.c |  653 ++++++++++++++++++++++++++++++++++++++++++++
 sound/soc/codecs/twl4030.h |  197 +++++++++++++
 4 files changed, 857 insertions(+), 0 deletions(-)
 create mode 100644 sound/soc/codecs/twl4030.c
 create mode 100644 sound/soc/codecs/twl4030.h

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 1db04a2..2f00e1e 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -50,3 +50,8 @@ config SND_SOC_CS4270_VD33_ERRATA
 config SND_SOC_TLV320AIC3X
 	tristate
 	depends on I2C
+
+config SND_SOC_TWL4030
+	tristate
+	depends on SND_SOC && I2C
+
diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile
index d7b97ab..a519ced 100644
--- a/sound/soc/codecs/Makefile
+++ b/sound/soc/codecs/Makefile
(Continue reading)

sakoman | 7 Sep 08:41

[PATCH 4/5] ALSA: ASoC: Add support for Gumstix Overo (rev 3)

From: Steve Sakoman <steve <at> sakoman.com>

Signed-off-by: Steve Sakoman <steve <at> sakoman.com>
Acked-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
---
 sound/soc/omap/Kconfig  |    9 +++
 sound/soc/omap/Makefile |    3 +
 sound/soc/omap/overo.c  |  149 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 161 insertions(+), 0 deletions(-)
 create mode 100644 sound/soc/omap/overo.c

diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig
index aea27e7..d7b8939 100644
--- a/sound/soc/omap/Kconfig
+++ b/sound/soc/omap/Kconfig
@@ -13,3 +13,12 @@ config SND_OMAP_SOC_N810
 	select SND_SOC_TLV320AIC3X
 	help
 	  Say Y if you want to add support for SoC audio on Nokia N810.
+
+config SND_OMAP_SOC_OVERO
+	tristate "SoC Audio support for Gumstix Overo"
+	depends on SND_OMAP_SOC && MACH_OVERO
+	select SND_OMAP_SOC_MCBSP
+	select SND_SOC_TWL4030
+	help
+	  Say Y if you want to add support for SoC audio on the Gumstix Overo.
+
diff --git a/sound/soc/omap/Makefile b/sound/soc/omap/Makefile
index d8d8d58..b96b97b 100644
(Continue reading)

sakoman | 7 Sep 08:41

[PATCH 5/5] ARM: OMAP2: defconfig for the Gumstix Overo board (rev 3)

From: Steve Sakoman <steve <at> sakoman.com>

Signed-off-by: Steve Sakoman <steve <at> sakoman.com>
---
 arch/arm/configs/overo_defconfig | 1977 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 1977 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/configs/overo_defconfig

diff --git a/arch/arm/configs/overo_defconfig b/arch/arm/configs/overo_defconfig
new file mode 100644
index 0000000..24b5178
--- /dev/null
+++ b/arch/arm/configs/overo_defconfig
@@ -0,0 +1,1977 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.27-rc5-omap1
+# Sat Sep  6 11:35:57 2008
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+CONFIG_GENERIC_TIME=y
+CONFIG_GENERIC_CLOCKEVENTS=y
+CONFIG_MMU=y
+# CONFIG_NO_IOPORT is not set
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
(Continue reading)

Mark Brown | 8 Sep 11:56
Gravatar

Re: [alsa-devel] [PATCH 3/5] ALSA: ASoC: Add support for TWL4030 audio codec (rev 3)

On Sat, Sep 06, 2008 at 11:41:42PM -0700, sakoman <at> gmail.com wrote:

> +
> +config SND_SOC_TWL4030
> +	tristate
> +	depends on SND_SOC && I2C
> +

Sorry, didn't notice earlier: this should depend on whatever the config
option is for the TWL4030 core driver rather than on I2C since it
doesn't actually interact with I2C directly.  Although in most
applications this won't make much odds since the machine driver will
select the codec driver and select ignores the dependencies anyway.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Steve Sakoman | 8 Sep 20:16

Re: [PATCH 3/5] ALSA: ASoC: Add support for TWL4030 audio codec (rev 3)

On Mon, Sep 8, 2008 at 2:56 AM, Mark Brown <broonie <at> sirena.org.uk> wrote:
> On Sat, Sep 06, 2008 at 11:41:42PM -0700, sakoman <at> gmail.com wrote:
>
>> +
>> +config SND_SOC_TWL4030
>> +     tristate
>> +     depends on SND_SOC && I2C
>> +
>
> Sorry, didn't notice earlier: this should depend on whatever the config
> option is for the TWL4030 core driver rather than on I2C since it
> doesn't actually interact with I2C directly.  Although in most
> applications this won't make much odds since the machine driver will
> select the codec driver and select ignores the dependencies anyway.

You are correct.  Good catch, though as you say it doesn't really
matter in practice.

I will re-submit a version with this fixed nonetheless.

Steve
Tony Lindgren | 9 Sep 02:49
Gravatar

Re: [alsa-devel] [PATCH 3/5] ALSA: ASoC: Add support for TWL4030 audio codec (rev 3)

* Steve Sakoman <sakoman <at> gmail.com> [080908 11:16]:
> On Mon, Sep 8, 2008 at 2:56 AM, Mark Brown <broonie <at> sirena.org.uk> wrote:
> > On Sat, Sep 06, 2008 at 11:41:42PM -0700, sakoman <at> gmail.com wrote:
> >
> >> +
> >> +config SND_SOC_TWL4030
> >> +     tristate
> >> +     depends on SND_SOC && I2C
> >> +
> >
> > Sorry, didn't notice earlier: this should depend on whatever the config
> > option is for the TWL4030 core driver rather than on I2C since it
> > doesn't actually interact with I2C directly.  Although in most
> > applications this won't make much odds since the machine driver will
> > select the codec driver and select ignores the dependencies anyway.
> 
> You are correct.  Good catch, though as you say it doesn't really
> matter in practice.
> 
> I will re-submit a version with this fixed nonetheless.

Pushing this series to linux-omap today with the re-submitted version
of patch 3/5.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Steve Sakoman | 8 Sep 23:41

Re: [alsa-devel] [PATCH 3/5] ALSA: ASoC: Add support for TWL4030 audio codec (rev 4)

From: Steve Sakoman <steve <at> sakoman.com>

Signed-off-by: Steve Sakoman <steve <at> sakoman.com>
Acked-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
---
 sound/soc/codecs/Kconfig   |    5 +
 sound/soc/codecs/Makefile  |    2 +
 sound/soc/codecs/twl4030.c |  653 ++++++++++++++++++++++++++++++++++++++++++++
 sound/soc/codecs/twl4030.h |  197 +++++++++++++
 4 files changed, 857 insertions(+), 0 deletions(-)
 create mode 100644 sound/soc/codecs/twl4030.c
 create mode 100644 sound/soc/codecs/twl4030.h

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 1db04a2..2f00e1e 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -50,3 +50,8 @@ config SND_SOC_CS4270_VD33_ERRATA
 config SND_SOC_TLV320AIC3X
 	tristate
 	depends on I2C
+
+config SND_SOC_TWL4030
+	tristate
+	depends on SND_SOC && TWL4030_CORE
+
diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile
index d7b97ab..a519ced 100644
--- a/sound/soc/codecs/Makefile
+++ b/sound/soc/codecs/Makefile
(Continue reading)


Gmane