From patchwork Mon Oct 24 22:00:12 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: 10409 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp710246wru; Mon, 24 Oct 2022 16:54:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5CwB+MtSFtDtZ3tiznqPWwCcfBCTyy4u8n/GR5r3M25IQtPFwpYp1wyvE3BIFwtGh23hCF X-Received: by 2002:a05:6a00:2288:b0:56b:fe9d:b4b7 with SMTP id f8-20020a056a00228800b0056bfe9db4b7mr4046416pfe.79.1666655655378; Mon, 24 Oct 2022 16:54:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666655655; cv=none; d=google.com; s=arc-20160816; b=xDEmdNaFNaV8icstdhhHKvwlpX4pjWzLD3nJGSR9mgXYF18wd8gbKCfsJ8ByWTKB9T gnyPySL6FZeklXNCQd2/xJk/0ODH0weNT8g8qEunf7sXlUsD5cqQGyi82GzGSwH3X2D5 rAwNCmUXAAnmLo8P+E10iKIL5VEj2dvOirGIYqHulTSuzZaBrkTAsMrLEdRqqi27TWtW R4q4rkRSgVrtLKrcOB3tCHu2M38vQzBQzIdTrbBDNzOxdu8ANMtl2tSM0lJsnoM/iEXb +tBo/CMqTXlbSy2hkbVGdGRAxErvjO/iD/cXKLiF7iWiiFGsW8AYJcFV4Fwl4r56BRlU yj0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3rBLSuvjZ1dsrtPIFOxg50sOHY/qsP5EYI7fe3rKLxo=; b=TEoxP5PZaj8I01uI6bB1IfmcXYVQEt3HfWmvVC8DyTfUkmAOLLVSIUMS64hUyq6aO0 FuaV0gEAU8qhEq/MxgCq5kza/8nNjMvu88bGUoKhi0NcfKUwzWxqBiajQxKpalOzYuF7 xebDGT6xKHgumHzu+N54V7t6gpBmxCxP5r6ekw64lZxtAyC03ZvY6yQPiqqv5DOrirqt lvicuvS0AmujewUAIo42ucT02X6OwKl5Zmdhzi5AvyvAnWwg49KPmeiAU2/3MKY0CRIb enAtNFWRpVObiOdf1qFxqgSWgl2L2fIm/AF73jXL7xu7m2UtZm9CPycFP/NhNXeYVZnp 4FaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Xpmnsd13; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j198-20020a636ecf000000b0046ec2ad4ab7si1088750pgc.52.2022.10.24.16.53.58; Mon, 24 Oct 2022 16:54:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Xpmnsd13; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230098AbiJXXmJ (ORCPT + 99 others); Mon, 24 Oct 2022 19:42:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230070AbiJXXlm (ORCPT ); Mon, 24 Oct 2022 19:41:42 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE9D5192DB0; Mon, 24 Oct 2022 15:00:27 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [194.36.25.51]) (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 049966602823; Mon, 24 Oct 2022 23:00:22 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666648824; bh=d75fJH0ARJtURmP3T8+VteKCb9z0HW7yZAWSp5EIerU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xpmnsd13nVFhEaTQPZgbYHf3o7odt8SGo6UH2G5nMif/BG2OP6Q1OwT/DwTGsOeqf ktD/4Ii4vd7yIqGQxhnGeWHjMNTDnNwoCQZGX4omRwq3yDjOVAJjqbOBF8UX42OglV UWuw43c/mVZ4NBEj9Zze6Of+cwucBjJRJjNFNBUR9FHifvMUAjkMWMEx7N0oTnYcvn OWkxToM4q9hyXtQxbIvNUr5zqpwWZH3RBwb14NoZSXtNnapaphsf9+FvHYqKu93+QU gehUqDGsjTwKNE9WmMGfSxpXVR6OSC8sF45tJ3URgg3iXwbluNkrJfUDD7bT1F/K3h 05dI1WgFuONXA== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Derek Fang , Krzysztof Kozlowski , Liam Girdwood , Rob Herring , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] ASoC: dt-bindings: realtek,rt5682s: Add #sound-dai-cells Date: Mon, 24 Oct 2022 18:00:12 -0400 Message-Id: <20221024220015.1759428-2-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024220015.1759428-1-nfraprado@collabora.com> References: <20221024220015.1759428-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747615120157370944?= X-GMAIL-MSGID: =?utf-8?q?1747615120157370944?= The rt5682s codec is a DAI provider with two interfaces - AIF1 and AIF2 - and therefore should have a #sound-dai-cells property that is equal to 1. Add it. Acked-by: Krzysztof Kozlowski Signed-off-by: Nícolas F. R. A. Prado Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Chen-Yu Tsai --- Changes in v2: - Changed commit message - Changed value to 1 Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml b/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml index ca5b8987b749..1c0b06d82369 100644 --- a/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml +++ b/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml @@ -87,6 +87,9 @@ properties: maxItems: 2 description: Name given for DAI word clock and bit clock outputs. + "#sound-dai-cells": + const: 1 + additionalProperties: false required: From patchwork Mon Oct 24 22:00:13 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: 10410 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp712955wru; Mon, 24 Oct 2022 17:02:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5U7LP9j6PPjHJUU1dVRdjIs2lLNo2/yb1oSCDsl0NdbV6Aid39g1ZcESdjeuG0S5DsUjGW X-Received: by 2002:a17:907:8a1c:b0:78d:ef44:7759 with SMTP id sc28-20020a1709078a1c00b0078def447759mr30710051ejc.441.1666656132970; Mon, 24 Oct 2022 17:02:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666656132; cv=none; d=google.com; s=arc-20160816; b=FxGd7UG3/X9LZ3reolFut10Y4+2hLoUcVdjYDv9Azhfa1W2ObumthoWY+L8tqSs8c/ gVgyU8cSqZwZ+TAjG04qc++AyJxjP4b3+Lk9mFkjRN5xel5/4H0P1uncHV8KAJ6QxoJG NyG5xL7b713sYTG0fO4l+0nb7fc0/QW2eS5eCpUWMxEH/1Ui6Gs9jXFcCuFqvWUhkqP1 1hox/7WMP2zlaaul1rz6QfSY8WvdsKeen4D5V7KQ+a5IY96+31XcZ5op+U5U4k7xtuwi L3oNawm8ziiqR1rwLnKnKCpCTsvqWcPRtdxooqbv6kBYXTw0New0onqIq3YFoXFvVkEp vbuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=p4xo0nWzBLoUrzYOHPdNngMrs8Cn8O6FaIxWrUUvCIc=; b=GBQmqJoRcuJVOSKtXYmY1pAJvWB2BihUc1g5xJtIFfmW7M+6xN3pmGRgu3+ZU99/Du /tx9l300wXyjxLe9tdeawv+tIE0OPKx5516ZXrL8Kejj13kv2SGB7FJhbx5KqucGQ9fM Xgqnlmq1NlzDSPCkoTPR0WXFv5OW/Jdbe6petCqe6KKN83h9mNcg6PiK6pJQNcB/pbf2 8icnQct/5f7Zi+7Nx6tJN5VV3b+XokyPJV4NaQwpmr1zXeOmxczwJ4M6V5QrpHjXDoMt F71SjPX47uCTHzxsY2TYYxTJelhXdEHV8EWGNQbnh8uPIuiNmRKIf6HmL5jcpOe425jS QNFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=hN3evVtj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gy12-20020a170906f24c00b0077f92be81adsi1089750ejb.212.2022.10.24.17.01.48; Mon, 24 Oct 2022 17:02:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=hN3evVtj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229714AbiJXXlu (ORCPT + 99 others); Mon, 24 Oct 2022 19:41:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230199AbiJXXl3 (ORCPT ); Mon, 24 Oct 2022 19:41:29 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6A3D29F13D; Mon, 24 Oct 2022 15:00:29 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [194.36.25.51]) (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 6002A66026E6; Mon, 24 Oct 2022 23:00:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666648827; bh=zH2yLaAyOCI8HWlnuIsMKt/wbk7W63NEAC2PrYHIQu4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hN3evVtjPXxYFgB91bDh1SQXIwQjNmNjTD5fUwYDtrR4pu3rNv3JwNveKdsTVHyp3 OCy+7bWb3wX07X4CFPH7gGcCL4rrSECV8UlZ4ko3si3GUMdPmuj6L084wCC5AlpP96 GHvxYvjMDleeoMN2Ay37cIOH14ngJukjKFHjqS96Ftm70UOjxG3y0aCmfMc0wugHFh 6GB0dI+/qqekdcQqGfiESiworEzu7X36uWPsLRr1YbS5KihfwA/rWpJt53ZASINSrl arQMfpSXATYqIhh/ncTeVb3bPythieLhBbc+tUEE5BzKLOtXgnLcGqoarhPdgiN++S LpES3IS0bGotg== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Derek Fang , Krzysztof Kozlowski , Liam Girdwood , Rob Herring , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/4] ASoC: dt-bindings: realtek,rt5682s: Add AVDD and MICVDD supplies Date: Mon, 24 Oct 2022 18:00:13 -0400 Message-Id: <20221024220015.1759428-3-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024220015.1759428-1-nfraprado@collabora.com> References: <20221024220015.1759428-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747615621299806606?= X-GMAIL-MSGID: =?utf-8?q?1747615621299806606?= The rt5682s codec can have two supplies: AVDD and MICVDD. They are already used by sc7180-trogdor-kingoftown.dtsi, so document them in the binding. Signed-off-by: Nícolas F. R. A. Prado Acked-by: Krzysztof Kozlowski Signed-off-by: Nícolas F. R. A. Prado --- Changes in v2: - Added mention that property is already used in a DT to the commit message Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml b/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml index 1c0b06d82369..ac1dea5b4450 100644 --- a/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml +++ b/Documentation/devicetree/bindings/sound/realtek,rt5682s.yaml @@ -90,6 +90,10 @@ properties: "#sound-dai-cells": const: 1 + AVDD-supply: true + + MICVDD-supply: true + additionalProperties: false required: From patchwork Mon Oct 24 22:00:14 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: 10407 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp708076wru; Mon, 24 Oct 2022 16:46:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7XuBOl7HcfirAnhsTFxzf6O/KCVsql2gFPQoXMFuj1yphKchE8K+7ZzZUhjwftcb0aC5Nu X-Received: by 2002:a17:90a:5386:b0:212:fbbb:ec6c with SMTP id y6-20020a17090a538600b00212fbbbec6cmr11744987pjh.101.1666655206480; Mon, 24 Oct 2022 16:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666655206; cv=none; d=google.com; s=arc-20160816; b=mYiGC9RLR61Agem+nIAbXXrEFc/mqHV9oHh0UYq1kYG8Nv+u17rPaofQQjcGE177IG QOZz6Epfed+dLe809dd9o4J97OaFTIHexQBm1PtRCafoAyePt/QfhJpNRgCEUh9odouV RQ7jYfX7vBXerTjbynYU5CFzBCIdkeEa2SHvdx163W+FvzrXfuNYvMB3ezcRLYze18lY 1+jbW5z5kjDQCh1lzSbByZViAouRAaIuF/RPouszuT0BLCc/5wLMr/RqardQgJjHisn4 i4VL/ipTdU4vkZtepDs9wU2x/Qu4SRomC81TXfmRy5FH/4nzbEGgI/ROXw9T7Xw2UZ2b o3pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NWWBP2SmEWTSNzXWwdTT0bevJm8OZZN/Luz+9cwmoKg=; b=nHrBLLlKFWZQpsdKITqAxStEyoJGOgcPH507uc60NtFaH8C4h2Y/Ftaz3t+ns+RwW6 9M+uiw27msRFdYO9gfz7Oe5HtW1PySHU3wXtx47ADEoBZMSRbEvY2h5ebP3AUfsSfyev B1wNEaz0kevBL9zGD07tUXsTIMeOT+SjDH+GTMgGsseg4w80N56h/aPRetWixFWCYQsq 6yrlHuM6NWM6VXlEIFH7D+T7Tt21kNCOgrCUAfIHk8ar0fHNNQ3uR0lccC3blEvnXgv4 TE1BVHLrVdDmeq+wmR9YhafQPaWtqLqlD3+IxuNzInzw/p8Ubp22WpnQkSl74dOU5yvk tIlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=GGQxoeeu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me1-20020a17090b17c100b001fe2de6a2c9si1799984pjb.4.2022.10.24.16.46.32; Mon, 24 Oct 2022 16:46:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=GGQxoeeu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229864AbiJXXlz (ORCPT + 99 others); Mon, 24 Oct 2022 19:41:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbiJXXlb (ORCPT ); Mon, 24 Oct 2022 19:41:31 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58E9D2F70EF; Mon, 24 Oct 2022 15:00:32 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [194.36.25.51]) (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 C0E496602820; Mon, 24 Oct 2022 23:00:27 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666648829; bh=yUOJmnlfdy5bC2kZgeZWbD0yF667HQA6aNkS15dlW6A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GGQxoeeulNxtBsMzpjtPmZyyGa4mApgfpXJiUxsfMh8TjJFkSpE1FpW0wUBr6Xt69 3gZ3eY1j7ub80kQgEWBC//c94Ojomkwy0PVU7EunnRhexxGD5C68E3yef5fuLeG5+W srwyYfZg/MDqcf/2gs+731jRqJcm36f6Oe5mvY8Vj+4xATnTwllLTzUrmFRH1nhgZW /ayYlLCZnCnYFH/5rRLq/DuIf6ymFrcIX7SOLb5wcKmT7L1rsqsLZOp8GCkLqEqyNB pWfoMJYYX/XUuFsMt5mzA9BLAvt9JnDJkiM/AB07acH6xEKJ9fWEcKeIn+OGZ1rLwL 14iQFRP4iIGqQ== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Krzysztof Kozlowski , Liam Girdwood , Rob Herring , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] ASoC: dt-bindings: rt5682: Set sound-dai-cells to 1 Date: Mon, 24 Oct 2022 18:00:14 -0400 Message-Id: <20221024220015.1759428-4-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024220015.1759428-1-nfraprado@collabora.com> References: <20221024220015.1759428-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747614650202539863?= X-GMAIL-MSGID: =?utf-8?q?1747614650202539863?= Commit 0adccaf1eac9 ("ASoC: dt-bindings: rt5682: Add #sound-dai-cells") defined the sound-dai-cells property as 0. However, rt5682 has two DAIs, AIF1 and AIF2, and therefore should have sound-dai-cells set to 1. Fix it. Fixes: 0adccaf1eac9 ("ASoC: dt-bindings: rt5682: Add #sound-dai-cells") Signed-off-by: Nícolas F. R. A. Prado Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski Reviewed-by: Chen-Yu Tsai --- Changes in v2: - Added this commit Documentation/devicetree/bindings/sound/rt5682.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/rt5682.txt b/Documentation/devicetree/bindings/sound/rt5682.txt index c5f2b8febcee..6b87db68337c 100644 --- a/Documentation/devicetree/bindings/sound/rt5682.txt +++ b/Documentation/devicetree/bindings/sound/rt5682.txt @@ -46,7 +46,7 @@ Optional properties: - realtek,dmic-clk-driving-high : Set the high driving of the DMIC clock out. -- #sound-dai-cells: Should be set to '<0>'. +- #sound-dai-cells: Should be set to '<1>'. Pins on the device (for linking into audio routes) for RT5682: From patchwork Mon Oct 24 22:00:15 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: 10408 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp708759wru; Mon, 24 Oct 2022 16:49:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4JpTE/lZGfbnsNaKO0Sm5Ngf3o4a7DvsytyyvjMkYDktHa7SMHXFhfsmuk8rj+exVOkm0R X-Received: by 2002:a05:6402:f18:b0:460:cf08:2b41 with SMTP id i24-20020a0564020f1800b00460cf082b41mr22260351eda.400.1666655345574; Mon, 24 Oct 2022 16:49:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666655345; cv=none; d=google.com; s=arc-20160816; b=Bn0uDYiSsmMaIsbzQBxmrL7AOS+a4iqVSiwtk4FuiY8ugWEMQLbL7aLSlcjDNP4Yh6 ON5mBeKXUWuPfAm2RM1pT5KshoYGXhimLI5ayDt9tsyE0RVqm4HJDRmvCaJI8fjn0e9f PBgcqiCJzs4kulkaR84Od8Wsx7cKThgWM+uVjwQWDUVRS43XUP/ORGnndNvNWMAn9Fdz Qysm+EYFVGynFxofsx+XvJbH7EjBVJNzvMxemVN6E6OKpW1EmfxcNw3nQOAyTlRg2Qai UZBd/VIbH9jNpZLO90qBJvW71RzeW46/QXbUvSjIKElHH34YNEBHeoF+f5nko/zNa+DO SjhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eqaStPzkkwQ0CsrA5s+6cES9hqevLnO/Wp9KXe6xvBE=; b=Yj/qARzU2H1YJPrvd0lvw5b06Y6GIgRncZSpceTkQgchMKWsESVrTGgJJ8q4QFWfJt OvKiGRuK2X7Sv5wmAmEW0ga5rryfJ5VRezYLdyinEOf5q6SaseI9bnpCnsmqcAgNlU/Q ClGa8XjXIWzjdkudduoi9+I/PK92g85cnMzcTjRATFfQBmZ6XWmeK62mQ8ULP/ECqMqZ KzZhNeYOihJ+qjorqe4t6KEg9Im2dOGJiMnQ5JC0r9qlepc1J45E6dpJ6ob6FDUOp/Vq t7KovEkUWXrp1vUZuZVpNYuYWKcfVhW3gNVAvQreeoreSqxH/g1aArB5muj7oe53shsC WZMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ID3qXsFm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd32-20020a17090762a000b0078e1e216396si1289457ejc.66.2022.10.24.16.48.41; Mon, 24 Oct 2022 16:49:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ID3qXsFm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230025AbiJXXmi (ORCPT + 99 others); Mon, 24 Oct 2022 19:42:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230383AbiJXXmN (ORCPT ); Mon, 24 Oct 2022 19:42:13 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C5F018541E; Mon, 24 Oct 2022 15:01:16 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [194.36.25.51]) (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 09649660282D; Mon, 24 Oct 2022 23:00:29 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666648831; bh=Cl6GfsphAxiCZ5E3D8HAUPBm74fyX9J6KcBotnOQmDA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ID3qXsFmihkJuT+GTXBzA5+5DC55otTvA1xCDJvqSYN6rB4jJkspdl773YLHV98sT Q8ommXuT/UfwNpHH2N/43mAyIh/NYP7yvEnu6HK/+o1Q7dOHlTVU4vkIVqsShm8xFi Wmbk67eDUYb/uO0sbBvMbiXFlmY2CdY/vwhE1lhU7j4JMz5Ovimt5Plu8psCiMe3kZ AvceS+K9Eqe6X7JCt5hY/86oLTaXjsJKBPXnKmhNx+zS2kDJzOZva1CZ/RFjlc78SC KPcvyfcCWuRbOhxu1MBuPnMFS0Hu827T5Zw8J87M5+mtj5oiapGqmtxg52+j4U4Bub nnYTwsN6eWEMA== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Krzysztof Kozlowski , Liam Girdwood , Rob Herring , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] ASoC: dt-bindings: rt5682: Add AVDD, MICVDD and VBAT supplies Date: Mon, 24 Oct 2022 18:00:15 -0400 Message-Id: <20221024220015.1759428-5-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024220015.1759428-1-nfraprado@collabora.com> References: <20221024220015.1759428-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747614795433508874?= X-GMAIL-MSGID: =?utf-8?q?1747614795433508874?= The rt5682 codec can have three supplies: AVDD, MICVDD and VBAT. They are already used by sc7180-trogdor.dtsi, so document them in the binding. Signed-off-by: Nícolas F. R. A. Prado Acked-by: Krzysztof Kozlowski --- Changes in v2: - Added mention that property is already used in a DT to the commit message Documentation/devicetree/bindings/sound/rt5682.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rt5682.txt b/Documentation/devicetree/bindings/sound/rt5682.txt index 6b87db68337c..c07a1fc7b122 100644 --- a/Documentation/devicetree/bindings/sound/rt5682.txt +++ b/Documentation/devicetree/bindings/sound/rt5682.txt @@ -48,6 +48,12 @@ Optional properties: - #sound-dai-cells: Should be set to '<1>'. +- AVDD-supply: phandle to the regulator supplying AVDD + +- MICVDD-supply: phandle to the regulator supplying MICVDD + +- VBAT-supply: phandle to the regulator supplying VBAT + Pins on the device (for linking into audio routes) for RT5682: * DMIC L1