From patchwork Tue Aug 18 13:06:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 52510 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id 5496822DB1 for ; Tue, 18 Aug 2015 13:09:34 +0000 (UTC) Received: by labd1 with SMTP id d1sf57036403lab.0 for ; Tue, 18 Aug 2015 06:09:33 -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=tXPKuacq2z4j7ViHfG5vu94V3slRndcNoBqud7JtFFY=; b=HP+Vkb5+404GVCsOz3Nsz7DQJtTM91RuZ679GGMZ2+EIeUNyWz4EHW+4VE4dkLrc3b /5Vr8ByS8RtJzhGRw+eoPKKSzXSOBpiRuUFQPsQ+SMEZCrB3nxtltZudmJbBDIteKaDX ZNn3fmtlJCuiQcWzI8lMIZo8NLImTf8KuG90uvOGeYlE0t3kDxjINXuu+mlHcEQUkKDC koCreugavpN3erXJFKTMovIHEho2/jHDsLkkRkgz/u+j3PvmQVhPaRJTpjlMKk98BBjR cgF29NKfUXOr6hY4/jxwzcNew2TEY7SHSMBe7+KPCrSm5lTpGff/rBn3jLn16kvvZS9X 97XA== X-Gm-Message-State: ALoCoQlDotI1k5I79dgzoE8DwH3shF1P7jQZfoSMgUKwXlSksp3wrMBM+ztxzeU6FTTbenoqNXs/ X-Received: by 10.112.148.101 with SMTP id tr5mr1805374lbb.13.1439903373283; Tue, 18 Aug 2015 06:09:33 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.133 with SMTP id v5ls787077lae.63.gmail; Tue, 18 Aug 2015 06:09:33 -0700 (PDT) X-Received: by 10.152.120.135 with SMTP id lc7mr6165053lab.41.1439903373007; Tue, 18 Aug 2015 06:09:33 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id r8si14110724lbh.6.2015.08.18.06.09.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Aug 2015 06:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by lalv9 with SMTP id v9so98941932lal.0 for ; Tue, 18 Aug 2015 06:09:32 -0700 (PDT) X-Received: by 10.152.36.102 with SMTP id p6mr6183370laj.19.1439903372581; Tue, 18 Aug 2015 06:09:32 -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.162.200 with SMTP id yc8csp471820lbb; Tue, 18 Aug 2015 06:09:31 -0700 (PDT) X-Received: by 10.66.184.9 with SMTP id eq9mr13515582pac.103.1439903370385; Tue, 18 Aug 2015 06:09:30 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rg6si30361483pdb.36.2015.08.18.06.09.29; Tue, 18 Aug 2015 06:09:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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 S1752660AbbHRNJ2 (ORCPT + 6 others); Tue, 18 Aug 2015 09:09:28 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:38593 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751517AbbHRNJ1 (ORCPT ); Tue, 18 Aug 2015 09:09:27 -0400 Received: by wicja10 with SMTP id ja10so108094470wic.1 for ; Tue, 18 Aug 2015 06:09:26 -0700 (PDT) X-Received: by 10.180.182.112 with SMTP id ed16mr43210076wic.19.1439903366417; Tue, 18 Aug 2015 06:09:26 -0700 (PDT) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id l13sm26461840wjr.18.2015.08.18.06.07.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Aug 2015 06:09:25 -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 v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN Date: Tue, 18 Aug 2015 14:06:52 +0100 Message-Id: <1439903212-19931-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1439903069-19752-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1439903069-19752-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-arm-msm@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.46 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 | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 88d6655..b1f9ddb 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"; @@ -10,6 +11,20 @@ serial1 = &gsbi6_serial; }; + pwrseq { + #address-cells = <1>; + #size-cells = <1>; + ranges; + 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 { @@ -206,6 +221,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 { @@ -227,6 +257,7 @@ status = "okay"; vmmc-supply = <&ext_3p3v>; vqmmc-supply = <&pm8921_lvs1>; + mmc-pwrseq = <&sdcc4_pwrseq>; }; }; };