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: 6884431 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 89C10C05AC for ; Tue, 28 Jul 2015 12:56:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C400B2064F for ; Tue, 28 Jul 2015 12:56:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D73142064C for ; Tue, 28 Jul 2015 12:56:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZK4Ou-00043H-1y; Tue, 28 Jul 2015 12:54:32 +0000 Received: from mail-wi0-f177.google.com ([209.85.212.177]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZK4Of-0003kz-1W for linux-arm-kernel@lists.infradead.org; Tue, 28 Jul 2015 12:54:18 +0000 Received: by wicgb10 with SMTP id gb10so155350364wic.1 for ; Tue, 28 Jul 2015 05:53:55 -0700 (PDT) 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=335Kn2qSAFknuTRXNIyzlFoWi/b3trnng/WWETuzrnQ=; b=Jpw09sV2RmAEGIv/rwm8tzbWI5xWU4P/hN8RNt3f03U0la3mxZbSocsImC9ohAShyn AvUR4s35n5ZGn/wHYTHKfFsGKjWxbXxBvjGiRdq1+eorxhx2x7olBSX5XrPGGSl6PMaT f+BWVBw5sy+LOb5dxogIx02xiJQASUHbngMdIIRvpurfkLcWVszgViW/bODbMulix0m2 N/0q+OPVhHfnJJeSgjO5zZm/YDGf4s91mlBIq0LjW3O+p3lyGW5o4OP5frPhEO+OaEOo Ns07t0ClLBZANV+r0OPkyO88h5RWUg94nhZlsHEcRFe0cgwcypuuH8SvnH3fSmqnJhjY iVeg== X-Gm-Message-State: ALoCoQl0I+zhIKQUvvvNPfJCJd1P5lwsgZQOTtBd7UQbnKVVLkV0aMTDCmGw7r7Kne6ySnKdof5X 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150728_055417_444877_AC63FEDE X-CRM114-Status: GOOD ( 13.21 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, Rob Herring , Srinivas Kandagatla , Kumar Gala , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 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>; }; }; };