Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1240163yba; Thu, 4 Apr 2019 07:02:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVSkwZraFjn/T3kqMLVocd+zDEC6UrPef4Jn3JvPYwhfkc8LmkYqXxVXbBtfanZvWW2pwY X-Received: by 2002:a17:902:9043:: with SMTP id w3mr6622219plz.101.1554386530382; Thu, 04 Apr 2019 07:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554386530; cv=none; d=google.com; s=arc-20160816; b=xaeEwPgCGs8uaW/GhJVysS9u38nNs6HCXNu5Ss88VmBid/W26ALUch1gYsD1obF6we PrDn/HfQbRxFDlMcv4qvdiTyvHHJYl/QD3XdHJPuRD6tXLKW/OqZcjlpz0Mx34BiEG6u u4VMaz1XwOagz7uTxpfTAXiMJ9xUJ+EfdLpf20inQISep3u8s1ILjraYtadzt5HrN3Mv s+q+Uy1McXFHqtQUj4OeqELmgMi0f0m99DdJyiDWga+LQm/4xH5J5WW85zAnVbzQDIGZ IufiuBTq9qFuGGKh6hs2sTJXmV3msPe0k31kFIzQrNyinXSrh8rAQANjIF/fbem6Ic2l 15Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=v+Xa6dbmJr7fu6i2szrVrzRxJBaSR2eZR3VTI8mWacs=; b=Opx8YKKMkgmicGGZ/xzulsT484ZTBxAgh7vrqwdf8NuFjFYUtfXoS8lXpzCbqKkd7i lQscpewu8bQGtalv2ARXdmKJrEIGFQInQxRzIl+azq69B2DgZFhuezEprSLRh+y0l4PR aAeQPFahn1AVXEGaUJic+tS7Ou01J5O/I2Ed/lZN7DfUHHnpaUILC5jsQUD9gLxqoREi hrdB8LbSjmDM0KMwScq6w+zshlg0e57RnikQRNP3whHK16m6P6ZQmCvwDovIoXnXhlwv eKEyF9CSp7faQAUVK06yGwFTefgjcc+mcpE030PdDL9FGC32wvtdHrj1WkcstN3S2PiC CLNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="QnmhC/CZ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z126si12661235pgb.447.2019.04.04.07.01.54; Thu, 04 Apr 2019 07:02:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="QnmhC/CZ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728854AbfDDN6j (ORCPT + 99 others); Thu, 4 Apr 2019 09:58:39 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:60098 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727258AbfDDN6i (ORCPT ); Thu, 4 Apr 2019 09:58:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=v+Xa6dbmJr7fu6i2szrVrzRxJBaSR2eZR3VTI8mWacs=; b=QnmhC/CZiLvQ LPnA5ztNwVqTaJf84QlBwff7uWn8qsr+WnDJZ1v2sIioQTQGgqdtcaFiUG5YQPbxohfF6B7LA+ung RWNI5SEFkdDU2dU7JpnW8vD9cZuh6lNQ+3k9Vp48CKgQbuTllqbWSFLe0v/Lu5LiCwFTs6rX0xTmR t1gUk=; Received: from [147.50.13.10] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hC2sn-0006cu-Fo; Thu, 04 Apr 2019 13:58:21 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id E959C441D3B; Thu, 4 Apr 2019 20:58:17 +0700 (+07) From: Mark Brown To: Olivier Moysan Cc: Mark Brown , lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, alsa-devel@alsa-project.org, robh@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-kernel@vger.kernel.org, olivier.moysan@st.com, arnaud.pouliquen@st.com, benjamin.gaignard@st.com, apatard@mandriva.com, alsa-devel@alsa-project.org Subject: Applied "ASoC: cs42l51: add adc volume control" to the asoc tree In-Reply-To: <1554297817-14154-8-git-send-email-olivier.moysan@st.com> X-Patchwork-Hint: ignore Message-Id: <20190404135817.E959C441D3B@finisterre.ee.mobilebroadband> Date: Thu, 4 Apr 2019 20:58:17 +0700 (+07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: cs42l51: add adc volume control has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From e04232c38190ec4485c62ceff94cf2b1c0caba20 Mon Sep 17 00:00:00 2001 From: Olivier Moysan Date: Wed, 3 Apr 2019 15:23:37 +0200 Subject: [PATCH] ASoC: cs42l51: add adc volume control Add ADC boost volume control for CS42L51 codec. Signed-off-by: Olivier Moysan Signed-off-by: Mark Brown --- sound/soc/codecs/cs42l51.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/codecs/cs42l51.c b/sound/soc/codecs/cs42l51.c index b8f43858876a..58ece037d944 100644 --- a/sound/soc/codecs/cs42l51.c +++ b/sound/soc/codecs/cs42l51.c @@ -123,6 +123,7 @@ static const DECLARE_TLV_DB_SCALE(tone_tlv, -1050, 150, 0); static const DECLARE_TLV_DB_SCALE(aout_tlv, -10200, 50, 0); static const DECLARE_TLV_DB_SCALE(boost_tlv, 1600, 1600, 0); +static const DECLARE_TLV_DB_SCALE(adc_boost_tlv, 2000, 2000, 0); static const char *chan_mix[] = { "L R", "L+R", @@ -151,6 +152,8 @@ static const struct snd_kcontrol_new cs42l51_snd_controls[] = { SOC_SINGLE("Zero Cross Switch", CS42L51_DAC_CTL, 0, 0, 0), SOC_DOUBLE_TLV("Mic Boost Volume", CS42L51_MIC_CTL, 0, 1, 1, 0, boost_tlv), + SOC_DOUBLE_TLV("ADC Boost Volume", + CS42L51_MIC_CTL, 5, 6, 1, 0, adc_boost_tlv), SOC_SINGLE_TLV("Bass Volume", CS42L51_TONE_CTL, 0, 0xf, 1, tone_tlv), SOC_SINGLE_TLV("Treble Volume", CS42L51_TONE_CTL, 4, 0xf, 1, tone_tlv), SOC_ENUM_EXT("PCM channel mixer", -- 2.20.1