Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1958140rdb; Tue, 5 Sep 2023 09:51:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEvcLia0CPeocuqqCnvOPBbrf4BB9kUAtiNTs5m6lKYt2q2PDvxu1/5jPNOn1MbV/WK4ZWJ X-Received: by 2002:a05:6402:3582:b0:51e:5dd8:fc59 with SMTP id y2-20020a056402358200b0051e5dd8fc59mr10817191edc.1.1693932699170; Tue, 05 Sep 2023 09:51:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693932699; cv=none; d=google.com; s=arc-20160816; b=nmeyPllBGHm547GfUnAZpAu7olGUuuXBsknJL6fQuN2v5DBKBDVY6cKa6FTVuyOfgq ElQnKPcbNCKxP78nxUyM78+D8EhbKC66QwspFvTo6ZPBZalMaynSDpCzOpzTuWr334f8 xhaepnQ6kffnxrzIu6yNVTjvBIxMjRrSePZHZV+WhTugj1frToICJoDFTA9fDKiPao3T FF1VytAmjf23yN2w1dQ/9uLHee63wqVpWK9RU+ReNKm8AEflt/LUSgyTY+E8siqikBb5 jVXQrXx5XYUT0qZjyz2u5vyPkQQ4yqE0p3dA3qo6PrRG418XfOk7/l1x7ig93szqjYOX /+Hw== 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; bh=bqizBNsdNpmlfDn44s8S8OR9oakFKIqBj/UGQtrYPEM=; fh=ebKvH6Ex95E9W2TySvw81sH/KhHOlH0bE61YiYNUCXw=; b=ZYyElKzqh6TlGDjwid1dZg5N8aSneIsJa2ahUVpcjjxGGigllXMD2aU2wvFAvYcqTr o33oDWr39uS3nhs9E5NaZxERkwpSam+Vowucz1JAJelEDcMaJFHJKGT02ItUvDobRAbn s0go7Npc4BwVqG9+BGHhddS6sxtcDM9C6QjP6UNX286BfNkrT/+rRbjT4WR15q/8Rpl4 6mmeHI+wUOmmxNf/yfVVtuNn7JVfSiQ0rkxbpc8LiASlVf7T9euMLAN6Y/HCS7ihaW1F i/Mg4Ey1xe6WwFzSLxaqzeWpv+fqz4Xa1HMYDAEro/DVCnwA2c93n7Lv0ZUqqNoz3TwL 3+vA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b26-20020aa7c91a000000b0052e87c892f3si284910edt.376.2023.09.05.09.51.13; Tue, 05 Sep 2023 09:51:39 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233366AbjIEQ11 (ORCPT + 99 others); Tue, 5 Sep 2023 12:27:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344389AbjIEDbU (ORCPT ); Mon, 4 Sep 2023 23:31:20 -0400 Received: from out28-1.mail.aliyun.com (out28-1.mail.aliyun.com [115.124.28.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBC04CC7; Mon, 4 Sep 2023 20:31:15 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.08675569|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_social|0.00885644-0.00013455-0.991009;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047198;MF=wangweidong.a@awinic.com;NM=1;PH=DS;RN=25;RT=25;SR=0;TI=SMTPD_---.UXm5SLO_1693884663; Received: from ubuntu-VirtualBox..(mailfrom:wangweidong.a@awinic.com fp:SMTPD_---.UXm5SLO_1693884663) by smtp.aliyun-inc.com; Tue, 05 Sep 2023 11:31:11 +0800 From: wangweidong.a@awinic.com To: krzysztof.kozlowski@linaro.org Cc: 13916275206@139.com, alsa-devel@alsa-project.org, broonie@kernel.org, ckeepax@opensource.cirrus.com, colin.i.king@gmail.com, conor+dt@kernel.org, devicetree@vger.kernel.org, herve.codina@bootlin.com, krzysztof.kozlowski+dt@linaro.org, lgirdwood@gmail.com, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, liweilei@awinic.com, perex@perex.cz, rdunlap@infradead.org, rf@opensource.cirrus.com, robh+dt@kernel.org, ryans.lee@analog.com, shumingf@realtek.com, tiwai@suse.com, trix@redhat.com, wangweidong.a@awinic.com, yijiangtao@awinic.com, zhangjianming@awinic.com Subject: Re: [PATCH V1 1/3] ASoC: dt-bindings: Add schema for "awinic,aw87390" Date: Tue, 5 Sep 2023 11:31:03 +0800 Message-ID: <20230905033103.15343-1-wangweidong.a@awinic.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY 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 Thank you very much for your review. I would like to discuss something with you On 04/09/2023 12:14, krzysztof.kozlowski@linaro.org wrote: > On 04/09/2023 13:46, wangweidong.a@awinic.com wrote: >> From: Weidong Wang >> >> Add a DT schema for describing awinic aw87390 audio amplifiers. >> They are controlled using I2C. > Thank you for your patch. There is something to discuss/improve. >> + >> +allOf: >> + - $ref: dai-common.yaml# >> + >> +properties: >> + compatible: >> + const: awinic,aw87390 >> + >> + reg: >> + maxItems: 1 > No reset-gpios? Shouldn't this be just merged with awinic,aw88395 bindings? Yes, this chip does not have reset-gpios, and the i2c address of this chip is different from the aw88395 chip.So I didn't merge it with awinic, aw88395. > Missing sound-dai-cells (const: 0 or 1) Thank you very much. I'll add #sound-dai-cells >> + >> +required: >> + - compatible >> + - reg >> + >> +unevaluatedProperties: false >> + >> +examples: >> + - | >> + i2c { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + audio-codec@58 { >> + compatible = "awinic,aw87390"; >> + reg = <0x58>; > Please add sound-dai-cells for the example to be complete. Thank you very much, I will modify it in patch v2 Best regards, Weidong Wang