Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4710982pxk; Wed, 30 Sep 2020 09:41:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPg4QLbXM3Qu/ZSeorQY9nQvXQWAJcjlBi+mcv8dR+LqY26DqDc9afLGdyFvRmZPLZ3ErR X-Received: by 2002:a17:906:3495:: with SMTP id g21mr3542126ejb.121.1601484083275; Wed, 30 Sep 2020 09:41:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601484083; cv=none; d=google.com; s=arc-20160816; b=L/SFoIZxxl5ZuhLMGS+MSygClBX3SrMVn7UW3xh5GgzOjH7XkpCZgBabGLgAB8pusD Qal2JPvuHqMsBGmBTzNwuVze70EdYfITxHNZECfhFttUD46xF16dWPhHLHrXPhRbrOUE 5cD6u9rNHE3ON0TsvW7lyP5fP3spAtPfWbq1075yBO51alTTCNcsR/F3n6A1q8h593Hg 8Sib2SYKuCkg9ylgfGsmmwYciddN7LyHEvZRcso8V3ou5pmvl2iPQUJ4M7q600q8kZIZ cGDnwT9k74b+PG+1dSpUtj23tvtC8S/HBjzeiDK8sRu2J1Qgv3lvpiP27U4yX7Z4mocr NbcA== 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=+9e+e3U3sfHhwn5PMnTHu6NY606IQ6st10bFkNcuyR0=; b=tTot7Ce//BZvWc6YD4yU0WygqWdZz2G+7OSBAWOkPYONgXL1NwGMdnFsufHbbuJlax YBlHm2w9MgIJwelux+jDO9/Bgb7d3x8Dy+P5OwCmivHEFuAf5Wnf29jXJovIrfzfq2RK T9fol3d57OS6u3Gc7O2Biy3O7DhH7ZIE29ab1AecV9YYmPlUpjkxZUkJ+VGzvTcJ8lPx 4uBtU3nY0nt8sL4x5/aC2rpiUO6CY7Wl7fvaKc+TFcxaX+AfK74+OF6zbGCiJvXPQkAs ili6AMGH9MlmitfyZdmTrYqZJUJ94ZaaEOc9g6C5eoLn49aQXuFAU3gXshK1xYYevBEy /CeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DSspbDPy; 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 cf15si1342169edb.563.2020.09.30.09.41.00; Wed, 30 Sep 2020 09:41:23 -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=DSspbDPy; 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 S1731224AbgI3Qic (ORCPT + 99 others); Wed, 30 Sep 2020 12:38:32 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:32978 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731177AbgI3Qic (ORCPT ); Wed, 30 Sep 2020 12:38:32 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 08UGcLpo100181; Wed, 30 Sep 2020 11:38:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1601483901; bh=+9e+e3U3sfHhwn5PMnTHu6NY606IQ6st10bFkNcuyR0=; h=From:To:CC:Subject:Date; b=DSspbDPyu9QOLJewr7aT4vS/fsr0fmTW0yr9BeU2GUBXyDRBf0OkLcxkS3+TpM8zy MCg+4rw1bQJQtHvsr13nwpCKTR53xVheCzFLhalY1P8OVI7uB3hplAHpDCcuze1kxl 6djzvtrAcb/W/alFvRcNpIxdjtidw7xS18LJWDC8= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 08UGcLKd120041 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 30 Sep 2020 11:38:21 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) 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, 30 Sep 2020 11:38:21 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE113.ent.ti.com (10.64.6.34) 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, 30 Sep 2020 11:38:21 -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 08UGcK3g016759; Wed, 30 Sep 2020 11:38:20 -0500 From: Dan Murphy To: , , , CC: , , , Dan Murphy Subject: [PATCH 1/2] dt-bindings: tas2764: Add the TAS2764 binding doc Date: Wed, 30 Sep 2020 11:38:08 -0500 Message-ID: <20200930163809.6978-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 | 74 +++++++++++++++++++ 1 file changed, 74 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..4e758ff81003 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/tas2764.yaml @@ -0,0 +1,74 @@ +# 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-gpio: + description: GPIO used to reset the device. + + shutdown-gpios: + 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-gpio = <&gpio1 15 0>; + shutdown-gpios = <&gpio1 15 0>; + ti,imon-slot-no = <0>; + ti,vmon-slot-no = <2>; + }; + }; + +... -- 2.28.0.585.ge1cfff676549