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: 5729691 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 614FB9F398 for ; Wed, 28 Jan 2015 20:30:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A0B6520265 for ; Wed, 28 Jan 2015 20:30:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D178420263 for ; Wed, 28 Jan 2015 20:30:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756354AbbA1UaV (ORCPT ); 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-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cDWd1DG/3ySHk46FqvUqFbSt27yaAo6BTIcDILP0pJo=; b=A0aZrYZBQcmmocm47XUJKQVCkp2AliFZY++bfrj4DCM6c9mJ5onjG/aMlbKMv1ps7p 2O9ABRZdbrKlQ2XWZQUFeklIq7RFpSsfgpXk6qcWim83MhH1nSyx27yu2ActzvCM0L5s NIN2C05HD0KGgRjnOlsb+TwN5tPpMjhgUy7WSmP+dXzLjXMqsL79UZlqAn6vkqCFVHlh yOFxb+3xEyjIJlDFczHeexXATsxhiy5Ld3upfSJuQJHrvWRfOVGTLc2N/rHU1woMzns1 zpceTCiSgII8GrZ8YFUC1U+HWMbrRDES9X00lkLk3EDX/wDekjToQmyV1U1udzBewhxU zXng== X-Gm-Message-State: ALoCoQlJUjXr4EKFL9Hu1bIasy5T+2tisIP6/HjnGaLDg0sklidiHrjRcE2wDsKJRGjWWeAqSKKE 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: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, 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 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>; }