From patchwork Tue Mar 29 03:37:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 8682011 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 38AB69F54E for ; Tue, 29 Mar 2016 03:40:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F3F492020F for ; Tue, 29 Mar 2016 03:40:00 +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 17F0720121 for ; Tue, 29 Mar 2016 03:40:00 +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 1akkTs-0003Ez-QP; Tue, 29 Mar 2016 03:38:12 +0000 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1akkTJ-00032d-M5 for linux-arm-kernel@lists.infradead.org; Tue, 29 Mar 2016 03:37:39 +0000 Received: by mail-pf0-x22c.google.com with SMTP id n5so3718353pfn.2 for ; Mon, 28 Mar 2016 20:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=50nqR71cjaX4gqi9QfiTJdi2LTsgFWhQrqhX7arvNKA=; b=UIAKCIAx3qA5VNXOLPPkaPaBYssM/gNvRM4lii8BxFOvWJRLmBhkwwoyp6K6+Ddub3 06ikkj7if4Nq1nX3naj/3QM7fFnIifnqFUSWeKs0r25Fvr09Mvgb/H4WL9JVnFKYT3bg MkbC39uScS3lvz5YVqKg9lEJzZpU0xSdvW7tw= 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=50nqR71cjaX4gqi9QfiTJdi2LTsgFWhQrqhX7arvNKA=; b=YzHQLET5lZN52KR2KMduMpTWU8eRGs2NyNcCImrEvzITJ73ZB/t26tTCbUBQ4Qesp/ 1WxpTy/Adug3G6im2KyvZ5emSMWHcEWkK/7rzklf4ya40kXd17iz19dyKaPyRL8ZN+63 PR9snWfrxTEQu/+x+V3IpiU8DEBx88SAitdfoPr2CAp7piTpU+2xinumXd3T/2TdnW9U Tx/IoSyWQYFqWUsOCSCVuAFBXL4jnbFLcrHLohGHzC3mCVLTFd2o6VTAaLySzsKeo+5Y GafeX4FZwkTnFEi82Y08ue/5m9xJKEfuQ/cJ77Z9NqOii+hrTTCwSelvU+rzz2oGcAdD vAww== X-Gm-Message-State: AD7BkJLuKXijP33JJNhKImoZIgE7Cx/mzaJ6qlIZe3oZU5nOItCfvUg999r0OAjmxBHe8HSy X-Received: by 10.98.7.135 with SMTP id 7mr47856236pfh.124.1459222637006; Mon, 28 Mar 2016 20:37:17 -0700 (PDT) Received: from localhost.localdomain (ip68-111-223-48.sd.sd.cox.net. [68.111.223.48]) by smtp.gmail.com with ESMTPSA id 85sm38851600pfl.18.2016.03.28.20.37.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Mar 2016 20:37:16 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Rob Herring Subject: [PATCH v2 5/9] ARM: dts: qcom: msm8974: Introduce the wcnss remoteproc node Date: Mon, 28 Mar 2016 20:37:01 -0700 Message-Id: <1459222625-11440-6-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1459222625-11440-1-git-send-email-bjorn.andersson@linaro.org> References: <1459222625-11440-1-git-send-email-bjorn.andersson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160328_203737_887854_CF4B51F2 X-CRM114-Status: GOOD ( 12.63 ) X-Spam-Score: -2.7 (--) 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: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, John Stultz , Bjorn Andersson , linux-soc@vger.kernel.org, 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 From: Bjorn Andersson Signed-off-by: Bjorn Andersson Signed-off-by: Bjorn Andersson --- Changes since v1: - Added dts patches .../boot/dts/qcom-msm8974-sony-xperia-honami.dts | 32 +++++++++++++++++++ arch/arm/boot/dts/qcom-msm8974.dtsi | 36 +++++++++++++++++++++- 2 files changed, 67 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts index a0398b69f4f2..74faa291d213 100644 --- a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts +++ b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts @@ -311,6 +311,13 @@ pinctrl-0 = <&blsp1_uart2_pin_a>; }; + wcnss-rproc@fb21b000 { + status = "ok"; + + pinctrl-names = "default"; + pinctrl-0 = <&wcnss_pin_a>; + }; + pinctrl@fd510000 { blsp1_uart2_pin_a: blsp1-uart2-pin-active { rx { @@ -366,6 +373,31 @@ }; }; + wcnss_pin_a: wcnss-pin-active { + wlan { + pins = "gpio36", "gpio37", "gpio38", "gpio39", "gpio40"; + function = "wlan"; + + drive-strength = <6>; + bias-pull-down; + }; + + bt { + pins = "gpio35", "gpio43", "gpio44"; + function = "bt"; + + drive-strength = <2>; + bias-pull-down; + }; + + fm { + pins = "gpio41", "gpio42"; + function = "fm"; + + drive-strength = <2>; + bias-pull-down; + }; + }; }; }; diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index ef5330578431..5c0d1a46baeb 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -2,6 +2,7 @@ #include #include +#include #include "skeleton.dtsi" / { @@ -24,7 +25,7 @@ no-map; }; - reserved@0d200000 { + wcnss_region: wcnss@0d200000 { reg = <0x0d200000 0xa00000>; no-map; }; @@ -430,6 +431,39 @@ clock-names = "core"; }; + wcnss-rproc@fb21b000 { + compatible = "qcom,pronto-v2-pil"; + reg = <0xfb21b000 0x3000>; + + memory-region = <&wcnss_region>; + + interrupts-extended = <&intc 0 149 IRQ_TYPE_EDGE_RISING>, + <&wcnss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&wcnss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&wcnss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&wcnss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack"; + + vddpx-supply = <&pm8941_s3>; + + qcom,state = <&wcnss_smp2p_out 0>; + qcom,state-names = "stop"; + + status = "disabled"; + + iris { + compatible = "qcom,wcn3680"; + + clocks = <&rpmcc RPM_CXO_A2>; + clock-names = "xo"; + + vddxo-supply = <&pm8941_l6>; + vddrfa-supply = <&pm8941_l11>; + vddpa-supply = <&pm8941_l19>; + vdddig-supply = <&pm8941_s3>; + }; + }; + msmgpio: pinctrl@fd510000 { compatible = "qcom,msm8974-pinctrl"; reg = <0xfd510000 0x4000>;