From patchwork Tue Aug 19 11:14:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inha Song X-Patchwork-Id: 4742021 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 01061C0338 for ; Tue, 19 Aug 2014 11:15:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1D6842015A for ; Tue, 19 Aug 2014 11:15:39 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 601E2200F4 for ; Tue, 19 Aug 2014 11:15:37 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 8AF7126569D; Tue, 19 Aug 2014 13:15:31 +0200 (CEST) Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 45A852657D0; Tue, 19 Aug 2014 13:15:15 +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 BA8C22657D1; Tue, 19 Aug 2014 13:15:13 +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 mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by alsa0.perex.cz (Postfix) with ESMTP id D0271265602 for ; Tue, 19 Aug 2014 13:14:09 +0200 (CEST) Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NAJ00HROWJJNI60@mailout3.samsung.com> for alsa-devel@alsa-project.org; Tue, 19 Aug 2014 20:14:07 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.116]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 37.3B.15745.F7133F35; Tue, 19 Aug 2014 20:14:07 +0900 (KST) X-AuditID: cbfee691-b7f306d000003d81-d4-53f3317f7f3a Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 11.15.04943.F7133F35; Tue, 19 Aug 2014 20:14:07 +0900 (KST) Received: from songinha-Samsung-DeskTop-System ([10.252.81.136]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NAJ003J7WJJ4BB0@mmp2.samsung.com>; Tue, 19 Aug 2014 20:14:07 +0900 (KST) Date: Tue, 19 Aug 2014 20:14:07 +0900 From: Inha Song To: broonie@kernel.org Message-id: <20140819201407.3447715e@songinha-Samsung-DeskTop-System> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; i686-pc-linux-gnu) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrDIsWRmVeSWpSXmKPExsWyRsSkRLfe8HOwwcMpchZXLh5ispj68Amb xb8pN9gtrn95zmox/8g5Vov+NwtZLc69Wslocf/rUUaLb1c6mCwu75rDZrH0+kUmi+Vv/7NZ TJi+lsWide8RdovT3awO/B4bPjexeayZt4bR43JfL5PHzll32T1WLv/C5rFpVSebx51re9g8 5p0M9Hg58TebR9+WVYwenzfJBXBHcdmkpOZklqUW6dslcGUsPHiAuaCBu+LhxVksDYytnF2M nBwSAiYSs+YuZYKwxSQu3FvP1sXIxSEksJRRonXyV1aYojUvGlggEtMZJS5vf8sI4fQzSfw8 t4YFpIpFQFWiaVIfI4jNJqAh8f3zZmYQWwRo7O05ncwgDcwCP5kkmlc8AUsIC6RId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CUzUJStoCReRWjaGpBckFxUnquoV5xYm5xaV66XnJ+7iZGcMJ4JrWDcWWDxSFGAQ5GJR5e hS8fg4VYE8uKK3MPMUpwMCuJ8HZIfw4W4k1JrKxKLcqPLyrNSS0+xGgK9PZEZinR5HxgMssr iTc0NjEzsjQyN7QwMjZXEuc90GodKCSQnliSmp2aWpBaBNPHxMEp1cC4763jpdOCKQv8J36S /9B/w/yks9KNM7n1q9JYFrR3RO59qud6/2qONC/PlVlRhz98iDRUF02u7F+auzUqheXnldZ+ 9+8sRl2bWNikg7983Ti5veD9V4GwI688t9ler6tbuPeVZQTjo2/Jj3hdwyRX6j2dzG/TcjJi kdy5TZqZmUFnbe+KSu9SYinOSDTUYi4qTgQAEI8dyi4DAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, sameo@linux.intel.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, patches@opensource.wolfsonmicro.com, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, cw00.choi@samsung.com, robh+dt@kernel.org, galak@codeaurora.org, ckeepax@opensource.wolfsonmicro.com, lee.jones@linaro.org Subject: [alsa-devel] [PATCH v4 2/2] mfd: arizona: Update DT binding to support INn_MODE init_data 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This patch update DT binding to support INn_MODE init_data. Each input signal path can be configurated either as a Analogue or Digital using the INn_MODE registers. Signed-off-by: Inha Song Reviewed-by: Charles Keepax --- Documentation/devicetree/bindings/mfd/arizona.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt index 5c7e723..7bd1273 100644 --- a/Documentation/devicetree/bindings/mfd/arizona.txt +++ b/Documentation/devicetree/bindings/mfd/arizona.txt @@ -42,6 +42,13 @@ Optional properties: the chip default will be used. If present exactly five values must be specified. + - wlf,inmode : A list of INn_MODE register values, where n is the number + of input signals. Valid values are 0 (Differential), 1 (Single-ended) and + 2 (Digital Microphone). If absent, INn_MODE registers set to 0 by default. + If present, values must be specified less than or equal to the number of + input singals. If values less than the number of input signals, elements + that has not been specifed are set to 0 by default. + - DCVDD-supply, MICVDD-supply : Power supplies, only need to be specified if they are being externally supplied. As covered in Documentation/devicetree/bindings/regulator/regulator.txt