Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3120671imm; Fri, 19 Oct 2018 05:34:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV60pC83WzqRs8q4L/r7iWYwkzm0I4mxOqUYcq9QxhJDju4kyhadRB/cjFt9eqUaTiy22VnQz X-Received: by 2002:a63:f005:: with SMTP id k5-v6mr32627203pgh.259.1539952479848; Fri, 19 Oct 2018 05:34:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539952479; cv=none; d=google.com; s=arc-20160816; b=vePJ6Wy28L3M51YD5nPtwa4LIzin5y6xnL/7A8Pf59Em1pEZpTeyFZDvZB8JGMuy8t UVvW5t2hKpfVadmwcP1F6Mwhago5ZxuoFq+7C9GRTpeYLI0ZHCPxPhnMPnheXpjfMXYN /wYASuOQq98d5MGQyJ50pnMEH7rUAuuskOErdWBSptu9czz9ZrlKisxRe0J4mQ7ZyrQR oBYM7zJAgif9W/+eyOBHv20kOgRIZN9DdxtQb+ii1Fn7STTXI+0rCylrnxFhxdAkA+Yf fFawvtOLII6OLdSoycuWDINHTRLtSeG+BOkY6meD5seIgTW6pQeQzQLfYs+v3iss2F/h +h4w== 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=nh2kojcw2jaKby+BJCN49CIPjDIrukbxVKSOzGMgGOY=; b=m1qQUvJNox3iD6cEIvYzMKOtI12tIXw/OovEEimUPGQxqE2+zQ6ESszNg1zblkaq6M gEfGAKfXD0GeOOVizmtrEryarnRufOgg/4KluEZ9qKF/+bsMOcBxtBjbHyq7yflmXv4r R75NszT1aSv/RGd1RaRItouWqVR1cFWoahf3KHNA5azcKhg9LCdQTyLXPnBv4I1c72EI BQ8zl8jyAFLCZMad9rqdNVk2J22lM1Mwa4imKTYPOaGQRPgn4F6s5P/lwxmNbAeA1SU2 8b08PHVSlvXlZjKtm7hbw+Bikozk8TAxT+VtDrPSMwolyRPkc3RiWEXt/qf1p4kON6X6 1POg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=tpElYZsK; 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 l25-v6si24397089pfe.277.2018.10.19.05.34.24; Fri, 19 Oct 2018 05:34:39 -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=tpElYZsK; 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 S1727220AbeJSUj6 (ORCPT + 99 others); Fri, 19 Oct 2018 16:39:58 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:51464 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726609AbeJSUj6 (ORCPT ); Fri, 19 Oct 2018 16:39:58 -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=nh2kojcw2jaKby+BJCN49CIPjDIrukbxVKSOzGMgGOY=; b=tpElYZsKZoFo 1ktbRMjeqDDNTcr0PFYtycULn29u8fb+3QHieHeSLb6UwH8e1DL3KjCLBQDX9kOpO2T1/VGdY7yWD f9Xmwqy6c/jHOlH4oS7YzrkCNKL5Eo6O5l9BXRp/RBW2fl+I6sAPvGwKKzVnXkWkygv5QmprrHF5F iKkfg=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gDTyR-00006W-3g; Fri, 19 Oct 2018 12:33:51 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id D34AD1122548; Fri, 19 Oct 2018 13:33:50 +0100 (BST) 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, alsa-devel@alsa-project.org Subject: Applied "ASoC: cs42l51: add mclk support" to the asoc tree In-Reply-To: <1539612216-12602-5-git-send-email-olivier.moysan@st.com> Message-Id: <20181019123350.D34AD1122548@debutante.sirena.org.uk> Date: Fri, 19 Oct 2018 13:33:50 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: cs42l51: add mclk support 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 5e8d63a726f8f2fef089515e9a501785cc67dcdc Mon Sep 17 00:00:00 2001 From: Olivier Moysan Date: Mon, 15 Oct 2018 16:03:36 +0200 Subject: [PATCH] ASoC: cs42l51: add mclk support Add MCLK dapm to allow configuration of cirrus CS42l51 codec as a master clock consumer. Signed-off-by: Olivier Moysan Signed-off-by: Mark Brown --- sound/soc/codecs/cs42l51.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sound/soc/codecs/cs42l51.c b/sound/soc/codecs/cs42l51.c index 5080d7a3c279..eb40bff54cec 100644 --- a/sound/soc/codecs/cs42l51.c +++ b/sound/soc/codecs/cs42l51.c @@ -237,6 +237,10 @@ static const struct snd_soc_dapm_widget cs42l51_dapm_widgets[] = { &cs42l51_adcr_mux_controls), }; +static const struct snd_soc_dapm_widget cs42l51_dapm_mclk_widgets[] = { + SND_SOC_DAPM_CLOCK_SUPPLY("MCLK") +}; + static const struct snd_soc_dapm_route cs42l51_routes[] = { {"HPL", NULL, "Left DAC"}, {"HPR", NULL, "Right DAC"}, @@ -487,6 +491,10 @@ static struct snd_soc_dai_driver cs42l51_dai = { static int cs42l51_component_probe(struct snd_soc_component *component) { int ret, reg; + struct snd_soc_dapm_context *dapm; + + dapm = snd_soc_component_get_dapm(component); + snd_soc_dapm_new_controls(dapm, cs42l51_dapm_mclk_widgets, 1); /* * DAC configuration -- 2.19.0.rc2