Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1068697rdb; Tue, 19 Sep 2023 20:54:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYBIDwq9kQ3ZBnPjg8+kGIiwbVM1ZdlScMOyTaLdM7aaFbu/12x6bHdcUoFhoxlUnSMRRT X-Received: by 2002:a05:6870:f698:b0:1d5:b442:5df7 with SMTP id el24-20020a056870f69800b001d5b4425df7mr1410513oab.35.1695182064300; Tue, 19 Sep 2023 20:54:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695182064; cv=none; d=google.com; s=arc-20160816; b=moVeJEFb6F/h3Af7iXnWKH5V20IdfpG/Mqb9W54dfdp4Q7nQcdhsxufax9veY217fk 2NEPfNmQclQ19+CpYz+mGC04Yt9AiqFWJzLgZNis03tK+eVKAt7OS+HhmNZ8kjrUC1LE qvvvqiHXMhGIJy0YVKxpFEPynVE/QOlZEYNuN6lCFtKOR4XUTUSbByJEokoB/PrNCQ1j VNeU7x9hfR0vnDW0rHsvns1ZVPAVty8hFsH5T36ConlkhIzfeDNmU+zXeHFGQ10UMtIx oMGTFfLg5w8x4kxVNvIQnfIkSjDpvhIVbAuDADv/h5uockpCFjRY3lkW7U5eRozThVMD S9QQ== 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=V8cJh68M613XLq952y3WSSe2uDMft4y67UrWolljeSQ=; fh=b2gECp4ioW0IC/c4AE3Hne9Lt73D69qSeso5k1ihEdA=; b=a2LBONBavGa4djSTVlxc6Wbd/Hj4v5/ncxfi+RFId2ox8Cac8hLE+IBylhh/aNd+oP dOuoKWXrGsEF9M+5bSFaj1bTtvwxFYole8QcF3cBdyRvnEiirbOH6twlKroE95oDccCk 6ua6+CQa0MJqIi5erh9o/JCJ4F8tjWCR6H5ZiL/P73o1ajKrJfxLTfj2YFAN2HOFBIAg ITCgMqixh821uMiADm9zXDk/TSRku/ItEeEhdlj1f3ShFKJHnAY29yepxyGbXKnvpxr/ yb90mMVrEaqQ8GMUBqHBvdyrSiMdgbVt85Al234CYi706oPKrO8ypBWPdW3ckYuf1vvB QcCw== 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:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id q207-20020a632ad8000000b0055391572218si1120131pgq.26.2023.09.19.20.54.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 20:54:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 3B12680BC3D8; Tue, 19 Sep 2023 20:51:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232487AbjITDvR (ORCPT + 99 others); Tue, 19 Sep 2023 23:51:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231948AbjITDvP (ORCPT ); Tue, 19 Sep 2023 23:51:15 -0400 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9D01FB0; Tue, 19 Sep 2023 20:51:07 -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(1978106:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Wed, 20 Sep 2023 11:50:36 +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; Wed, 20 Sep 2023 11:50:35 +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; Wed, 20 Sep 2023 11:50:35 +0800 From: To: Mark Brown , Krzysztof Kozlowski , Conor Dooley CC: Liam Girdwood , Rob Herring , Jaroslav Kysela , Takashi Iwai , Pierre-Louis Bossart , ChiYuan Huang , Allen Lin , , , Subject: [PATCH v3 1/2] ASoC: dt-bindings: Add Richtek rtq9128 audio amplifier Date: Wed, 20 Sep 2023 11:50:33 +0800 Message-ID: <1695181834-5809-2-git-send-email-cy_huang@richtek.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1695181834-5809-1-git-send-email-cy_huang@richtek.com> References: <1695181834-5809-1-git-send-email-cy_huang@richtek.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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 pete.vger.email 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 (pete.vger.email [0.0.0.0]); Tue, 19 Sep 2023 20:51:19 -0700 (PDT) From: ChiYuan Huang Create richtek,rtq9128.yaml for rtq9128 amplifier. Signed-off-by: ChiYuan Huang Reviewed-by: Krzysztof Kozlowski --- v3 - Add Reviewed-by tag 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