Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2700853rdb; Tue, 12 Sep 2023 09:28:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtG1HHk8wiyTwHnpUgSR6br+cqTlRZ24oOclWnsIzriMD6smyA7QRvwfd+F1Qk7IW7qZDB X-Received: by 2002:a17:90a:fa0a:b0:268:c569:f2af with SMTP id cm10-20020a17090afa0a00b00268c569f2afmr10543223pjb.7.1694536100480; Tue, 12 Sep 2023 09:28:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694536100; cv=none; d=google.com; s=arc-20160816; b=c4NbALkyYFKUaz/uxhBnwTekMLjJ/WeoxQXfLYhD/8iRbnSEk3gONSBW0DZYIZbyPD b/F8wJHyAYyeMO8nVRtVEiR3/iCn7wp9HwuyH+flAVogbQc1c6XKPiK5PeJ83ywBn2tM ecYKD3CS6AbMhWc65IsH3u3m3UuJJxTD+qElEKFbJR7Pres+S2nG0nqnanZ8A5FcSMOg 8a8cxh40bMf5meRsTtXoSAt57c1WioQM0hwNILrdDTshChABwPquEa3ArBHoPbYlh8ZM Un67wVc4+KxyKl5UcAYLRPuhZ0M5b8w1eTED6n3jtPtG30M+FPbaWQvryhWXS1shNgOx zbBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TbV2rLGBHep4HjZf6nEp7LIU3wM3CyCDgHlZdUulp3k=; fh=zQGVhFlc/E1eDGwrkajx4XeNEqO6qLf2vDohilEs1Iw=; b=GcvKvimOrgGTHwvZIZqPdMY93mGdgB665X2kHrBonWkz1sYp/dHikeR/vs49sLgQfz t8f+oPl91o3XBVq4Ptuk5zticmiTCBTIF2bO5kVi1M4c2+DQhSuJTfir0uLfNKWicIuE cU6VFKd17taQl6/HiJwR0dsB4IHRXM56Caw+Y1b2T97n4J0suOuof9qN4dTCYuF4QNCA MpS4emPZWhhftouoNgPZln4XTfMkQh5v12wxTGXtFane+NgFcTrLhHyvEEDQVxTIgEDh YaTac5UwBgU5jtJ3OusvqGoI2LkK+PCzrT4hrYNOo8b1FnLrd6cE2nk4CRe0IBQLftmw QyJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jQkFWGdp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id w6-20020a17090a8a0600b0026b698fdda6si10071388pjn.98.2023.09.12.09.28.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 09:28:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jQkFWGdp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 0E1E681CDE26; Tue, 12 Sep 2023 09:21:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232848AbjILQVb (ORCPT + 99 others); Tue, 12 Sep 2023 12:21:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236753AbjILQV3 (ORCPT ); Tue, 12 Sep 2023 12:21:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F076310D; Tue, 12 Sep 2023 09:21:25 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CC4AC433C8; Tue, 12 Sep 2023 16:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694535685; bh=4hOm+2OJehvueAvzDQRvNaUQyTECGiJcEkEuYx0W5Yw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jQkFWGdpQipDRXUX/TXqCdZCefG/lNErl9W+iLkCzCkCQatTcSH5PH/xEEtwyYk4m 0t5P4ERwzAczSVRzz5T04qokwZCI2pFmBZmPY5gOSUTQ+CQrfp1KnzAEWowaW8XVk8 t13ClcE3LCMA0qSWwD9DqI1gcS4+FdOUGLUvnDVpvG4P8SHkUosEFbH7gstyV5bY/2 5dHPsfG1sbLW312Xcy4aAepu3fVjMaxELKvsa4EWGTgdMaQr2dkNt1EU+rMYpDkfVB RPFh6TIbIJCpWa0etojhH0vL941RKx1+UAKX8O3iK+1cvt35pRHtUVxPSpAXa1YHya hVQqCHjtT0zaw== Received: (nullmailer pid 885111 invoked by uid 1000); Tue, 12 Sep 2023 16:21:22 -0000 Date: Tue, 12 Sep 2023 11:21:22 -0500 From: Rob Herring To: wangweidong.a@awinic.com Cc: lgirdwood@gmail.com, broonie@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, 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: Re: [PATCH V2 1/5] ASoC: dt-bindings: Adds properties to "awinic,aw88395" Message-ID: <20230912162122.GA880119-robh@kernel.org> References: <20230912065852.347000-1-wangweidong.a@awinic.com> <20230912065852.347000-2-wangweidong.a@awinic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230912065852.347000-2-wangweidong.a@awinic.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 09:21:40 -0700 (PDT) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email On Tue, Sep 12, 2023 at 02:58:48PM +0800, wangweidong.a@awinic.com wrote: > From: Weidong Wang The subject is still pretty generic. Ideally, we'd never have the same subject twice. I'd do something like this: ASoC: dt-bindings: awinic,aw88395: Add properties for multiple PA support > > Adds properties to "awinic,aw88395" to make files more complete Complete in what way? multiple PAs, right. It's not really clear to me though how these properties enable support for multiple PAs. > > 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>; > }; > }; > -- > 2.41.0 >