From patchwork Tue Jul 28 12:53:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 51589 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 0AAA320323 for ; Tue, 28 Jul 2015 12:53:53 +0000 (UTC) Received: by laah7 with SMTP id h7sf37742778laa.2 for ; Tue, 28 Jul 2015 05:53:52 -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=FL+RQcAGsIjLL/kOYvidPrhxz/lvW0DanZD4I3+QUx4=; b=J71cIrSmBTL2AM7m/u/jZq0xCmd4n6q5cGQUgXh04Vsu289iwplc52hdJXAkUFTXGn oTEnjvi5GWWQaxi7+BMkKQp/CsaIzzsPMQs/zwKNRhZ7e7btH4b8z6JyaKbGUSQnjPGv Tnm8YiWxgaZJXSjYbpjUR3pwjfyfteTxLmDmOzjl3MHfctVMyeEO3Vmxf0R9SW5nEQDA wits3Km457KQwk0rXpe86NZMQRKzyK0kqPHhqkuV4ryPh89HXJbP/ly6x1LTXTojhFDW O6E86qOaJePrL0wlTPXvP1J7iKRQQKtyDXWeL3QepHeovl+PY9ne4CvkKqW7jMv4ats9 iarQ== X-Gm-Message-State: ALoCoQkWLTG+sk+Yikm31UmdE5o9P+PIcySFG6kUCu51yPjswOkTDZcG3Ll6u5GN1OGVOquWBSaW X-Received: by 10.194.93.198 with SMTP id cw6mr14031261wjb.3.1438088032000; Tue, 28 Jul 2015 05:53:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.108 with SMTP id ud12ls779008lac.43.gmail; Tue, 28 Jul 2015 05:53:51 -0700 (PDT) X-Received: by 10.152.219.3 with SMTP id pk3mr32301014lac.114.1438088031839; Tue, 28 Jul 2015 05:53:51 -0700 (PDT) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id t5si18266498lbb.35.2015.07.28.05.53.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2015 05:53:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbbqi7 with SMTP id qi7so73871997lbb.3 for ; Tue, 28 Jul 2015 05:53:51 -0700 (PDT) X-Received: by 10.152.4.163 with SMTP id l3mr33045841lal.35.1438088031734; Tue, 28 Jul 2015 05:53:51 -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.7.198 with SMTP id l6csp2121848lba; Tue, 28 Jul 2015 05:53:50 -0700 (PDT) X-Received: by 10.66.248.9 with SMTP id yi9mr79888237pac.149.1438088029919; Tue, 28 Jul 2015 05:53:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xz3si52851303pab.181.2015.07.28.05.53.49; Tue, 28 Jul 2015 05:53:49 -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 S1755482AbbG1Mxr (ORCPT + 6 others); Tue, 28 Jul 2015 08:53:47 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:35942 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753204AbbG1Mxr (ORCPT ); Tue, 28 Jul 2015 08:53:47 -0400 Received: by wicgb10 with SMTP id gb10so155344090wic.1 for ; Tue, 28 Jul 2015 05:53:46 -0700 (PDT) X-Received: by 10.194.209.167 with SMTP id mn7mr62981424wjc.64.1438088026133; Tue, 28 Jul 2015 05:53:46 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-147-3-201.as13285.net. [78.147.3.201]) by smtp.gmail.com with ESMTPSA id bm9sm18934980wib.10.2015.07.28.05.53.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jul 2015 05:53:45 -0700 (PDT) From: Srinivas Kandagatla To: agross@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v1 1/7] ARM: dts: ifc6410: Add pwrseq support for WLAN Date: Tue, 28 Jul 2015 13:53:42 +0100 Message-Id: <1438088022-17350-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438087956-17307-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1438087956-17307-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.217.178 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 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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 88d6655..df560cf 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"; @@ -206,6 +207,28 @@ status = "okay"; }; + qcom,ssbi@500000 { + pmicintc: pmic@0 { + pm8921_gpio: gpio@150 { + pinctrl-names = "default"; + pinctrl-0 = <&wlan_default_gpios>; + wlan_default_gpios: wlan-gpios { + pios { + pins = "gpio43"; + function = "normal"; + bias-disable; + power-source = ; + }; + }; + }; + }; + }; + + sdcc4_pwrseq:pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; + }; + amba { /* eMMC */ sdcc1: sdcc@12400000 { @@ -227,6 +250,7 @@ status = "okay"; vmmc-supply = <&ext_3p3v>; vqmmc-supply = <&pm8921_lvs1>; + mmc-pwrseq = <&sdcc4_pwrseq>; }; }; };