Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6074082rdb; Mon, 18 Sep 2023 03:27:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHMyvr+NDGvgpzHEdbM9rTMYdv+X1W6a49KYyJ4Dq16sJ95eblpZcyhzMSA4WSwqASYQgye X-Received: by 2002:a17:90a:4b06:b0:269:851:4f00 with SMTP id g6-20020a17090a4b0600b0026908514f00mr5447672pjh.35.1695032856979; Mon, 18 Sep 2023 03:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695032856; cv=none; d=google.com; s=arc-20160816; b=w3bBXWfTUnZ59j+NrhlGr1BiPcDCZACWl63re3BeK76Qh9zQROpOPM+a6ZusX9Hvp2 ofoFD8eIvJYA2HvSdJV+EmgC2EaDJvdxZHZU2LVYuXSD6gdurBi4ijT47LZrcKKFr6KD 4nQbtGXew6P3MUPCDUKTzIhRtudIXskFNv0GTw8CSQcW823kVaEPjJ6FwefDCdSFppNj t25rW6pcopkZXYD9uhs7MGWwNVRk1sOFpKD4q35twwRVkfQdkycsOtTovfyPmUD4V2yt DbLztY0vq1oP59fDhZ01J5u9SID/s7yB5GTAYNya/FUi+5n2VCMJ6+h9JDyL3tvO2tXX jbfA== 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=P6DFocHCFDgd+EmFV4UcDeIt/DnYcA67GF0XJmuJ9m0=; fh=S/7BT6ahIcfhXmla+e9aTZF+35ElAsG0i0hqLHiTnh8=; b=K4bGTzVnd+igYmQi2ceHBqDJ1V0vzqln9mDMzINnH7FMNmAFg1Dvu60av6Y9fEw8hi uCE3yx9pOyHnyuJ0vcmHYueqrHcfOsiMFJ5gXR8gTbe5U+6JoIe6ZGC+Sl/yte/arRhc 6bhtSQtRsGjUSi3uaSFNh0PHE44BXX8KnOPyQsqqY31xys0YayGHbrKtPVgHCEWcZd8v HLEI0pTqD1sma7aaY6+UBbj1ovOxbFBoHw4KlTQMU+WzJ6gbeFr7vRVqytX6j9PLzo2E TsMmxZS3b1PRaOL8ycv6JZJmWVUhZzoHKdYuITw2jCsTLKdSGybDDQ8n6cDHcCaqVhMc hHQA== 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:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id nl14-20020a17090b384e00b00276804791a2si533689pjb.62.2023.09.18.03.27.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 03:27:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 748FA80781E0; Mon, 18 Sep 2023 02:47:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239166AbjIRJre (ORCPT + 99 others); Mon, 18 Sep 2023 05:47:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239361AbjIRJrF (ORCPT ); Mon, 18 Sep 2023 05:47:05 -0400 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 744FD12B; Mon, 18 Sep 2023 02:46:34 -0700 (PDT) X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) Received: from 192.168.10.47 by mg.richtek.com with MailGates ESMTPS Server V6.0(1978093:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Mon, 18 Sep 2023 17:45:51 +0800 (CST) Received: from ex4.rt.l (192.168.10.47) by ex4.rt.l (192.168.10.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Mon, 18 Sep 2023 17:45:50 +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; Mon, 18 Sep 2023 17:45:50 +0800 From: To: Mark Brown , Krzysztof Kozlowski , Conor Dooley CC: Liam Girdwood , Rob Herring , Jaroslav Kysela , Takashi Iwai , ChiYuan Huang , Allen Lin , , , Subject: [PATCH 1/2] ASoC: dt-bindings: Add Richtek rtq9128 audio amplifier Date: Mon, 18 Sep 2023 17:45:40 +0800 Message-ID: <1695030341-20711-2-git-send-email-cy_huang@richtek.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1695030341-20711-1-git-send-email-cy_huang@richtek.com> References: <1695030341-20711-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 (snail.vger.email [0.0.0.0]); Mon, 18 Sep 2023 02:47:59 -0700 (PDT) From: ChiYuan Huang Create richtek,rtq9128.yaml for rtq9128 amplifier. Signed-off-by: ChiYuan Huang --- .../bindings/sound/richtek,rtq9128.yaml | 51 +++++++++++++++++++ 1 file changed, 51 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..a79694c2b169 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/richtek,rtq9128.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: GPL-2.0 +%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. + +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