From patchwork Fri Mar 6 20:19:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 447903 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 4E27F140119 for ; Mon, 9 Mar 2015 18:39:16 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BCB86A757D; Mon, 9 Mar 2015 08:38:34 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id arwS_DhrPMdM; Mon, 9 Mar 2015 08:38:34 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6DD40A747F; Mon, 9 Mar 2015 08:37:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B25F04A03A for ; Sat, 7 Mar 2015 08:51:41 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xj6CaOclXoMY for ; Sat, 7 Mar 2015 08:51:41 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pa0-f74.google.com (mail-pa0-f74.google.com [209.85.220.74]) by theia.denx.de (Postfix) with ESMTPS id 3FA744A039 for ; Sat, 7 Mar 2015 08:51:36 +0100 (CET) Received: by pablj1 with SMTP id lj1so6543864pab.0 for ; Fri, 06 Mar 2015 23:51:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=V3Izp/yX2NX5687p8gLp4VnQ2gL5Bi/wvfBpytEHMMk=; b=iSHKJqi+ETPMVP4s+33OWJaC7ZHJiqOhb2/hQja1Sr9Fs5S5Gn0FssonEBBBOKQCzq sRX90H877LX24aN+vPuiHyRIp7IBZ6pdoyWxIl6e84trDeGK/08jD/kt74u1XTlxXXPi /8E+EVALl8PZlTZ8dlqux8TxCSGR4c0zdJPgLVO/oVhNlEK+nfhbbgNZ/dbVBr27REUm vB1nvjtR+u0fSml4HtTrIqBE2o6cYPccS22ZilbB6vCs6MwWcKHx2JT0jV1bLEWcFEvx 6VTJkHfvaMXLXiHgA9Bv+Q81nQF+LFvclgCMgWx1ZNFMiFlFqaAts4XH/Vk9ptzIxEGj l9oA== X-Gm-Message-State: ALoCoQlX9e2zYrsKd74K3xAHRnCkRzDY3THRPBPz6KXQPuhNUMdLIez8imIp1JFA8FEX+3b95N+1 X-Received: by 10.67.8.100 with SMTP id dj4mr15700573pad.35.1425673189573; Fri, 06 Mar 2015 12:19:49 -0800 (PST) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id z16si886357yhz.5.2015.03.06.12.19.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Mar 2015 12:19:49 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id 4SoQX5Rc.2; Fri, 06 Mar 2015 12:19:49 -0800 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id B5144221239; Fri, 6 Mar 2015 13:19:48 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Fri, 6 Mar 2015 13:19:13 -0700 Message-Id: <1425673154-28383-14-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c In-Reply-To: <1425673154-28383-1-git-send-email-sjg@chromium.org> References: <1425673154-28383-1-git-send-email-sjg@chromium.org> Cc: Tom Rini , Akshay Saraswat , Ian Campbell , Masahiro Yamada , Przemyslaw Marczak , Ajay Kumar Subject: [U-Boot] [PATCH 13/14] sandbox: exynos: Move CONFIG_SOUND_WM8994 to Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Move this over to Kconfig and tidy up. Signed-off-by: Simon Glass --- configs/snow_defconfig | 1 + drivers/sound/Kconfig | 8 ++++++++ include/configs/exynos5250-common.h | 5 ----- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/configs/snow_defconfig b/configs/snow_defconfig index 70c2b22..7641ec5 100644 --- a/configs/snow_defconfig +++ b/configs/snow_defconfig @@ -12,3 +12,4 @@ CONFIG_SOUND=y CONFIG_CMD_SOUND=y CONFIG_I2S=y CONFIG_I2S_SAMSUNG=y +CONFIG_SOUND_MAX98095=y diff --git a/drivers/sound/Kconfig b/drivers/sound/Kconfig index cfc75cb..a1c950b 100644 --- a/drivers/sound/Kconfig +++ b/drivers/sound/Kconfig @@ -36,3 +36,11 @@ config SOUND_MAX98095 Enable the max98095 audio codec. This is connected via I2S for audio data and I2C for codec control. At present it only works with the Samsung I2S driver. + +config SOUND_WM8994 + bool "Support Wolfson Micro wm8994 audio codec" + depends on I2S_SAMSUNG + help + Enable the wm8994 audio codec. This is connected via I2S for + audio data and I2C for codec control. At present it only works + with the Samsung I2S driver. diff --git a/include/configs/exynos5250-common.h b/include/configs/exynos5250-common.h index 79a7adf..95e96ec 100644 --- a/include/configs/exynos5250-common.h +++ b/include/configs/exynos5250-common.h @@ -28,11 +28,6 @@ #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK -/* Sound */ -#ifdef CONFIG_CMD_SOUND -#define CONFIG_SOUND_WM8994 -#endif - /* I2C */ #define CONFIG_MAX_I2C_NUM 8