Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1927396rdb; Tue, 5 Sep 2023 09:03:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGEXBw9P9lLGwTIqFEkWywgQGGneQgiz6AWOIdj7aW/X6qMlBApK2iSE3F1uZ0gTX2TdhCe X-Received: by 2002:a17:907:1de3:b0:9a5:7926:e391 with SMTP id og35-20020a1709071de300b009a57926e391mr234735ejc.10.1693929804093; Tue, 05 Sep 2023 09:03:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693929804; cv=none; d=google.com; s=arc-20160816; b=vndEX+wyNypP1C6P7cKSP4PfNUhiO9taZqLIpnb3lSi0AWzlMYAgS/iiEnP5IKluh7 cLv1PxZLe/5qgr/vQzDTkklcWnKzLNcf8muELpi5pHFAoMfO1ogy2FaKfZm2gdN0xuQu Z9/5HBool3Lfepb0oMRzNEUwG/xLQ94JJdgf4CwTe4XR6lkL/Yb4GfX7lnjOCTqchxO4 9SvZuSerQ6XhY5Ag+hSLZZE3nmudplHV7Hj1nfnlkt3YhtcodQyaOHWfVdNlE6RPBZNK fAoLMX0ZXooo/Im38C9das7TXbRLIpJwSv1S6+bFwcu9DwV9Q5kTyNOpsyx7rOoHd9f3 cReQ== 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=mSF9LcVJJkpnYlxfpmOuf0h8JqLoeWJCjdqaYIvc1Rc=; fh=fxtmxr3CENBh0aSSNvL1D8rQWmxjQ9KtxVQ23y+1J1c=; b=zHxm+meB9brfw+FDBv7hFJBcxE7jkhLwY1OHJR6HbTueLtoAWoq2jWASC9nQ7chbCA PtFSA+rbHps6EDnpb+v6h6pY/pJ7++zwymB6lwPNWAEvstYnHxhVPEkUT/JW4HAHcChw zWEKBZKtOCgLMS6KzJXcVS+y56Mk13iS3Q0coaHXclG5kULnyicVsRRWSEeAafT7GIAg vHnJaCB+qlR0UvAIXt0t37lfEg/tiA3GZ1W+mewB4T1mUvnKnVr/yqZyNOIECdwOWfm6 KNxgzZmJ55egBrQSL/a1Z2f4UHC8/H24WxhJmE5vTQj/KVecrIVldnRAEpwAxl6oBmBk U4jA== 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 lz20-20020a170906fb1400b00992bfd00fdbsi7658259ejb.971.2023.09.05.09.03.19; Tue, 05 Sep 2023 09:03:24 -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 S1352857AbjIDLqs (ORCPT + 19 others); Mon, 4 Sep 2023 07:46:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352856AbjIDLqr (ORCPT ); Mon, 4 Sep 2023 07:46:47 -0400 Received: from out28-121.mail.aliyun.com (out28-121.mail.aliyun.com [115.124.28.121]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D239E6; Mon, 4 Sep 2023 04:46:43 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2192019|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.0431418-0.000499539-0.956359;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047211;MF=wangweidong.a@awinic.com;NM=1;PH=DS;RN=24;RT=24;SR=0;TI=SMTPD_---.UXIjsmr_1693827991; Received: from ubuntu-VirtualBox..(mailfrom:wangweidong.a@awinic.com fp:SMTPD_---.UXIjsmr_1693827991) by smtp.aliyun-inc.com; Mon, 04 Sep 2023 19:46:38 +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, wangweidong.a@awinic.com, herve.codina@bootlin.com, shumingf@realtek.com, rdunlap@infradead.org, 13916275206@139.com, ryans.lee@analog.com, linus.walleij@linaro.org, ckeepax@opensource.cirrus.com, yijiangtao@awinic.com, liweilei@awinic.com, colin.i.king@gmail.com, trix@redhat.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: zhangjianming@awinic.com Subject: [PATCH V1 1/3] ASoC: dt-bindings: Add schema for "awinic,aw87390" Date: Mon, 4 Sep 2023 19:46:19 +0800 Message-ID: <20230904114621.4457-2-wangweidong.a@awinic.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230904114621.4457-1-wangweidong.a@awinic.com> References: <20230904114621.4457-1-wangweidong.a@awinic.com> 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 From: Weidong Wang Add a DT schema for describing awinic aw87390 audio amplifiers. They are controlled using I2C. Signed-off-by: Weidong Wang --- .../bindings/sound/awinic,aw87390.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/awinic,aw87390.yaml diff --git a/Documentation/devicetree/bindings/sound/awinic,aw87390.yaml b/Documentation/devicetree/bindings/sound/awinic,aw87390.yaml new file mode 100644 index 000000000000..b4de99c9830e --- /dev/null +++ b/Documentation/devicetree/bindings/sound/awinic,aw87390.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/awinic,aw87390.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Awinic Aw87390 Audio Amplifier + +maintainers: + - Weidong Wang + +description: + The awinic aw87390 is specifically designed to improve + the musical output dynamic range, enhance the overall + sound quallity, which is a new high efficiency, low + noise, constant large volume, 6th Smart K audio amplifier. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: awinic,aw87390 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + audio-codec@58 { + compatible = "awinic,aw87390"; + reg = <0x58>; + }; + }; -- 2.41.0