From patchwork Fri Sep 18 12:31:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 53871 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by patches.linaro.org (Postfix) with ESMTPS id 2252A218E3 for ; Fri, 18 Sep 2015 12:32:19 +0000 (UTC) Received: by lanb10 with SMTP id b10sf18166747lan.3 for ; Fri, 18 Sep 2015 05:32:18 -0700 (PDT) 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=W6GVgR2wqxH6S5PxoQxvzSF3GNV0In81NeljVgRZ4nk=; b=PKg3GSl8GJspRs3ytnPtjHtZomMrEIFkNGwBWbHHZxnV0R4NJJC4fvV1mlj0DN70ZO fvlA8GahOVb7nooSVABSiZOHS9zIdzM8ClGykou/yuQ8YYPycC8nELw83dltGMF+gGDm kNZnfkCtNSTza749J46n6YF6IANgxt24/bF4a9b8U3Zf8COEhet8xAZRjUsHGzbMghaS dmgKYcsihFSv+HVrfk9/NkbSTJ1llDO4cJeKdjQLpEEVFepnGFbzWRcQHvO9Z5UBO1jW ZZJTejFanhNnHQ9YBR32M/xP0PGXK8X9T/FUZWYJh7SPPh7jSt+WFdpRW5iVW4gEVf+T ctpg== X-Gm-Message-State: ALoCoQmicjnAUS5gyvkKewM2bSSC727Z51hl9G45e9330vxfOImIwynj+toUSa0OYrGaq8aSUpXM X-Received: by 10.152.3.131 with SMTP id c3mr857050lac.4.1442579538087; Fri, 18 Sep 2015 05:32:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.234 with SMTP id y10ls225378lae.62.gmail; Fri, 18 Sep 2015 05:32:17 -0700 (PDT) X-Received: by 10.152.161.236 with SMTP id xv12mr3025176lab.116.1442579537803; Fri, 18 Sep 2015 05:32:17 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id r4si898594lah.60.2015.09.18.05.32.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Sep 2015 05:32:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by lagj9 with SMTP id j9so29877296lag.2 for ; Fri, 18 Sep 2015 05:32:17 -0700 (PDT) X-Received: by 10.152.43.137 with SMTP id w9mr3107024lal.56.1442579537662; Fri, 18 Sep 2015 05:32:17 -0700 (PDT) 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.59.35 with SMTP id w3csp263976lbq; Fri, 18 Sep 2015 05:32:16 -0700 (PDT) X-Received: by 10.107.166.79 with SMTP id p76mr13473543ioe.163.1442579536580; Fri, 18 Sep 2015 05:32:16 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kb8si6501932igb.2.2015.09.18.05.32.16; Fri, 18 Sep 2015 05:32:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754050AbbIRMcI (ORCPT + 30 others); Fri, 18 Sep 2015 08:32:08 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:35184 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754025AbbIRMcE (ORCPT ); Fri, 18 Sep 2015 08:32:04 -0400 Received: by wicge5 with SMTP id ge5so30786452wic.0 for ; Fri, 18 Sep 2015 05:32:02 -0700 (PDT) X-Received: by 10.180.230.197 with SMTP id ta5mr37449584wic.26.1442579522214; Fri, 18 Sep 2015 05:32:02 -0700 (PDT) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id bg4sm8630419wjc.46.2015.09.18.05.32.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Sep 2015 05:32:01 -0700 (PDT) From: Srinivas Kandagatla To: agross@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org Subject: [PATCH 11/14] ARM: dts: ifc6410: Add pwrseq support for WLAN Date: Fri, 18 Sep 2015 13:31:59 +0100 Message-Id: <1442579519-20398-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442579371-19822-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1442579371-19822-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.215.44 as permitted sender) smtp.mailfrom=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 adds pwrseq for WLAN which resets the WLAN just before the SDIO bus is up. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index c1d5bd7..9c71a51 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -1,5 +1,6 @@ #include "qcom-apq8064-v2.0.dtsi" #include +#include / { model = "Qualcomm APQ8064/IFC6410"; @@ -14,6 +15,17 @@ stdout-path = "serial0:115200n8"; }; + pwrseq { + compatible = "simple-bus"; + + sdcc4_pwrseq: sdcc4_pwrseq { + pinctrl-names = "default"; + pinctrl-0 = <&wlan_default_gpios>; + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; + }; + }; + soc { pinctrl@800000 { card_detect: card_detect { @@ -207,6 +219,21 @@ status = "okay"; }; + qcom,ssbi@500000 { + pmic@0 { + gpio@150 { + wlan_default_gpios: wlan-gpios { + pios { + pins = "gpio43"; + function = "normal"; + bias-disable; + power-source = ; + }; + }; + }; + }; + }; + amba { /* eMMC */ sdcc1: sdcc@12400000 { @@ -228,6 +255,7 @@ status = "okay"; vmmc-supply = <&ext_3p3v>; vqmmc-supply = <&pm8921_lvs1>; + mmc-pwrseq = <&sdcc4_pwrseq>; }; }; };