From patchwork Tue Sep 12 06:58:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wangweidong.a@awinic.com X-Patchwork-Id: 13380893 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 66D84CA0ECF for ; Tue, 12 Sep 2023 07:01:06 +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 535C3886; Tue, 12 Sep 2023 09:00:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 535C3886 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1694502063; bh=Kz/pGRpPGskrf1PvCgfERFajJPtjNxnH51LV4PqZYXM=; h=From:To:Subject:Date:In-Reply-To:References:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=nOgoue5bpxVqx8qgG3s6m68qvQIt+TXelsSleaXSmy7eoxhPspQW+7D7LdJLmS92W 7lSHT63p0Ln7n3g5CHA9CEhAUU6Lx62aMACZtAHxqRXbqLKb2y+uHPUAPB0U34kZ+R Dp7upSVW2ARDmzj6ZCswmzvbDMaXbPST6vVCT5G4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id DA144F80431; Tue, 12 Sep 2023 08:59:36 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 73D33F80425; Tue, 12 Sep 2023 08:59:36 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4E060F80431; Tue, 12 Sep 2023 08:59:31 +0200 (CEST) Received: from out28-169.mail.aliyun.com (out28-169.mail.aliyun.com [115.124.28.169]) (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) by alsa1.perex.cz (Postfix) with ESMTPS id DB4F4F80212 for ; Tue, 12 Sep 2023 08:59:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DB4F4F80212 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2346824|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.149757-0.00059099-0.849652;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047208;MF=wangweidong.a@awinic.com;NM=1;PH=DS;RN=27;RT=27;SR=0;TI=SMTPD_---.Ud9dogt_1694501947; Received: from ubuntu-VirtualBox..(mailfrom:wangweidong.a@awinic.com fp:SMTPD_---.Ud9dogt_1694501947) by smtp.aliyun-inc.com; Tue, 12 Sep 2023 14:59:15 +0800 From: wangweidong.a@awinic.com To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, perex@perex.cz, tiwai@suse.com, rf@opensource.cirrus.com, shumingf@realtek.com, ckeepax@opensource.cirrus.com, herve.codina@bootlin.com, wangweidong.a@awinic.com, 13916275206@139.com, ryans.lee@analog.com, linus.walleij@linaro.org, sebastian.reichel@collabora.com, fido_max@inbox.ru, povik+lin@cutebit.org, arnd@arndb.de, harshit.m.mogalapalli@oracle.com, liweilei@awinic.com, yijiangtao@awinic.com, colin.i.king@gmail.com, trix@redhat.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 1/5] ASoC: dt-bindings: Adds properties to "awinic,aw88395" Date: Tue, 12 Sep 2023 14:58:48 +0800 Message-ID: <20230912065852.347000-2-wangweidong.a@awinic.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230912065852.347000-1-wangweidong.a@awinic.com> References: <20230912065852.347000-1-wangweidong.a@awinic.com> MIME-Version: 1.0 Message-ID-Hash: ZCHMVYDXKEJOXDWUC5UCF4IWXBL6YP6Z X-Message-ID-Hash: ZCHMVYDXKEJOXDWUC5UCF4IWXBL6YP6Z X-MailFrom: wangweidong.a@awinic.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Weidong Wang Adds properties to "awinic,aw88395" to make files more complete Signed-off-by: Weidong Wang --- .../bindings/sound/awinic,aw88395.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml b/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml index 4051c2538caf..4965aa4a5370 100644 --- a/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml +++ b/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml @@ -32,11 +32,28 @@ properties: reset-gpios: maxItems: 1 + awinic,audio-channel: + description: + It is used to distinguish multiple PA devices, so that different + configurations can be loaded to different PA devices + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 7 + + awinic,sync-flag: + description: + Flag bit used to keep the phase synchronized in the case of multiple PA + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 1 + required: - compatible - reg - '#sound-dai-cells' - reset-gpios + - awinic,audio-channel + - awinic,sync-flag unevaluatedProperties: false @@ -51,5 +68,7 @@ examples: reg = <0x34>; #sound-dai-cells = <0>; reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>; + awinic,audio-channel = <0>; + awinic,sync-flag = <0>; }; };