From patchwork Fri Oct 28 20:55:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 13024309 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E01C5ECAAA1 for ; Fri, 28 Oct 2022 20:58:04 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 02F13163A; Fri, 28 Oct 2022 22:57:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 02F13163A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1666990683; bh=k0ciXJ9TnsI96EclJ+3I0qJrPTH22yg0wvdKWox0Yts=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Dhwwsc5gdSWGZQMt6mnDBbsUAdm9sPFwEbPTtJ+xVFBHvRXrt/q2rjDqiQQaPQ7Zh KnGOEqW40NnSe5bf0F7wBUlfwJp/logv4iOA6EVzl2Fjjz57Cy5qte/cEtFLNdybVl Ck7uxGaQiqjx4LzQp3xqpXC1zwJbJE3M2H/vAFHY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id EA112F80566; Fri, 28 Oct 2022 22:56:04 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E276FF80563; Fri, 28 Oct 2022 22:56:02 +0200 (CEST) Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5E7E6F8024C for ; Fri, 28 Oct 2022 22:56:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5E7E6F8024C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="Dr/5K/hx" Received: from notapiano.myfiosgateway.com (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id CD1676602943; Fri, 28 Oct 2022 21:55:57 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666990559; bh=k0ciXJ9TnsI96EclJ+3I0qJrPTH22yg0wvdKWox0Yts=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dr/5K/hxbGJrVT4XPuyjGzz/3Uum/9Fd9mrf8EQhK/6ZcWFGej3jAAgOHmJK//bUU TQ5J3NxsnHW67K1TKUI6HCXxr6VYdZNYNkXy6U3Mi7Q2Or18yPfN+v1v5XDd6c5lt1 QwaBjBwtRR4uwm9gcArc0HucMg1BUNbGteR9UQEtJzbgGpk1P+dMokd3vbreQuEZ6u ceUiW+a+fnsAAT+As/738oHDRssJPvywt3jXdgwz+vNUYCQkAdrUG9p49oIXFdM8MR P++AX6xwtUG1mvI5Ro4y/msZiEOpqecj3RnAKuER9ICKw2cU0wjSEbrRiXLioin/47 3BIwOoyt9X33g== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown , Bjorn Andersson Subject: [PATCH 6/8] ASoC: rt5682: Support dbvdd and ldo1-in supplies Date: Fri, 28 Oct 2022 16:55:38 -0400 Message-Id: <20221028205540.3197304-7-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221028205540.3197304-1-nfraprado@collabora.com> References: <20221028205540.3197304-1-nfraprado@collabora.com> MIME-Version: 1.0 Cc: Oder Chiou , alsa-devel@alsa-project.org, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , kernel@collabora.com, AngeloGioacchino Del Regno X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Add support for the dbvdd and ldo1-in supplies. Signed-off-by: NĂ­colas F. R. A. Prado Reviewed-by: AngeloGioacchino Del Regno --- sound/soc/codecs/rt5682.c | 2 ++ sound/soc/codecs/rt5682.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c index 2df95e792900..f0a400285dcf 100644 --- a/sound/soc/codecs/rt5682.c +++ b/sound/soc/codecs/rt5682.c @@ -35,6 +35,8 @@ const char *rt5682_supply_names[RT5682_NUM_SUPPLIES] = { "AVDD", "MICVDD", "VBAT", + "dbvdd", + "ldo1-in", }; EXPORT_SYMBOL_GPL(rt5682_supply_names); diff --git a/sound/soc/codecs/rt5682.h b/sound/soc/codecs/rt5682.h index 52ff0d9c36c5..d568c6993c33 100644 --- a/sound/soc/codecs/rt5682.h +++ b/sound/soc/codecs/rt5682.h @@ -1424,7 +1424,7 @@ enum { RT5682_CLK_SEL_I2S2_ASRC, }; -#define RT5682_NUM_SUPPLIES 3 +#define RT5682_NUM_SUPPLIES 5 struct rt5682_priv { struct snd_soc_component *component;