From patchwork Fri Apr 24 22:36:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Cernekee X-Patchwork-Id: 6273801 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 BB9E6BF4A6 for ; Fri, 24 Apr 2015 22:38:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E6CE720274 for ; Fri, 24 Apr 2015 22:38:17 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id B77412038A for ; Fri, 24 Apr 2015 22:38:16 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id CF4BA261735; Sat, 25 Apr 2015 00:38:15 +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,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id CDA1E260815; Sat, 25 Apr 2015 00:37:20 +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 E70EE26147D; Sat, 25 Apr 2015 00:37:19 +0200 (CEST) Received: from mail-ig0-f170.google.com (mail-ig0-f170.google.com [209.85.213.170]) by alsa0.perex.cz (Postfix) with ESMTP id 68B6B2607E9 for ; Sat, 25 Apr 2015 00:37:10 +0200 (CEST) Received: by igblo3 with SMTP id lo3so25930858igb.0 for ; Fri, 24 Apr 2015 15:37:09 -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=TOblqECCR1eO7/13p0one+RrbCbmjkCJaVLMcA5QjqOTsVbqMd0XJhmSbSXbw4A9zr XI1wivYN/RkZ/PcWyNKzcTLJ/zGdXkIpRnMmR73PgtgqV1gNU2yfvOcaXgbI80NS0h3b bga24jFp7BWyaE4aY0243rd0BP9gBM0UnPipnMJmvF6EhBDitZfCzg8odpkKh1PYoRBc OHlDdCMjwvPjA0UWQ7Q01Om37fcCLLOMqN445cKkcWdx529byHj4Rrrk1/u0fkxGrNjx bgPeeFZdV0HZ110IA7Oi2p80NLRipuClljJYdc4gylaf10mhpnyoKJK/AiNaBQAXXT8/ asdw== X-Gm-Message-State: ALoCoQmPCExRB/tRSg7SauiO4mA/hJbKn6eJrJZ6DgUOHzvKhb3QuonOp16tvSZre9QYme0WuoEx X-Received: by 10.43.66.131 with SMTP id xq3mr1404838icb.9.1429915029154; Fri, 24 Apr 2015 15:37:09 -0700 (PDT) Received: from kcl.mtv.corp.google.com ([172.22.66.15]) by mx.google.com with ESMTPSA id r4sm482854igw.12.2015.04.24.15.37.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Apr 2015 15:37:07 -0700 (PDT) From: Kevin Cernekee To: lgirdwood@gmail.com, broonie@kernel.org Date: Fri, 24 Apr 2015 15:36:46 -0700 Message-Id: <1429915008-22015-3-git-send-email-cernekee@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c In-Reply-To: <1429915008-22015-1-git-send-email-cernekee@chromium.org> References: <1429915008-22015-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 V2 2/4] 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"; + };