From patchwork Wed Apr 15 21:42:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Cernekee X-Patchwork-Id: 6222691 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2460FBF4A6 for ; Wed, 15 Apr 2015 21:44:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 438C52034F for ; Wed, 15 Apr 2015 21:44:58 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 07AA220306 for ; Wed, 15 Apr 2015 21:44:57 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id DA9D0260681; Wed, 15 Apr 2015 23:44:54 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id AD753260644; Wed, 15 Apr 2015 23:44:52 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 804E326064F; Wed, 15 Apr 2015 23:44:51 +0200 (CEST) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by alsa0.perex.cz (Postfix) with ESMTP id 7C0582605A1 for ; Wed, 15 Apr 2015 23:44:44 +0200 (CEST) Received: by iedfl3 with SMTP id fl3so43037430ied.1 for ; Wed, 15 Apr 2015 14:44:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=lsGxg6iQkfRYHvkU6p9TWDkzrMMElnPO0DaoAd+3h2Q=; b=GhrPA5p3PAQ1MY/46TbGS4bBf/fgfdujWiX1SDa/h3kLp9nyUj6XW/cDL2xocLYC3+ N9+1zDFnKS+aFt2OA6ainpDJKNQekOkxCKMt/aRejqMemI/lf5IVlDDAypLf67uSXJTd FFFjAQsbdbBWMhjV+sPSkyHJ7z6FLMh7g89to2oFgZfyPu6cwKpwhkMHSEUqnIVZJVxS N6adcCIcvidjZyUlL1wor9UmIGUZaXChe3gr1akcLI2RzunrFT6Iof2kMlHUCXF/pklr aZZcztYe/0B1XdwIcdzx6nHJtRzguUcyOzmvoNg1WSSNKcTYEA+sLYivKCH/or7bE0mk AJGQ== X-Gm-Message-State: ALoCoQlFN//krxTq4VLcsKVRsJ9ItO1a5m4gzMKJ3J+nCWtujKvwdfgv/VrUXZ2J+P2BcZDwMj3Q X-Received: by 10.43.65.144 with SMTP id xm16mr33090156icb.57.1429134283125; Wed, 15 Apr 2015 14:44:43 -0700 (PDT) Received: from kcl.mtv.corp.google.com ([172.22.66.15]) by mx.google.com with ESMTPSA id p74sm1438475ioe.27.2015.04.15.14.44.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Apr 2015 14:44:42 -0700 (PDT) From: Kevin Cernekee To: lgirdwood@gmail.com, broonie@kernel.org Date: Wed, 15 Apr 2015 14:42:19 -0700 Message-Id: <1429134141-17924-1-git-send-email-cernekee@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, abrestic@chromium.org, linux-kernel@vger.kernel.org, dgreid@chromium.org, olofj@chromium.org Subject: [alsa-devel] [PATCH 1/3] ASoC: tas571x: Add DT binding document X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Document the bindings for the soon-to-be-added tas571x driver. Signed-off-by: Kevin Cernekee --- .../devicetree/bindings/sound/tas571x.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/tas571x.txt diff --git a/Documentation/devicetree/bindings/sound/tas571x.txt b/Documentation/devicetree/bindings/sound/tas571x.txt new file mode 100644 index 000000000000..ac704c1f143d --- /dev/null +++ b/Documentation/devicetree/bindings/sound/tas571x.txt @@ -0,0 +1,34 @@ +Texas Instruments TAS5711/TAS5717/TAS5719 stereo power amplifiers + +The codec is controlled through an I2C interface. It also has two other +signals that can be wired up to GPIOs: reset (strongly recommended), and +powerdown (optional). + +Required properties: + +- compatible: "ti,tas5711", "ti,tas5717", or "ti,tas5719" +- reg: The I2C address of the device +- #sound-dai-cells: must be equal to 0 + +Optional properties: + +- reset-gpios: GPIO specifier for the TAS571x's active low reset line +- pdn-gpios: GPIO specifier for the TAS571x's active low powerdown line +- clocks: clock phandle for the MCLK input +- clock-names: should be "mclk" +- VDD-supply: regulator phandle for the AVDD/DVDD/HP_VDD supply +- PVDD-supply: regulator phandle for the PVDD supply + +Example: + + tas5717: audio-codec@2a { + compatible = "ti,tas5717"; + reg = <0x2a>; + #sound-dai-cells = <0>; + + reset-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; + pdn-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; + + clocks = <&clk_core CLK_I2S>; + clock-names = "mclk"; + };