From patchwork Wed Feb 12 01:27:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 3633631 Return-Path: X-Original-To: patchwork-linux-sh@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 0B8C79F369 for ; Wed, 12 Feb 2014 01:27:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B8D920103 for ; Wed, 12 Feb 2014 01:27:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9E52F20123 for ; Wed, 12 Feb 2014 01:27:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752541AbaBLB13 (ORCPT ); Tue, 11 Feb 2014 20:27:29 -0500 Received: from mail-pd0-f173.google.com ([209.85.192.173]:33999 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752526AbaBLB12 (ORCPT ); Tue, 11 Feb 2014 20:27:28 -0500 Received: by mail-pd0-f173.google.com with SMTP id y10so8269642pdj.18 for ; Tue, 11 Feb 2014 17:27:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:subject:user-agent:to:cc:in-reply-to :references:mime-version:content-type; bh=sg85jzbHsPmoqaHbr3EtP5DPLCIFDVrKh3Yg7+G6t3I=; b=IGsc9i8+gvd+fFyYCxa/ngSItuFdOJ92baWdTtbmyL0dShBg7k7X3dbkFJlcleI+k6 HUtqpuqLcn2+R7ZmORhfyd+eylvtHgiJ8mVq1GTGUo4ZcZD8LREnIbgnWf1NU3y3AEUh XVBk0MNH4qxxYjE6vPUNPW3tbSDvoT3I2r49XhIfhXMAaWUpNkr7UGQb8a+SA9xoSN0R bnwM/36JrI1S1i1nFHpiKqJI2Aynjz4G/qJrGQG9WAD7H2N8PLsbk+Rt6tQA/Hqc+rVg biT0tCUyeEUlvQun+1na7Sk1O5N/bKJwQgRngl26GlwNwCrwlvLF99RoJ32KhavsQzVS zEtQ== X-Received: by 10.66.160.195 with SMTP id xm3mr35748763pab.93.1392168448222; Tue, 11 Feb 2014 17:27:28 -0800 (PST) Received: from morimoto-Dell-XPS420.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id sy2sm57460478pbc.28.2014.02.11.17.27.26 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 11 Feb 2014 17:27:27 -0800 (PST) Date: Tue, 11 Feb 2014 17:27:27 -0800 (PST) Message-ID: <87ha859l37.wl%kuninori.morimoto.gx@gmail.com> From: Kuninori Morimoto Subject: [PATCH 2/2] regulator: gpio: explain detail of gpios-states User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 To: Mark Brown Cc: Liam Girdwood , Lee Jones , Simon , Magnus , Linux-SH , linux-kernel@vger.kernel.org In-Reply-To: <20140204184327.GS22609@sirena.org.uk> References: <87eh3o7mfc.wl%kuninori.morimoto.gx@gmail.com> <20140204184327.GS22609@sirena.org.uk> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto gpios-states is array, and default is 0 Signed-off-by: Kuninori Morimoto --- .../bindings/regulator/gpio-regulator.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt index 3ecb585..356e8bb 100644 --- a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt @@ -8,7 +8,8 @@ Required properties: Optional properties: - enable-gpio : GPIO to use to enable/disable the regulator. - gpios : GPIO group used to control voltage. -- gpios-states : gpios pin's initial states. 1 means HIGH +- gpios-states : gpios pin's initial states array. 0: LOW, 1: HIGH. + defualt is LOW if nothing is specified. - startup-delay-us : Startup time in microseconds. - enable-active-high : Polarity of GPIO is active high (default is low).