Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp352593rdb; Mon, 18 Sep 2023 18:19:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF7axJvPNPEqdZC54byINt0M0c+FtxlzkWG0kFlW+x5FkgG/dBKpNlB5Ji7pHaptVz4g1Wz X-Received: by 2002:a05:6a00:1996:b0:68a:69ba:6789 with SMTP id d22-20020a056a00199600b0068a69ba6789mr10034497pfl.16.1695086347577; Mon, 18 Sep 2023 18:19:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695086347; cv=none; d=google.com; s=arc-20160816; b=OP8u9u0Q+BKklWZ3xV8TTk+xBxRi0Qz1SAmlddS447hdRbewPuoXt1wm4xrgDjP5hf raE4Wy8glfstVw5WK6wtQVexXK/KgLbcDpxh6nJDbynkKNu0kSvpmm1+oqE5pv71L5GR jawAT2xYLtPOB88bmsIOpn8kFl1caQJn3mRfExGHmfKhzZ9o+QT59xiY1TCtpnfFP2Iy CDOMbL2Y2I92TOvELp+HyTOADZry3lplvy7Uxuy17RA4FsmbKbKT5RmhSjxVDJj/Dzmc fvfKk6fZmd5hIa3sjsp8Xqev3J2OHY/9yKGCK460e+KB/gX86EAbbfCogdDLLRpjZ2OZ RlNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=Q0XvUZWe8uHb2pbtWErdy3qCQitqA7W7cVXpOLgfZww=; fh=S/7BT6ahIcfhXmla+e9aTZF+35ElAsG0i0hqLHiTnh8=; b=Y/1kJD469aBXJj98zzUNXFXheQVU7VeK/6Fg4PVwRvCnSSzlajo9xqvxa6r76EvJ9B s54rZ2YG1zZ7VSNdbQbfNJpKqPoNJypw8/e2iFkWpiRwd73BceTAmuKUAzekjo1JVsjF 0dRvqUKQF/K/m+SYs5WMKtHkWBWrI4UyCqkdxJGIoy+tcb6HXfNYDvkg5V4lPyM6kPZf 4XKqIGquo93FMI97xWRVmxL1rKEPA2bNvtxRbYpWEKztN4bv6jDx3XPgW2Vq8KB6m3iR GJU1guaV0Wi6n32nAwGyWLF52mHjhGMTpiJzOSmXNPGFFRXrr6WqrIE6og+pIDAVyvZV y5Pw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id eg26-20020a056a00801a00b0068fc2f7cef3si8529004pfb.358.2023.09.18.18.19.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 18:19:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 55DCA8254AA7; Mon, 18 Sep 2023 18:19:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230429AbjISBTF (ORCPT + 99 others); Mon, 18 Sep 2023 21:19:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230427AbjISBTE (ORCPT ); Mon, 18 Sep 2023 21:19:04 -0400 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5C46D10D; Mon, 18 Sep 2023 18:18:56 -0700 (PDT) X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) Received: from 192.168.10.46 by mg.richtek.com with MailGates ESMTPS Server V6.0(1978116:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Tue, 19 Sep 2023 09:18:22 +0800 (CST) Received: from ex4.rt.l (192.168.10.47) by ex3.rt.l (192.168.10.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Tue, 19 Sep 2023 09:18:22 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex4.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Tue, 19 Sep 2023 09:18:22 +0800 From: To: Mark Brown , Krzysztof Kozlowski , Conor Dooley CC: Liam Girdwood , Rob Herring , Jaroslav Kysela , Takashi Iwai , ChiYuan Huang , Allen Lin , , , Subject: [PATCH v2 1/2] ASoC: dt-bindings: Add Richtek rtq9128 audio amplifier Date: Tue, 19 Sep 2023 09:18:20 +0800 Message-ID: <1695086301-10376-2-git-send-email-cy_huang@richtek.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1695086301-10376-1-git-send-email-cy_huang@richtek.com> References: <1695086301-10376-1-git-send-email-cy_huang@richtek.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 18 Sep 2023 18:19:06 -0700 (PDT) From: ChiYuan Huang Create richtek,rtq9128.yaml for rtq9128 amplifier. Signed-off-by: ChiYuan Huang --- v2 - Dual license - Add $ref for dai-common.yaml - Remove delimiter '|' in head of description --- .../bindings/sound/richtek,rtq9128.yaml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/richtek,rtq9128.yaml diff --git a/Documentation/devicetree/bindings/sound/richtek,rtq9128.yaml b/Documentation/devicetree/bindings/sound/richtek,rtq9128.yaml new file mode 100644 index 000000000000..d117f08fff30 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/richtek,rtq9128.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/richtek,rtq9128.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Richtek RTQ9128 Automative Audio Power Amplifier + +maintainers: + - ChiYuan Huang + +description: + The RTQ9128 is a ultra-low output noise, high-efficiency, four-channel + class-D audio power amplifier and delivering 4x75W into 4OHm at 10% + THD+N from a 25V supply in automotive applications. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - richtek,rtq9128 + + reg: + maxItems: 1 + + enable-gpios: + maxItems: 1 + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - reg + - '#sound-dai-cells' + +unevaluatedProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + speaker@1a { + compatible = "richtek,rtq9128"; + reg = <0x1a>; + enable-gpios = <&gpio 26 GPIO_ACTIVE_HIGH>; + #sound-dai-cells = <0>; + }; + }; -- 2.34.1