linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: mx28: Let audio support be built by default
@ 2011-12-29 14:46 Fabio Estevam
  2011-12-29 15:23 ` Marek Vasut
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Fabio Estevam @ 2011-12-29 14:46 UTC (permalink / raw)
  To: linux-arm-kernel

Let audio support be built by default.

As sgtl5000 codec is connected via I2C, let MXS I2C driver also be built
by default.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/configs/mxs_defconfig |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig
index 6ee781b..4a13f93 100644
--- a/arch/arm/configs/mxs_defconfig
+++ b/arch/arm/configs/mxs_defconfig
@@ -77,10 +77,10 @@ CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
 CONFIG_SERIAL_AMBA_PL011=y
 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
 # CONFIG_HW_RANDOM is not set
-CONFIG_I2C=m
+CONFIG_I2C=y
 # CONFIG_I2C_COMPAT is not set
-CONFIG_I2C_CHARDEV=m
-CONFIG_I2C_MXS=m
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_MXS=y
 CONFIG_SPI=y
 CONFIG_SPI_GPIO=m
 CONFIG_DEBUG_GPIO=y
@@ -90,6 +90,19 @@ CONFIG_GPIO_SYSFS=y
 CONFIG_DISPLAY_SUPPORT=m
 # CONFIG_HID_SUPPORT is not set
 # CONFIG_USB_SUPPORT is not set
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+CONFIG_SND_JACK=y
+CONFIG_SND_DRIVERS=y
+CONFIG_SND_ARM=y
+CONFIG_SND_SPI=y
+CONFIG_SND_SOC=y
+CONFIG_SND_MXS_SOC=y
+CONFIG_SND_SOC_MXS_SGTL5000=y
+CONFIG_SND_SOC_I2C_AND_SPI=y
+CONFIG_SND_SOC_SGTL5000=y
 CONFIG_MMC=y
 CONFIG_MMC_MXS=y
 CONFIG_RTC_CLASS=y
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH] ARM: mx28: Let audio support be built by default
  2011-12-29 14:46 [PATCH] ARM: mx28: Let audio support be built by default Fabio Estevam
@ 2011-12-29 15:23 ` Marek Vasut
  2012-01-05 12:48 ` Shawn Guo
  2012-01-16 18:51 ` [PATCH v2] " Fabio Estevam
  2 siblings, 0 replies; 7+ messages in thread
From: Marek Vasut @ 2011-12-29 15:23 UTC (permalink / raw)
  To: linux-arm-kernel

> Let audio support be built by default.
> 
> As sgtl5000 codec is connected via I2C, let MXS I2C driver also be built
> by default.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/configs/mxs_defconfig |   19 ++++++++++++++++---
>  1 files changed, 16 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/configs/mxs_defconfig
> b/arch/arm/configs/mxs_defconfig index 6ee781b..4a13f93 100644
> --- a/arch/arm/configs/mxs_defconfig
> +++ b/arch/arm/configs/mxs_defconfig
> @@ -77,10 +77,10 @@ CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
>  CONFIG_SERIAL_AMBA_PL011=y
>  CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
>  # CONFIG_HW_RANDOM is not set
> -CONFIG_I2C=m
> +CONFIG_I2C=y
>  # CONFIG_I2C_COMPAT is not set
> -CONFIG_I2C_CHARDEV=m
> -CONFIG_I2C_MXS=m
> +CONFIG_I2C_CHARDEV=y
> +CONFIG_I2C_MXS=y
>  CONFIG_SPI=y
>  CONFIG_SPI_GPIO=m
>  CONFIG_DEBUG_GPIO=y
> @@ -90,6 +90,19 @@ CONFIG_GPIO_SYSFS=y
>  CONFIG_DISPLAY_SUPPORT=m
>  # CONFIG_HID_SUPPORT is not set
>  # CONFIG_USB_SUPPORT is not set
> +CONFIG_SOUND=y
> +CONFIG_SND=y
> +CONFIG_SND_TIMER=y
> +CONFIG_SND_PCM=y
> +CONFIG_SND_JACK=y
> +CONFIG_SND_DRIVERS=y
> +CONFIG_SND_ARM=y
> +CONFIG_SND_SPI=y
> +CONFIG_SND_SOC=y
> +CONFIG_SND_MXS_SOC=y
> +CONFIG_SND_SOC_MXS_SGTL5000=y
> +CONFIG_SND_SOC_I2C_AND_SPI=y
> +CONFIG_SND_SOC_SGTL5000=y
>  CONFIG_MMC=y
>  CONFIG_MMC_MXS=y
>  CONFIG_RTC_CLASS=y

Acked-by: Marek Vasut <marek.vasut@gmail.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] ARM: mx28: Let audio support be built by default
  2011-12-29 14:46 [PATCH] ARM: mx28: Let audio support be built by default Fabio Estevam
  2011-12-29 15:23 ` Marek Vasut
@ 2012-01-05 12:48 ` Shawn Guo
  2012-01-16 18:51 ` [PATCH v2] " Fabio Estevam
  2 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2012-01-05 12:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Dec 29, 2011 at 12:46:01PM -0200, Fabio Estevam wrote:
> Let audio support be built by default.
> 
> As sgtl5000 codec is connected via I2C, let MXS I2C driver also be built
> by default.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/configs/mxs_defconfig |   19 ++++++++++++++++---
>  1 files changed, 16 insertions(+), 3 deletions(-)
> 
The changes are not sufficient for audio to work.
CONFIG_REGULATOR_FIXED_VOLTAGE is needed too.

-- 
Regards,
Shawn

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2] ARM: mx28: Let audio support be built by default
  2011-12-29 14:46 [PATCH] ARM: mx28: Let audio support be built by default Fabio Estevam
  2011-12-29 15:23 ` Marek Vasut
  2012-01-05 12:48 ` Shawn Guo
@ 2012-01-16 18:51 ` Fabio Estevam
  2012-01-16 20:51   ` Marek Vasut
  2012-01-26 15:30   ` Fabio Estevam
  2 siblings, 2 replies; 7+ messages in thread
From: Fabio Estevam @ 2012-01-16 18:51 UTC (permalink / raw)
  To: linux-arm-kernel

Let audio support be built by default.

As sgtl5000 codec is connected via I2C, let MXS I2C driver also be built
by default.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v1:
- Add regulator config options

 arch/arm/configs/mxs_defconfig |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig
index 6ee781b..1ebbf45 100644
--- a/arch/arm/configs/mxs_defconfig
+++ b/arch/arm/configs/mxs_defconfig
@@ -77,10 +77,10 @@ CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
 CONFIG_SERIAL_AMBA_PL011=y
 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
 # CONFIG_HW_RANDOM is not set
-CONFIG_I2C=m
+CONFIG_I2C=y
 # CONFIG_I2C_COMPAT is not set
-CONFIG_I2C_CHARDEV=m
-CONFIG_I2C_MXS=m
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_MXS=y
 CONFIG_SPI=y
 CONFIG_SPI_GPIO=m
 CONFIG_DEBUG_GPIO=y
@@ -90,6 +90,20 @@ CONFIG_GPIO_SYSFS=y
 CONFIG_DISPLAY_SUPPORT=m
 # CONFIG_HID_SUPPORT is not set
 # CONFIG_USB_SUPPORT is not set
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+CONFIG_SND_JACK=y
+CONFIG_SND_DRIVERS=y
+CONFIG_SND_ARM=y
+CONFIG_SND_SOC=y
+CONFIG_SND_MXS_SOC=y
+CONFIG_SND_SOC_MXS_SGTL5000=y
+CONFIG_SND_SOC_I2C_AND_SPI=y
+CONFIG_SND_SOC_SGTL5000=y
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
 CONFIG_MMC=y
 CONFIG_MMC_MXS=y
 CONFIG_RTC_CLASS=y
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2] ARM: mx28: Let audio support be built by default
  2012-01-16 18:51 ` [PATCH v2] " Fabio Estevam
@ 2012-01-16 20:51   ` Marek Vasut
  2012-01-26 15:30   ` Fabio Estevam
  1 sibling, 0 replies; 7+ messages in thread
From: Marek Vasut @ 2012-01-16 20:51 UTC (permalink / raw)
  To: linux-arm-kernel

> Let audio support be built by default.
> 
> As sgtl5000 codec is connected via I2C, let MXS I2C driver also be built
> by default.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Changes since v1:
> - Add regulator config options
> 
>  arch/arm/configs/mxs_defconfig |   20 +++++++++++++++++---
>  1 files changed, 17 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/configs/mxs_defconfig
> b/arch/arm/configs/mxs_defconfig index 6ee781b..1ebbf45 100644
> --- a/arch/arm/configs/mxs_defconfig
> +++ b/arch/arm/configs/mxs_defconfig
> @@ -77,10 +77,10 @@ CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
>  CONFIG_SERIAL_AMBA_PL011=y
>  CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
>  # CONFIG_HW_RANDOM is not set
> -CONFIG_I2C=m
> +CONFIG_I2C=y
>  # CONFIG_I2C_COMPAT is not set
> -CONFIG_I2C_CHARDEV=m
> -CONFIG_I2C_MXS=m
> +CONFIG_I2C_CHARDEV=y
> +CONFIG_I2C_MXS=y
>  CONFIG_SPI=y
>  CONFIG_SPI_GPIO=m
>  CONFIG_DEBUG_GPIO=y
> @@ -90,6 +90,20 @@ CONFIG_GPIO_SYSFS=y
>  CONFIG_DISPLAY_SUPPORT=m
>  # CONFIG_HID_SUPPORT is not set
>  # CONFIG_USB_SUPPORT is not set
> +CONFIG_SOUND=y
> +CONFIG_SND=y
> +CONFIG_SND_TIMER=y
> +CONFIG_SND_PCM=y
> +CONFIG_SND_JACK=y
> +CONFIG_SND_DRIVERS=y
> +CONFIG_SND_ARM=y
> +CONFIG_SND_SOC=y
> +CONFIG_SND_MXS_SOC=y
> +CONFIG_SND_SOC_MXS_SGTL5000=y
> +CONFIG_SND_SOC_I2C_AND_SPI=y
> +CONFIG_SND_SOC_SGTL5000=y
> +CONFIG_REGULATOR=y
> +CONFIG_REGULATOR_FIXED_VOLTAGE=y
>  CONFIG_MMC=y
>  CONFIG_MMC_MXS=y
>  CONFIG_RTC_CLASS=y

Acked-by: Marek Vasut <marek.vasut@gmail.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2] ARM: mx28: Let audio support be built by default
  2012-01-16 18:51 ` [PATCH v2] " Fabio Estevam
  2012-01-16 20:51   ` Marek Vasut
@ 2012-01-26 15:30   ` Fabio Estevam
  2012-01-27  6:17     ` Shawn Guo
  1 sibling, 1 reply; 7+ messages in thread
From: Fabio Estevam @ 2012-01-26 15:30 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Shawn,

On 1/16/12, Fabio Estevam <fabio.estevam@freescale.com> wrote:
> Let audio support be built by default.
>
> As sgtl5000 codec is connected via I2C, let MXS I2C driver also be built
> by default.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Changes since v1:
> - Add regulator config options

Is this good now?

Regards,

Fabio Estevam

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2] ARM: mx28: Let audio support be built by default
  2012-01-26 15:30   ` Fabio Estevam
@ 2012-01-27  6:17     ` Shawn Guo
  0 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2012-01-27  6:17 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jan 26, 2012 at 01:30:41PM -0200, Fabio Estevam wrote:
> Hi Shawn,
> 
> On 1/16/12, Fabio Estevam <fabio.estevam@freescale.com> wrote:
> > Let audio support be built by default.
> >
> > As sgtl5000 codec is connected via I2C, let MXS I2C driver also be built
> > by default.
> >
> > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> > ---
> > Changes since v1:
> > - Add regulator config options
> 
> Is this good now?
> 
Yes.  Applied, thanks.

-- 
Regards,
Shawn

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-01-27  6:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-29 14:46 [PATCH] ARM: mx28: Let audio support be built by default Fabio Estevam
2011-12-29 15:23 ` Marek Vasut
2012-01-05 12:48 ` Shawn Guo
2012-01-16 18:51 ` [PATCH v2] " Fabio Estevam
2012-01-16 20:51   ` Marek Vasut
2012-01-26 15:30   ` Fabio Estevam
2012-01-27  6:17     ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).