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: 489624 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id E98C81401F0 for ; Tue, 30 Jun 2015 20:25:46 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=RPKZ7s/t; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751269AbbF3KZp (ORCPT ); Tue, 30 Jun 2015 06:25:45 -0400 Received: from mail-la0-f41.google.com ([209.85.215.41]:35010 "EHLO mail-la0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751841AbbF3KZo (ORCPT ); Tue, 30 Jun 2015 06:25:44 -0400 Received: by lagh6 with SMTP id h6so7378423lag.2 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 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Kimmo Saarela Subject: [PATCH 5/5] ASoC: tlv320aic32x4: Update devicetree documentation 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: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; };