From patchwork Wed Jan 4 14:04:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13088615 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 3C81EC4332F for ; Wed, 4 Jan 2023 14:05:37 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 68089B1B0; Wed, 4 Jan 2023 15:04:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 68089B1B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1672841135; bh=rQbyRGIOjye6XpK3VIW9faCnu3RpMayfvgYRrYPUabw=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=fLnejbFIbmObwemcHpHBt5tCpVEtyjxInLdts0MPum20QS4DZK7HYl5stV0iK7jsq 5gYkfjV3afRmobon/5TZGKwlTZzmWnNZubFjjApUkbJhRjwMMD6hlibSobVMj+T3NW 0z4N7QklTRTSdEQL8n/ebTFaM01/bCwBRZ80IWng= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 23769F80240; Wed, 4 Jan 2023 15:04:45 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AE6C2F8023B; Wed, 4 Jan 2023 15:04:43 +0100 (CET) Received: from smtp-out-08.comm2000.it (smtp-out-08.comm2000.it [212.97.32.78]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 4BC05F80238 for ; Wed, 4 Jan 2023 15:04:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4BC05F80238 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=mailserver.it header.i=@mailserver.it header.a=rsa-sha256 header.s=mailsrv header.b=u0BlObqy Received: from francesco-nb.toradex.int (31-10-206-125.static.upc.ch [31.10.206.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: francesco@dolcini.it) by smtp-out-08.comm2000.it (Postfix) with ESMTPSA id B154F4233B5; Wed, 4 Jan 2023 15:04:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1672841074; bh=rQbyRGIOjye6XpK3VIW9faCnu3RpMayfvgYRrYPUabw=; h=From:To:Cc:Subject:Date; b=u0BlObqy+vqP7z9a1KVtY+kUuYCsKBinxLvXBDKDAiwDOeny5d898e6PmfyB+ldNx tyS+pfm60c3682PGIq2qzaXrQAbC+akwJBp/UR1WSOd0wD1vmU3oLgPMoskm6hlE3z LUS+V8q2UWLO6JVHIwbSISOddi3GLf5KhJQG/ZsrUHkyP9xqmEFMW4NVNvyHJihm2u MZKClDWVgsgBFo9nEkwxVNSNItwcrDYDzOf0QUjqSC1Xc9KHJrzReAirMCQrvUpy2q ZZFOvu72L933TOqdLn2S3Q8rwWWxoW7xhh/bbzhb4jJfwAVKh56PB+mP1d092I1dGh ixmNBGxvj9aQw== From: Francesco Dolcini To: alsa-devel@alsa-project.org, devicetree@vger.kernel.org Subject: [PATCH v2 0/3] ASoC: nau8822: add speaker Bridge Tied Output Date: Wed, 4 Jan 2023 15:04:09 +0100 Message-Id: <20230104140412.35575-1-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 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: , Cc: wtli@nuvoton.com, Takashi Iwai , kchsu0@nuvoton.com, Liam Girdwood , Rob Herring , Benjamin Marty , Mark Brown , Krzysztof Kozlowski , Francesco Dolcini Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Francesco Dolcini Add support for BTL (Bridge Tied Load) configuration to NAU8822 audio codec, since this requires adding a new property to the binding convert it from txt to yaml first. v2: - added Krzysztof reviewed-by and acked-by - removed non-relevant information about SPI not being supported from binding document Emanuele Ghidoli (3): ASoC: dt-bindings: nau8822: convert to the dtschema ASoC: dt-bindings: nau8822: add nuvoton,spk-btl property to dtschema ASoC: nau8822: add speaker Bridge Tied Output configuration .../devicetree/bindings/sound/nau8822.txt | 16 ------- .../bindings/sound/nuvoton,nau8822.yaml | 46 +++++++++++++++++++ sound/soc/codecs/nau8822.c | 10 ++++ sound/soc/codecs/nau8822.h | 9 ++++ 4 files changed, 65 insertions(+), 16 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/nau8822.txt create mode 100644 Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml