From patchwork Mon May 5 09:49:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Mack X-Patchwork-Id: 4113331 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B251D9F1E1 for ; Mon, 5 May 2014 09:49:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E620F203E6 for ; Mon, 5 May 2014 09:49:51 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 99FFC20384 for ; Mon, 5 May 2014 09:49:50 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 32A4A264EBF; Mon, 5 May 2014 11:49:49 +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, 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 B3A09261B20; Mon, 5 May 2014 11:49:40 +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 77385261B2D; Mon, 5 May 2014 11:49:39 +0200 (CEST) Received: from mail-ee0-f51.google.com (mail-ee0-f51.google.com [74.125.83.51]) by alsa0.perex.cz (Postfix) with ESMTP id 76558261ADF for ; Mon, 5 May 2014 11:49:31 +0200 (CEST) Received: by mail-ee0-f51.google.com with SMTP id e51so501241eek.38 for ; Mon, 05 May 2014 02:49:31 -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; bh=nu7KMKygzpOAiy00VepJYa8vsUAgF3BQafBwODkiTQI=; b=Llfv5TH1a6UVNDPsNaWRkfjTntGdSiv01nS2xWNebVnNr7Rp1kIiKJZBj1/esdEXZ2 QFMN5XL7o0QBZ/tS/shAkK/Xbfdw5fW2dXLEqwJRksjJo5e3cmAm27kcdd3CW6Emiyt9 gARmWy59KHFovmhbDrAQOXBXYIIxU9JRzwnDRI9qnaNx74YB5+TiJe2tWf1x9VLVP44X WDtpKgUyx1HCAUakKr5OGkT82xzwybgDlq+YBAjr2eRv+V0TsA/JvX1QqGuMffvqOeTO uUfmIiTqCmn5oQCi61/1sF26kM4+wTX/j3gKPgUBcpo9ng6enrDgDS3MTRvKmzyFk8wk u3Qg== X-Received: by 10.14.246.196 with SMTP id q44mr3006870eer.45.1399283371217; Mon, 05 May 2014 02:49:31 -0700 (PDT) Received: from tamtam.localdomain (p5099deeb.dip0.t-ipconnect.de. [80.153.222.235]) by mx.google.com with ESMTPSA id n41sm28193976eeg.4.2014.05.05.02.49.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 May 2014 02:49:30 -0700 (PDT) From: Daniel Mack To: broonie@kernel.org, alsa-devel@alsa-project.org Date: Mon, 5 May 2014 11:49:22 +0200 Message-Id: <1399283363-16441-1-git-send-email-zonque@gmail.com> X-Mailer: git-send-email 1.9.0 Cc: Daniel Mack Subject: [alsa-devel] [PATCH 1/2] ASoC: sta350: fix DT bindings 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 Fix a misleading property description, and denote the fact that st,output-conf and st,ch*-output-mapping have to be passed as /bits/ 8. Signed-off-by: Daniel Mack --- Documentation/devicetree/bindings/sound/st,sta350.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/st,sta350.txt b/Documentation/devicetree/bindings/sound/st,sta350.txt index 9501888..ecd7a62 100644 --- a/Documentation/devicetree/bindings/sound/st,sta350.txt +++ b/Documentation/devicetree/bindings/sound/st,sta350.txt @@ -25,6 +25,7 @@ Optional properties: 2: 2 Channel (Full-Bridge) Power, 1 Channel FFX 3: 1 Channel Mono-Parallel If parameter is missing, mode 0 will be enabled. + This property has to be specified as '/bits/ 8' value. - st,ch1-output-mapping: Channel 1 output mapping - st,ch2-output-mapping: Channel 2 output mapping @@ -33,6 +34,7 @@ Optional properties: 1: Channel 2 2: Channel 3 If parameter is missing, channel 1 is choosen. + This properties have to be specified as '/bits/ 8' values. - st,thermal-warning-recover: If present, thermal warning recovery is enabled. @@ -82,7 +84,7 @@ Optional properties: If not present, preset DC coefficient is used. - st,invalid-input-detect-mute: - If not present, automatic invalid input detect mute is enabled. + If present, automatic invalid input detect mute is enabled. @@ -93,12 +95,12 @@ codec: sta350@38 { reg = <0x1c>; reset-gpios = <&gpio1 19 0>; power-down-gpios = <&gpio1 16 0>; - st,output-conf = <0x3>; // set output to 2-channel + st,output-conf = /bits/ 8 <0x3>; // set output to 2-channel // (full-bridge) power, // 2-channel data-out - st,ch1-output-mapping = <0>; // set channel 1 output ch 1 - st,ch2-output-mapping = <0>; // set channel 2 output ch 1 - st,ch3-output-mapping = <0>; // set channel 3 output ch 1 + st,ch1-output-mapping = /bits/ 8 <0>; // set channel 1 output ch 1 + st,ch2-output-mapping = /bits/ 8 <0>; // set channel 2 output ch 1 + st,ch3-output-mapping = /bits/ 8 <0>; // set channel 3 output ch 1 st,max-power-correction; // enables power bridge // correction for THD reduction // near maximum power output