From patchwork Tue May 5 22:14:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Cernekee X-Patchwork-Id: 6344531 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 326D39F32E for ; Tue, 5 May 2015 22:15:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 49A1220259 for ; Tue, 5 May 2015 22:15:34 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 203592022D for ; Tue, 5 May 2015 22:15:33 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3B32426575B; Wed, 6 May 2015 00:15:32 +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 07D1E2614B0; Wed, 6 May 2015 00:14:36 +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 378192608EC; Wed, 6 May 2015 00:14:35 +0200 (CEST) Received: from mail-ie0-f175.google.com (mail-ie0-f175.google.com [209.85.223.175]) by alsa0.perex.cz (Postfix) with ESMTP id CE8562605A9 for ; Wed, 6 May 2015 00:14:28 +0200 (CEST) Received: by iedfl3 with SMTP id fl3so1069605ied.1 for ; Tue, 05 May 2015 15:14:28 -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:in-reply-to :references; bh=lpTLnFmsIz+IFA9DO+jnLlWtJKcxCym+4lDdl2ibDyU=; b=K/iuoYY7pAegkOgJFFthD3X63tOGUUG/jgSlXMIMPwG/JVBiWaAXQVJFwW/tOlG4an 3QaDcVxdFRBuBziJIFI3pKvpuAFBbOnGwdJO7XnwjQ9fIzjgpo997eZswhKMwE3lI5ee 3WLCPgp1lsup1E4VAEVJ8iNSw7o3Dz0ESHXPgnVZ0tbf5M/ZrQyh12DwxkrdkXgUhczP 50TXPglkCygPLYDTlrJ/xTh2wNJI8ZuzT7ICRAQiA89sBzhht24DHc4qrMryM43bbCFI dKNJNouVNL8NN5ZXknm4XoQF0DEDxEVZrtjNX8uKkeTm6tM6lWRoCEmkNfWqwoRGxVGk MsdA== X-Gm-Message-State: ALoCoQk3TaBLkU48M+7soI/bVVxXIPHT5jF89qCqldmBaJy2ICaL2aONVIpyY+tn1ZFoMFbn6UB+ X-Received: by 10.42.233.142 with SMTP id jy14mr35484463icb.55.1430864068173; Tue, 05 May 2015 15:14:28 -0700 (PDT) Received: from kcl.mtv.corp.google.com ([172.22.66.15]) by mx.google.com with ESMTPSA id 9sm12629669iom.29.2015.05.05.15.14.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 May 2015 15:14:27 -0700 (PDT) From: Kevin Cernekee To: lgirdwood@gmail.com, broonie@kernel.org Date: Tue, 5 May 2015 15:14:15 -0700 Message-Id: <1430864057-3848-4-git-send-email-cernekee@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c In-Reply-To: <1430864057-3848-1-git-send-email-cernekee@chromium.org> References: <1430864057-3848-1-git-send-email-cernekee@chromium.org> Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, lars@metafoo.de, abrestic@chromium.org, linux-kernel@vger.kernel.org, dgreid@chromium.org, olofj@chromium.org Subject: [alsa-devel] [PATCH V4 3/5] 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 | 41 ++++++++++++++++++++++ 1 file changed, 41 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..0ac31d8d5ac4 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/tas571x.txt @@ -0,0 +1,41 @@ +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" +- AVDD-supply: regulator phandle for the AVDD supply (all chips) +- DVDD-supply: regulator phandle for the DVDD supply (all chips) +- HPVDD-supply: regulator phandle for the HPVDD supply (5717/5719) +- PVDD_AB-supply: regulator phandle for the PVDD_AB supply (5717/5719) +- PVDD_CD-supply: regulator phandle for the PVDD_CD supply (5717/5719) +- PVDD_A-supply: regulator phandle for the PVDD_A supply (5711) +- PVDD_B-supply: regulator phandle for the PVDD_B supply (5711) +- PVDD_C-supply: regulator phandle for the PVDD_C supply (5711) +- PVDD_D-supply: regulator phandle for the PVDD_D supply (5711) + +Example: + + tas5717: audio-codec@2a { + compatible = "ti,tas5717"; + reg = <0x2a>; + #sound-dai-cells = <0>; + + reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; + pdn-gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; + + clocks = <&clk_core CLK_I2S>; + clock-names = "mclk"; + };