From patchwork Tue Jun 21 03:54:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12888662 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 066C2C43334 for ; Tue, 21 Jun 2022 03:56:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/FrCPKUQ2cl++519jzaauarNOkcFuDuY1B+4BDKB6K4=; b=drYumjFnQ9F0j/ lEmy/3wgogeGHqMJnjYTT3WbN4p7XoRHCDwt69jwXRovAqXczQPcU4SQx01gEAIAO/PckZ9mQrIa5 HJLwaZ5vocOEgzxZB9pnv5GoHP0RE6MLR3zH8I/lbM9HRHhFg7cFGyv4UPk76ziVTKcrF+mIauCig tn6yR9BHicGTaozDR1nQKlxpxSu/0aBeMeKKbqhGmnGGzDHQdSV5Q1yaEhFMgT0MZZEG5s6Cuwo/D C/jh7gesRU8IJWVri+6KBQ/4+KCTKBUyK0VI21IaHT3K698R5L9DM0h5WXB3rXL/VOUMrEc+EOrc+ uhflXEHFcqYyyqhN63LQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3Uyh-003T0V-Fp; Tue, 21 Jun 2022 03:54:59 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3Uye-003SzN-Sd for linux-arm-kernel@lists.infradead.org; Tue, 21 Jun 2022 03:54:58 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id E5CE732009A1; Mon, 20 Jun 2022 23:54:54 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 20 Jun 2022 23:54:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=1655783694; x=1655870094; bh=Aj0WbuhEK+ve9fPGKSsd1N6JT jcG1lfLNaPRI4PgfF8=; b=OSb+CYEMVLtOFgHTAu+BCjGTP+WFbQ4dtbBjCMiWN FAq8Pk83JVWHMC/Or7scxyf46aOjIBWHB20UrUwni+44nefxLBlmsIr2f60+AAtk ScTIpBofLQ157k4NBjs3EXAYfoRiFHkDzSNtXYYC/Oj0OCaBa6E3PNSrT6N1jwWU NMWEcyXctiIWr74F+EH/iaW5TZXaIEQaxIjfS0ntGku7Qeeg/Nn9rBDGiPVb0vJQ NYPch1DmLyTVFItTaG8lY5L/0M4foP05BI87jqo8I5G3cFNKUc8gbrotOLxOZ6/2 ZJoilgbe2M+p+Y4ig+ZmiXtjyuESDFVJrIQPa6vto3DXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1655783694; x=1655870094; bh=Aj0WbuhEK+ve9fPGKSsd1N6JTjcG1lfLNaP RI4PgfF8=; b=PYb5Ho6h90HMXuYOd5z2zUmbzfaAbx9/rMGrNR0bngMH5DHWrm/ jeFK4h9OZEnLOixiyR+VWmXCWS11Emc9dU0mRDKP2i4f/TS6JEU+dE9M84t+Xe1k ELgkLjldx0dIrPpO9cKKZFwWwY+MOfrnBOU7eC9iT8e57Coh6MzVomyuqJrHqbbP heFyL1qK+NcGCRP3l3Eg9XOn5+hiBa1Q/8scICXpL7UK+PHNqZAxIpDaipPepX2+ cCTVRDhBDkDn05UxoXh0Rh7rOOJnTpQkml81F1vvzmEjejZgolMDf+y6rXy2nlmD 2aU/Jz0TA37xq8843+lm2HWLcE4sgoEh9/A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudefvddgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrf grthhtvghrnhepkeevlefhjeeuleeltedvjedvfeefteegleehueejffehgffffeekhefh hfekkeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Jun 2022 23:54:53 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , Liam Girdwood , Mark Brown Cc: Arnaud Ferraris , Samuel Holland , Jaroslav Kysela , Krzysztof Kozlowski , Maxime Ripard , Rob Herring , Takashi Iwai , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [PATCH v2 0/3] ASoC: sun50i-codec-analog: Internal bias support Date: Mon, 20 Jun 2022 22:54:49 -0500 Message-Id: <20220621035452.60272-1-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220620_205457_003463_861E5329 X-CRM114-Status: GOOD ( 10.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds support for enabling the codec's internal microphone bias, which is needed on at least some versions of the PinePhone. Changes in v2: - Move register update from component probe to device probe Arnaud Ferraris (2): ASoC: dt-bindings: sun50i-codec: Add binding for internal bias ASoC: sun50i-codec-analog: Add support for internal bias Samuel Holland (1): arm64: dts: allwinner: pinephone: Enable internal HMIC bias .../bindings/sound/allwinner,sun50i-a64-codec-analog.yaml | 5 +++++ .../arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts | 4 ++++ .../arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts | 4 ++++ sound/soc/sunxi/sun50i-codec-analog.c | 8 ++++++++ 4 files changed, 21 insertions(+)