From patchwork Tue Jul 28 12:53:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 51590 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id CA86820323 for ; Tue, 28 Jul 2015 12:54:04 +0000 (UTC) Received: by wilm20 with SMTP id m20sf38416736wil.2 for ; Tue, 28 Jul 2015 05:54:04 -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=r/rGT1qYfzpEnVR0OFSqIjsdCy9FJ3Q8DQ/YRrTlUEs=; b=PpmtuWA+M1pt/MLc1GDY127Om8gpSMixrqZ8hKXEtTGP4lBf/2J8ew0rbw9GxhNUfK zzcOta7MBMg+ZuDnVrY032JUBRoglvBHrxBHUPgKCKTUhZMmeFYp3KrgwyVZEedtWlEj WhZXSTiVAgjY6WWjgEaL1ZAbXUgxOmCgugw/jZjavc4nxC9huat+smNbcQkQH86c/mZj RKbqJ7dGdTsGZt0XXpl7uwE4he6BR4Z4IOgnX1B0NBRK/mKtSikGwmrj7TRGWeSUum/s IkGNtCE2O/WuSrzUwQjZvFFQy6iaI4W2P+GpbtiHwjb6twBFK/yHjjjkawCmhY8jy2vL gN+w== X-Gm-Message-State: ALoCoQlR8p6FceRK/YauFTiVhLhn3yoXU15MNoWGu8FXAlPxn6UUmAKjJKxuuYNjpQdMU+5FWQzm X-Received: by 10.112.160.39 with SMTP id xh7mr14154187lbb.22.1438088044107; Tue, 28 Jul 2015 05:54:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.194 with SMTP id v2ls865019lag.59.gmail; Tue, 28 Jul 2015 05:54:03 -0700 (PDT) X-Received: by 10.152.42.174 with SMTP id p14mr23034265lal.48.1438088043930; Tue, 28 Jul 2015 05:54:03 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id a7si18265588lab.49.2015.07.28.05.54.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2015 05:54:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbbzr7 with SMTP id zr7so73933767lbb.1 for ; Tue, 28 Jul 2015 05:54:03 -0700 (PDT) X-Received: by 10.112.166.2 with SMTP id zc2mr32433473lbb.29.1438088043844; Tue, 28 Jul 2015 05:54:03 -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 l6csp2121939lba; Tue, 28 Jul 2015 05:54:02 -0700 (PDT) X-Received: by 10.70.36.136 with SMTP id q8mr82542206pdj.23.1438088042024; Tue, 28 Jul 2015 05:54:02 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hl3si52900099pdb.148.2015.07.28.05.54.00; Tue, 28 Jul 2015 05:54:02 -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 S1755553AbbG1Mx7 (ORCPT + 28 others); Tue, 28 Jul 2015 08:53:59 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:32855 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755527AbbG1Mx4 (ORCPT ); Tue, 28 Jul 2015 08:53:56 -0400 Received: by wicmv11 with SMTP id mv11so178267677wic.0 for ; Tue, 28 Jul 2015 05:53:55 -0700 (PDT) X-Received: by 10.180.20.15 with SMTP id j15mr6592757wie.76.1438088035365; Tue, 28 Jul 2015 05:53:55 -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 eu2sm18919958wic.8.2015.07.28.05.53.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jul 2015 05:53:54 -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 2/7] ARM: dts: qs600: add pwrseq support to WLAN Date: Tue, 28 Jul 2015 13:53:50 +0100 Message-Id: <1438088030-17395-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-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.217.179 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: , Add pwrseq support to sdcc4 which would enable a proper reset of WLAN without ugly hacks in the board support file. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts index 34ccb26..3ca1b80 100644 --- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts +++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts @@ -1,4 +1,6 @@ #include "qcom-apq8064-v2.0.dtsi" +#include +#include / { model = "CompuLab CM-QS600"; @@ -155,6 +157,29 @@ regulator-always-on; }; + 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"; + /* WLAN reset */ + reset-gpios = <&pm8921_gpio 42 GPIO_ACTIVE_LOW>; + }; + amba { /* eMMC */ sdcc1: sdcc@12400000 { @@ -173,6 +198,7 @@ status = "okay"; vmmc-supply = <&v3p3_fixed>; vqmmc-supply = <&v3p3_fixed>; + mmc-pwrseq = <&sdcc4_pwrseq>; }; }; };