From patchwork Tue Jun 30 10:25:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kimmo Saarela X-Patchwork-Id: 6695061 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 6A6EFC05AC for ; Tue, 30 Jun 2015 10:28:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 868692055B for ; Tue, 30 Jun 2015 10:28:38 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 54DB32038D for ; Tue, 30 Jun 2015 10:28:37 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6CD2D2607E8; Tue, 30 Jun 2015 12:28:36 +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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, NO_DNS_FOR_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id D42AB2604E2; Tue, 30 Jun 2015 12:25:57 +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 769E22604D6; Tue, 30 Jun 2015 12:25:56 +0200 (CEST) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by alsa0.perex.cz (Postfix) with ESMTP id 8613F260459 for ; Tue, 30 Jun 2015 12:25:43 +0200 (CEST) Received: by laar3 with SMTP id r3so7468802laa.0 for ; Tue, 30 Jun 2015 03:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=+My19CLepHXagpghCCsfQS0iVC+pu5/9xYzaTkuhFE8=; b=RPKZ7s/tCTc6s5DFO7wYN98WjImtLcmolIm5Q86L4u3GWBtaNrVl35A9njcaW5nzxu SREH6pGfy8ZJK0CFaKD99L1cp2Zka/Q6VA6EwXZBZf+GRXpPzdmyOYPHzhcueOrFaKJE HJMd7fl6v1d4XDcHuZGxs6zqxbzJb7HAo3DMo9OsO1nMn4pFKmBMP3J8xBp5ILH3T2jH hOBpUcJocX9/oQTjoOPgQnPty/1JbgV9hpBXgH/DCnUTdJ7ceCMcntpj4enN+FyZJucV OzTNvRoNxyiwxDDLXwYIUHIG/1cbzW0wE25kVuDXaE8dpSI7Vo75J1mTUxa8XgR8PJjt 4caw== X-Received: by 10.112.157.36 with SMTP id wj4mr18210846lbb.115.1435659943226; Tue, 30 Jun 2015 03:25:43 -0700 (PDT) Received: from localhost.localdomain (85-76-111-162-nat.elisa-mobile.fi. [85.76.111.162]) by mx.google.com with ESMTPSA id bm5sm11553431lbc.45.2015.06.30.03.25.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Jun 2015 03:25:42 -0700 (PDT) From: Kimmo Saarela To: Jaroslav Kysela , Takashi Iwai Date: Tue, 30 Jun 2015 13:25:13 +0300 Message-Id: <50c8c9e1c2b60bc209d13ee4ae2272edfcc2f624.1435569929.git.kimmo.saarela@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: Cc: Kimmo Saarela , devicetree@vger.kernel.org, alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH 5/5] ASoC: tlv320aic32x4: Update devicetree documentation 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 Signed-off-by: Kimmo Saarela --- .../devicetree/bindings/sound/tlv320aic32x4.txt | 25 +++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/tlv320aic32x4.txt b/Documentation/devicetree/bindings/sound/tlv320aic32x4.txt index 143a192..0141aab 100644 --- a/Documentation/devicetree/bindings/sound/tlv320aic32x4.txt +++ b/Documentation/devicetree/bindings/sound/tlv320aic32x4.txt @@ -13,12 +13,33 @@ Required properties: If you supply ldoin, dv and av are optional. Otherwise they are required See regulator/regulator.txt for more information about the detailed binding format. + - input-use: Array of input pins used by the driver, shall contain 6 values. + Pin input order is lin1, rin1, lin2, rin2, lin3, rin3. + Each value can hold value for primary function in low nybble (x & 0xf) or + value for secondary function in high nybble (x & 0xf0). + Possible values are: + 0 = input not in use + 1 = input connected with 10k Ohm (0dB) + 2 = input connected with 20k Ohm (-6dB) + 3 = input connected with 40k Ohm (-12dB) + If value for pin is 0, driver connects the pin weakly to common mode Optional properties: - reset-gpios: Reset-GPIO phandle with args as described in gpio/gpio.txt - clocks/clock-names: Clock named 'mclk' for the master clock of the codec. See clock/clock-bindings.txt for information about the detailed format. - + - swapdacs: Swap dac channel + - powercfg: Power configuration mask for codec + - cmode: Array of common mode setup data when channels are used in single + ended mode. + Parameter order is cmode1, cmode2. + Low nybble holds config for left channel and high nybble holds config for + right channel. + Possible values are: + 0 = cmode not in use + 1 = cmode connected with 10k Ohm (0dB) + 2 = cmode connected with 20k Ohm (-6dB) + 3 = cmode connected with 40k Ohm (-12dB) Example: @@ -27,4 +48,6 @@ codec: tlv320aic32x4@18 { reg = <0x18>; clocks = <&clks 201>; clock-names = "mclk"; + input-use = <1 1 0 0 0 0>; + cmode = <0x11 0>; };