From patchwork Tue Mar 29 03:37:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 64557 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1777276lbc; Mon, 28 Mar 2016 20:38:22 -0700 (PDT) X-Received: by 10.66.140.39 with SMTP id rd7mr48088258pab.92.1459222702122; Mon, 28 Mar 2016 20:38:22 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z25si20008032pfa.170.2016.03.28.20.38.21; Mon, 28 Mar 2016 20:38:22 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755841AbcC2DiT (ORCPT + 29 others); Mon, 28 Mar 2016 23:38:19 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:36410 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755836AbcC2DhY (ORCPT ); Mon, 28 Mar 2016 23:37:24 -0400 Received: by mail-pa0-f49.google.com with SMTP id tt10so3458982pab.3 for ; Mon, 28 Mar 2016 20:37:23 -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=zZ5I6XqalTKbJw1hl2130mr9sQdENXSD40DZZk+uRng=; b=CKRxv3P7bAMkl4/6P76kayp7o0OOq19ZArnVvjW804KgvWDo4Rh5tdHzBGc+d4LPHb s4m94laOkOlEbcz3H0bP0MOIL+KezpWu7Fg8Em30IILTL4fuJyb4InkK+nuXnHKSoZbH vtz2BNNNGEKZ8M7G6kehjKoHceabpN/48/MK0= 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=zZ5I6XqalTKbJw1hl2130mr9sQdENXSD40DZZk+uRng=; b=IFiRL5AuhKNsQgnBWvXtHYP6a3DnFKdYdJkmJBwTOEXzrxUcJ+idEN4ieO9hT15iqd iapy8n463QUlqB8rmPlh5qWRYHqVtx1MDRx1NeRsdKxU37XeuqKfkkSCMik8JBB5w2B9 tLra4nZPXJASIlxkB40C0aSG0t/6kJLk4QzHUKt5wJIdZUiu6jR1l0241DaWZ59k04jk 0MofqowAqvpuqmSooPpa+65xNZVPrx5Y2ciBfnxuPXR3mhfpDPj056yG2UmpqjJ3CKRn aRyPyoNtrgMSMy6ZX0DyGXHZI0zpwXyS5OiVe7WxJzK+Dxx+fRwFMTM8IM2YYfy1kMjx uaBA== X-Gm-Message-State: AD7BkJJBYz8AswEizRCKinGezeHiXdgsjSi9jsYDqmtMEN4zCtreJxFjTrb9tojxnGHF36rJ X-Received: by 10.66.139.137 with SMTP id qy9mr48471460pab.57.1459222643229; Mon, 28 Mar 2016 20:37:23 -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.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Mar 2016 20:37:22 -0700 (PDT) From: Bjorn Andersson To: Andy Gross Cc: Rob Herring , John Stultz , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: [PATCH v2 9/9] ARM: dts: qcom: apq8064: Introduce wcnss remoteproc Date: Mon, 28 Mar 2016 20:37:05 -0700 Message-Id: <1459222625-11440-10-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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Bjorn Andersson --- Changes since v1: - Added dts patches .../arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts | 4 ++ arch/arm/boot/dts/qcom-apq8064.dtsi | 57 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) -- 2.5.0 diff --git a/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts b/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts index 06b3c76c3e41..276f529383e8 100644 --- a/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts +++ b/arch/arm/boot/dts/qcom-apq8064-sony-xperia-yuga.dts @@ -432,5 +432,9 @@ pinctrl-0 = <&sdcc3_pin_a>, <&sdcc3_cd_pin_a>; }; }; + + wcnss@3204000 { + status = "okay"; + }; }; }; diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index ad7bc3c2aad1..2c213ce80acc 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -20,6 +20,11 @@ reg = <0x80000000 0x200000>; no-map; }; + + wcnss_mem: wcnss@8f000000 { + reg = <0x8f000000 0x700000>; + no-map; + }; }; cpus { @@ -231,6 +236,26 @@ pinctrl-names = "default"; pinctrl-0 = <&ps_hold>; + + wcnss_pin_a: wcnss-pins-active { + fm { + pins = "gpio14", "gpio15"; + function = "riva_fm"; + }; + + bt { + pins = "gpio16", "gpio17"; + function = "riva_bt"; + }; + + wlan { + pins = "gpio64", "gpio65", "gpio66", "gpio67", "gpio68"; + function = "riva_wlan"; + + drive-strength = <6>; + bias-pull-down; + }; + }; }; sfpb_wrapper_mutex: syscon@1200000 { @@ -916,6 +941,38 @@ reset-names = "axi", "ahb", "por", "pci", "phy"; status = "disabled"; }; + + wcnss@3204000 { + compatible = "qcom,riva-pil"; + reg = <0x03204000 0x100>; + + interrupts-extended = <&intc 0 199 IRQ_TYPE_EDGE_RISING>, + <&wcnss_smsm 6 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal"; + + memory-region = <&wcnss_mem>; + + vddcx-supply = <&pm8921_s3>; + vddmx-supply = <&pm8921_lvs7>; + vddpx-supply = <&pm8921_s4>; + + pinctrl-names = "default"; + pinctrl-0 = <&wcnss_pin_a>; + + status = "disabled"; + + iris { + compatible = "qcom,wcn3660"; + + clocks = <&rpmcc 2>; + clock-names = "xo"; + + vddxo-supply = <&pm8921_l4>; + vddrfa-supply = <&pm8921_s2>; + vddpa-supply = <&pm8921_l10>; + vdddig-supply = <&pm8921_lvs2>; + }; + }; }; }; #include "qcom-apq8064-pins.dtsi"