From patchwork Wed Jan 28 13:17:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 43887 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3FA372410D for ; Wed, 28 Jan 2015 20:30:35 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id h11sf7301945wiw.1 for ; Wed, 28 Jan 2015 12:30:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=fm9P6mk2u6x1nk+iWP7SER6RO9HI+9/8OeDA8SgMNfc=; b=WYNIzggjS+Fm2gb7xg/s9F+BjGTBkLS+xzBImflXhGUXyw/bfs4Z29h0lGCmt+ZtpJ I5hi8dMlyQAHQhdE9xXRL4WMfz0ocWuciqhMYMkeND5lyflWMOe3jtiAV4axOlCI7DsH nsKIaWFBb9IaUsg0RPhCH0nHAij8gc5aORHKwMs6EVMKMyX1s6wLaJKjDcj1MUrhKWJQ ocy7HtYqkO9OjJmY9Pe09L+kf8zIQiv/Q6VsgbVGcU10iCr64bckqqHtSRf/hRiWzK1I 3vP864ZxBPyaWraHpCoVUT+qulH8mysA2jxJRXtSq6M1BrD8RvoT0MnPuLH4szt/6DXN +WyA== X-Gm-Message-State: ALoCoQk2evafeKZDtI73BXvxG/E2K0hi8pyqskwN/UdmBEpKksVdF5wdvMXsgRb5Z1FC6B0SoYmD X-Received: by 10.194.142.174 with SMTP id rx14mr761457wjb.4.1422477034484; Wed, 28 Jan 2015 12:30:34 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.44.162 with SMTP id f2ls235105lam.5.gmail; Wed, 28 Jan 2015 12:30:34 -0800 (PST) X-Received: by 10.112.252.42 with SMTP id zp10mr10611692lbc.51.1422477034187; Wed, 28 Jan 2015 12:30:34 -0800 (PST) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id v6si5445338laa.111.2015.01.28.12.30.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 Jan 2015 12:30:33 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by mail-lb0-f176.google.com with SMTP id z12so21090060lbi.7 for ; Wed, 28 Jan 2015 12:30:33 -0800 (PST) X-Received: by 10.112.188.227 with SMTP id gd3mr10632971lbc.22.1422477033883; Wed, 28 Jan 2015 12:30:33 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp1555742lbj; Wed, 28 Jan 2015 12:30:33 -0800 (PST) X-Received: by 10.70.132.39 with SMTP id or7mr8938232pdb.90.1422477032165; Wed, 28 Jan 2015 12:30:32 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cq3si980733pbc.120.2015.01.28.12.30.31; Wed, 28 Jan 2015 12:30:32 -0800 (PST) Received-SPF: none (google.com: linux-mmc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756354AbbA1UaV (ORCPT + 3 others); Wed, 28 Jan 2015 15:30:21 -0500 Received: from mail-wi0-f178.google.com ([209.85.212.178]:47076 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756175AbbA1UaS (ORCPT ); Wed, 28 Jan 2015 15:30:18 -0500 Received: by mail-wi0-f178.google.com with SMTP id bs8so6718067wib.5 for ; Wed, 28 Jan 2015 12:30:17 -0800 (PST) X-Received: by 10.194.81.1 with SMTP id v1mr7642617wjx.50.1422451031915; Wed, 28 Jan 2015 05:17:11 -0800 (PST) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-2-98-209-190.as13285.net. [2.98.209.190]) by mx.google.com with ESMTPSA id ev7sm6063709wjb.47.2015.01.28.05.17.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Jan 2015 05:17:10 -0800 (PST) From: Srinivas Kandagatla To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kumar Gala , Rob Herring , Srinivas Kandagatla Subject: [PATCH 2/2] mmc: pwrseq: Update document with multiple gpios support Date: Wed, 28 Jan 2015 13:17:08 +0000 Message-Id: <1422451028-9417-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1422450981-9328-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1422450981-9328-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch updates the text and examples the mmc pwrseq document with multiple gpios support. Typical example is WLAN and BT chips on SDIO bus. Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt b/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt index da333d9..1a86efa 100644 --- a/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt +++ b/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.txt @@ -8,13 +8,14 @@ Required properties: - compatible : contains "mmc-pwrseq-simple". Optional properties: -- reset-gpios : contains a GPIO specifier. The reset GPIO is asserted at - initialization and prior we start the power up procedure of the card. It +- reset-gpios : contains list of GPIO specifiers. The reset GPIOs are asserted at + initialization and prior we start the power up procedure of the card. They will be de-asserted right after the power has been provided to the card. Example: sdhci0_pwrseq { compatible = "mmc-pwrseq-simple"; - reset-gpios = <&gpio1 12 0>; + /* WLAN and BT reset */ + reset-gpios = <&gpio1 12 0>, <&gpio1 14 0>; }