All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 10/14] sandbox: exynos: Move CONFIG_I2S to Kconfig
Date: Fri,  6 Mar 2015 13:19:10 -0700	[thread overview]
Message-ID: <1425673154-28383-11-git-send-email-sjg@chromium.org> (raw)
In-Reply-To: <1425673154-28383-1-git-send-email-sjg@chromium.org>

Move this over to Kconfig and tidy up.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 configs/arndale_defconfig           | 1 +
 configs/smdk5250_defconfig          | 1 +
 configs/snow_defconfig              | 1 +
 drivers/sound/Kconfig               | 9 +++++++++
 include/configs/exynos5250-common.h | 1 -
 5 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/configs/arndale_defconfig b/configs/arndale_defconfig
index 7102d27..9c0b62f 100644
--- a/configs/arndale_defconfig
+++ b/configs/arndale_defconfig
@@ -5,3 +5,4 @@ CONFIG_SPL=y
 CONFIG_DEFAULT_DEVICE_TREE="exynos5250-arndale"
 CONFIG_SOUND=y
 CONFIG_CMD_SOUND=y
+CONFIG_I2S=y
diff --git a/configs/smdk5250_defconfig b/configs/smdk5250_defconfig
index 06f2bd9..42908b4 100644
--- a/configs/smdk5250_defconfig
+++ b/configs/smdk5250_defconfig
@@ -5,3 +5,4 @@ CONFIG_SPL=y
 CONFIG_DEFAULT_DEVICE_TREE="exynos5250-smdk5250"
 CONFIG_SOUND=y
 CONFIG_CMD_SOUND=y
+CONFIG_I2S=y
diff --git a/configs/snow_defconfig b/configs/snow_defconfig
index 817e8f3..368fb3c 100644
--- a/configs/snow_defconfig
+++ b/configs/snow_defconfig
@@ -10,3 +10,4 @@ CONFIG_CROS_EC_KEYB=y
 CONFIG_CMD_CROS_EC=y
 CONFIG_SOUND=y
 CONFIG_CMD_SOUND=y
+CONFIG_I2S=y
diff --git a/drivers/sound/Kconfig b/drivers/sound/Kconfig
index 599edae..759a10f 100644
--- a/drivers/sound/Kconfig
+++ b/drivers/sound/Kconfig
@@ -9,3 +9,12 @@ config SOUND
 	  Note: At present the sound setup is somewhat tangled up in that the
 	  audio codecs are called from the sound-i2s code. This could be
 	  converted to driver model.
+
+config I2S
+	bool "Enable I2S support"
+	depends on SOUND
+	help
+	  I2S is a serial bus often used to transmit audio data from the
+	  SoC to the audio codec. This option enables sound support using
+	  I2S. It calls either of the two supported codecs (no use is made
+	  of driver model at present).
diff --git a/include/configs/exynos5250-common.h b/include/configs/exynos5250-common.h
index 9f09e14..c9eac15 100644
--- a/include/configs/exynos5250-common.h
+++ b/include/configs/exynos5250-common.h
@@ -31,7 +31,6 @@
 /* Sound */
 #ifdef CONFIG_CMD_SOUND
 #define CONFIG_I2S_SAMSUNG
-#define CONFIG_I2S
 #define CONFIG_SOUND_MAX98095
 #define CONFIG_SOUND_WM8994
 #endif
-- 
2.2.0.rc0.207.ga3a616c

  parent reply	other threads:[~2015-03-06 20:19 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 20:19 [U-Boot] [PATCH 0/14] sandbox: exynos: Move some (mostly) sandbox CONFIG options to Kconfig Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 01/14] sandbox: Move GPIO CONFIGs " Simon Glass
2015-04-09  3:02   ` Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 02/14] sandbox: Move CONFIG_SYS_VSNPRINTF " Simon Glass
2015-04-09  3:02   ` Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 03/14] sandbox: Move CONFIG_SANDBOX_SERIAL " Simon Glass
2015-06-11 20:19   ` Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 04/14] sandbox: Move CONFIG_SYS_I2C_SANDBOX " Simon Glass
2015-03-09  7:28   ` Heiko Schocher
2015-04-09  3:02     ` Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 05/14] sandbox: Move CONFIG_SANDBOX_SPI " Simon Glass
2015-04-09  3:02   ` Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 06/14] sandbox: Move CONFIG_SPI_FLASH_SANDBOX " Simon Glass
2015-04-09  3:02   ` Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 07/14] sandbox: Move CONFIG_TPM_TIS_SANDBOX " Simon Glass
2015-04-09  3:02   ` Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 08/14] sandbox: exynos: Move CONFIG_SOUND " Simon Glass
2015-04-09  3:02   ` Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 09/14] sandbox: exynos: Move CONFIG_CMD_SOUND " Simon Glass
2015-04-09  3:02   ` Simon Glass
2015-03-06 20:19 ` Simon Glass [this message]
2015-04-09  3:02   ` [U-Boot] [PATCH 10/14] sandbox: exynos: Move CONFIG_I2S " Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 11/14] sandbox: exynos: Move CONFIG_I2S_SAMSUNG " Simon Glass
2015-04-09  3:02   ` Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 12/14] sandbox: exynos: Move CONFIG_SOUND_MAX98095 " Simon Glass
2015-04-09  3:02   ` Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 13/14] sandbox: exynos: Move CONFIG_SOUND_WM8994 " Simon Glass
2015-04-09  3:02   ` Simon Glass
2015-03-06 20:19 ` [U-Boot] [PATCH 14/14] sandbox: exynos: Move CONFIG_SOUND_SANDBOX " Simon Glass
2015-04-09  3:03   ` Simon Glass
2015-04-01  2:29 ` [U-Boot] [PATCH 0/14] sandbox: exynos: Move some (mostly) sandbox CONFIG options " Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1425673154-28383-11-git-send-email-sjg@chromium.org \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.