Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp538182pxu; Wed, 7 Oct 2020 09:21:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsEiFPe/GR/HWZKGMRSqUz7js7xU9stJL3dlDIQpybJQACzNe/Lu9EG4BV9mTzXo5ra5WJ X-Received: by 2002:a05:6402:2076:: with SMTP id bd22mr4513762edb.197.1602087713134; Wed, 07 Oct 2020 09:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602087713; cv=none; d=google.com; s=arc-20160816; b=PPJ+K1OIZfME8W2Zn7Ede+FF4f0/2ndR9YA+gUZRS+t0j/dVGclgFW/raVzKEtXt8f 18T3/9zTNPpGJPPgWFi44GePGWnMHUbON6EX9l0Wng3ANj2xf/qUFZgq/QQkpInXm+Pw 2bk+YbIfeYn4qnUV8/4aHKKZSSsG9ISdTeJb7IluMTd761Fu/dFVoSOyJl1JHzJQjJoC MtPomgPnSxvj9qATx/9QDfsnvAdf/sR5B3tr+Txd9g0AarPn1BCxcwID1DxGa8RO+SGG bL3WFoWmSTUh1Wnm9M1Qqj9f3CfLne0UMJxGSNDLyP4oRQeUHcZEx+sh+KTSM9/2MWc6 5FLg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=6lMy6LquFt39HPrr11PBpdD/OnxnmKuCJoz1qOgHoEk=; b=R22zdODAbwD7g3Jbmo1VT/nfS3pVxM1QgO/oO8hzqjqvfyC54oXW4lIAyHVovelhWc 6PWIIUolzR/THDAEQVrKEFdiQWHK7/cSLTF0abm6Wmlx7A4iWsyiicQZS/neHcoRwNW0 EL4+oT/zSC6Hu+IGv1FhPd00SRLAsNb83tMiCTpuQfRFJnQKvETAYn37QJz3AQ5NQ2oG qq+6dwK9r1JAIX1fhUTo6HRjarw1ySRrR61LdAY+rR2lh87os39xJzC1gRHxiwHs6naf U0JyFNnjQIZzoyg1ZZW8viMmtX+B48bDKq9zz6kG9SZG926HiHWsbMRBwFTqS+bidjpV kKzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="yiu3/Yc2"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d8si1710017edj.569.2020.10.07.09.21.29; Wed, 07 Oct 2020 09:21:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="yiu3/Yc2"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728833AbgJGPyC (ORCPT + 99 others); Wed, 7 Oct 2020 11:54:02 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:60752 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726129AbgJGPyA (ORCPT ); Wed, 7 Oct 2020 11:54:00 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 097Frlc2017186; Wed, 7 Oct 2020 10:53:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1602086027; bh=6lMy6LquFt39HPrr11PBpdD/OnxnmKuCJoz1qOgHoEk=; h=From:To:CC:Subject:Date; b=yiu3/Yc2doYc0nv+1kKaLTv/J5mExnUX93P8jT2We8mIEh6fh65kfnCJ9QG+YtzDV UGEGA423dB7cusbMa/+aKKd6vmy++Y/AGSeCx9sWZkIpyqN9kqvb6BRWk9iS8OiUgp gNi7w0Cqr/qgCatCuq5djtYsnSFJhlqwIeEfbMwg= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 097FrlxG120261 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 7 Oct 2020 10:53:47 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 7 Oct 2020 10:53:47 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 7 Oct 2020 10:53:47 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 097FrlX2129960; Wed, 7 Oct 2020 10:53:47 -0500 From: Dan Murphy To: , , , CC: , , , Dan Murphy Subject: [PATCH v3 1/2] dt-bindings: tas2764: Add the TAS2764 binding doc Date: Wed, 7 Oct 2020 10:53:40 -0500 Message-ID: <20201007155341.10139-1-dmurphy@ti.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the binding for the TAS2764 Smart Amplifier. Signed-off-by: Dan Murphy --- .../devicetree/bindings/sound/tas2764.yaml | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/tas2764.yaml diff --git a/Documentation/devicetree/bindings/sound/tas2764.yaml b/Documentation/devicetree/bindings/sound/tas2764.yaml new file mode 100644 index 000000000000..5bf8c76ecda1 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/tas2764.yaml @@ -0,0 +1,76 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2020 Texas Instruments Incorporated +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/sound/tas2764.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Texas Instruments TAS2764 Smart PA + +maintainers: + - Dan Murphy + +description: | + The TAS2764 is a mono, digital input Class-D audio amplifier optimized for + efficiently driving high peak power into small loudspeakers. + Integrated speaker voltage and current sense provides for + real time monitoring of loudspeaker behavior. + +properties: + compatible: + enum: + - ti,tas2764 + + reg: + maxItems: 1 + description: | + I2C address of the device can be between 0x38 to 0x45. + + reset-gpios: + maxItems: 1 + description: GPIO used to reset the device. + + shutdown-gpios: + maxItems: 1 + description: GPIO used to control the state of the device. + + interrupts: + maxItems: 1 + + ti,imon-slot-no: + $ref: /schemas/types.yaml#/definitions/uint32 + description: TDM TX current sense time slot. + + ti,vmon-slot-no: + $ref: /schemas/types.yaml#/definitions/uint32 + description: TDM TX voltage sense time slot. + + '#sound-dai-cells': + const: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + i2c0 { + #address-cells = <1>; + #size-cells = <0>; + codec: codec@38 { + compatible = "ti,tas2764"; + reg = <0x38>; + #sound-dai-cells = <1>; + interrupt-parent = <&gpio1>; + interrupts = <14>; + reset-gpios = <&gpio1 15 0>; + shutdown-gpios = <&gpio1 15 0>; + ti,imon-slot-no = <0>; + ti,vmon-slot-no = <2>; + }; + }; + +... -- 2.28.0.585.ge1cfff676549