From patchwork Mon Oct 1 11:26:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10621865 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 268AF112B for ; Mon, 1 Oct 2018 11:26:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 150E1293B8 for ; Mon, 1 Oct 2018 11:26:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 07B6C293C4; Mon, 1 Oct 2018 11:26:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92054293B8 for ; Mon, 1 Oct 2018 11:26:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729172AbeJASEH (ORCPT ); Mon, 1 Oct 2018 14:04:07 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41624 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729147AbeJASEH (ORCPT ); Mon, 1 Oct 2018 14:04:07 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 51F9C60C54; Mon, 1 Oct 2018 11:26:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538393207; bh=f+J1+Wq+OsubYjB9yIAHDq6uVEcTe8qZA73G9O1ZPlw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OPnzSkTPk+iTBTUezzaIzbXwXOfkkVWkKJCY1gEVA5SF9Wz6lUvgGkQg93THznH+2 3z2VH07q/iZWWeQ5vHxkD7uFhndYCcoJRgqAzWEejkQSuEvGwL2uztgUGc0SA4Jin8 +3cLt0uAaRp1LRno+Jsne7tHEJDCMbGNdbclOq14= Received: from govinds-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: govinds@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 396A460C1B; Mon, 1 Oct 2018 11:26:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538393206; bh=f+J1+Wq+OsubYjB9yIAHDq6uVEcTe8qZA73G9O1ZPlw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XuwNP3UBcNlWx+s/AhBY4Swh8BWDfIomr4N80cMKWYC0W5jCjmrI8p0LoJXQqgQ6X IO2Gfag1whuRGHPMZ3eV5W2eA97IfsBlKclK9Bq+EYTmpignFWcXZdWzMK8bUwVu0Y JfBZ0eB8E5lWI5DcriWpXOTZkyagowSt8EdFjN64= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 396A460C1B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=govinds@codeaurora.org From: Govind Singh To: robh+dt@kernel.org, devicetree@vger.kernel.org, andy.gross@linaro.org, briannorris@chromium.org Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, Govind Singh Subject: [PATCH v2 1/4] dt: bindings: add missing dt properties for WCN3990 wifi node Date: Mon, 1 Oct 2018 16:56:33 +0530 Message-Id: <20181001112636.31715-2-govinds@codeaurora.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181001112636.31715-1-govinds@codeaurora.org> References: <20181001112636.31715-1-govinds@codeaurora.org> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add missing optional properties in WCN3990 wifi node. Signed-off-by: Govind Singh --- .../bindings/net/wireless/qcom,ath10k.txt | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt index 7fd4e8ce4149..f831bb1c5952 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -37,12 +37,20 @@ Optional properties: - clocks: List of clock specifiers, must contain an entry for each required entry in clock-names. - clock-names: Should contain the clock names "wifi_wcss_cmd", "wifi_wcss_ref", - "wifi_wcss_rtc". -- interrupts: List of interrupt lines. Must contain an entry - for each entry in the interrupt-names property. + "wifi_wcss_rtc" for "qcom,ipq4019-wifi" compatible target and + "cxo_ref_clk_pin", "smmu_aggre2_noc_clk" for "qcom,wcn3990-wifi" + compatible target. +- interrupts: reference to the list of 17 interrupt no's for "qcom,ipq4019-wifi" + compatible target. + reference to the list of 12 interrupt no's for "qcom,wcn3990-wifi" + compatible target. + Must contain interrupt-names property per entry for + "qcom,ath10k", "qcom,ipq4019-wifi" compatible targets. + - interrupt-names: Must include the entries for MSI interrupt names ("msi0" to "msi15") and legacy interrupt - name ("legacy"), + name ("legacy") for "qcom,ath10k", "qcom,ipq4019-wifi" + compatible targets. - qcom,msi_addr: MSI interrupt address. - qcom,msi_base: Base value to add before writing MSI data into MSI address register. @@ -55,7 +63,8 @@ Optional properties: - qcom,ath10k-pre-calibration-data : pre calibration data as an array, the length can vary between hw versions. - -supply: handle to the regulator device tree node - optional "supply-name" is "vdd-0.8-cx-mx". + optional "supply-name" are "vdd-0.8-cx-mx", + "vdd-1.8-xo", "vdd-1.3-rfa" and "vdd-3.3-ch0". Example (to supply the calibration data alone): @@ -133,8 +142,10 @@ wifi@18000000 { compatible = "qcom,wcn3990-wifi"; reg = <0x18800000 0x800000>; reg-names = "membase"; - clocks = <&clock_gcc clk_aggre2_noc_clk>; - clock-names = "smmu_aggre2_noc_clk" + clocks = <&clock_gcc clk_aggre2_noc_clk>, + <&clock_gcc clk_rf_clk2_pin>; + clock-names = "smmu_aggre2_noc_clk", + "cxo_ref_clk_pin"; interrupts = <0 130 0 /* CE0 */ >, <0 131 0 /* CE1 */ >, @@ -149,4 +160,7 @@ wifi@18000000 { <0 140 0 /* CE10 */ >, <0 141 0 /* CE11 */ >; vdd-0.8-cx-mx-supply = <&pm8998_l5>; + vdd-1.8-xo-supply = <&vreg_l7a_1p8>; + vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; + vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; }; From patchwork Mon Oct 1 11:26:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10621867 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1864915A7 for ; Mon, 1 Oct 2018 11:26:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0826E293B8 for ; Mon, 1 Oct 2018 11:26:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0568293C4; Mon, 1 Oct 2018 11:26:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 962E4293B8 for ; Mon, 1 Oct 2018 11:26:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729188AbeJASEK (ORCPT ); Mon, 1 Oct 2018 14:04:10 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41736 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729147AbeJASEK (ORCPT ); Mon, 1 Oct 2018 14:04:10 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C228360588; Mon, 1 Oct 2018 11:26:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538393210; bh=dfJgJaidXisM+vYSiL7nytb8lu2DtetIoKylaGr/MgY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pGjp+xt13405bSSL7Jb8FwNNTnM0laW/1OgbwkhbvfSvgzBowQIT6puUhjmM33Dzg mhQx7NOVy2HcCHdculcL3Z16+g0HD8op49MBx5syulgbkANGUIKwfsmMi+ryD1WVHJ 9JGXGo/sUGlTBBmTNT12eYdOgmYZ5uDnC9DuM/Nw= Received: from govinds-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: govinds@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 4E42B6060A; Mon, 1 Oct 2018 11:26:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538393209; bh=dfJgJaidXisM+vYSiL7nytb8lu2DtetIoKylaGr/MgY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K9qNoTnyBD23EIL8HY6gfNesPX1oL4QWRr2PmQsr1JRJr8JQ0vKEsG3H97+ze7cRI YxPVifJGXIhOZX4Kwg3agBiyrbVivcMUVeALPH1TO6HOM4qncRRtcFEsRrlWLWSEAE AI1G5oWjkeZkoDBOykvS2/ri1DSivDTrAUh1E49g= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4E42B6060A Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=govinds@codeaurora.org From: Govind Singh To: robh+dt@kernel.org, devicetree@vger.kernel.org, andy.gross@linaro.org, briannorris@chromium.org Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, Govind Singh Subject: [PATCH v2 2/4] dts: arm64/sdm845: Add WCN3990 WLAN module device node Date: Mon, 1 Oct 2018 16:56:34 +0530 Message-Id: <20181001112636.31715-3-govinds@codeaurora.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181001112636.31715-1-govinds@codeaurora.org> References: <20181001112636.31715-1-govinds@codeaurora.org> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add device node for the ath10k SNOC platform driver probe and add resources required for WCN3990 on SDM845 soc. Signed-off-by: Govind Singh --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 7 +++++++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 26 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index eedfaf8922e2..4de57f7df93c 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -440,3 +440,10 @@ bias-pull-up; }; }; + +&wifi { + vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>; + vdd-1.8-xo-supply = <&vreg_l7a_1p8>; + vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; + vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; +}; diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index e080072cdfdb..36c716cf3a0c 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -86,6 +86,11 @@ reg = <0 0x86200000 0 0x2d00000>; no-map; }; + + wlan_msa_mem: reserved-memory@96700000 { + no-map; + reg = <0 0x96700000 0 0x100000>; + }; }; cpus { @@ -1200,5 +1205,26 @@ status = "disabled"; }; }; + + wifi: wifi@18800000 { + compatible = "qcom,wcn3990-wifi"; + status = "disabled"; + reg = <0x18800000 0x800000>; + reg-names = "membase"; + memory-region = <&wlan_msa_mem>; + interrupts = + <0 413 0 /* CE0 */ >, + <0 414 0 /* CE1 */ >, + <0 415 0 /* CE2 */ >, + <0 416 0 /* CE3 */ >, + <0 417 0 /* CE4 */ >, + <0 418 0 /* CE5 */ >, + <0 420 0 /* CE6 */ >, + <0 421 0 /* CE7 */ >, + <0 422 0 /* CE8 */ >, + <0 423 0 /* CE9 */ >, + <0 424 0 /* CE10 */ >, + <0 425 0 /* CE11 */ >; + }; }; }; From patchwork Mon Oct 1 11:26:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10621869 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4686C15A7 for ; Mon, 1 Oct 2018 11:26:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 357A2293B8 for ; Mon, 1 Oct 2018 11:26:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 29D2A293C4; Mon, 1 Oct 2018 11:26:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C902E293B8 for ; Mon, 1 Oct 2018 11:26:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729198AbeJASEM (ORCPT ); Mon, 1 Oct 2018 14:04:12 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41842 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729147AbeJASEM (ORCPT ); Mon, 1 Oct 2018 14:04:12 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id AEAD960C64; Mon, 1 Oct 2018 11:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538393213; bh=/i4uaP62q1S8q9xzztzDt9803Sa2OPclHO7vMMF21JY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=baRyYAnV5wYE74i2hiDYwmsz8LrnqohAuh58eao5wVUsEXo28P9hMxOvXtpXH6Zc9 xY1+8K55OgEXqckNSzoNod7y9M1BdVf1xIZYgV15yUZ98gvOp8QEz/LS08oMass7/e 6LN/27UGkxeOTyCXFbB2O5jJEM2gfRj56YC1/3ow= Received: from govinds-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: govinds@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 62DE960C61; Mon, 1 Oct 2018 11:26:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538393212; bh=/i4uaP62q1S8q9xzztzDt9803Sa2OPclHO7vMMF21JY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W5C3RiWuvpaRXWfXT/vl06s6K33Dd5G1yrGCTkFTkdTT/VBbrToTV5YIsEDxWemvY s7KUYdSMOExUE40bMCq2ekLVcCI4JFfwA523l3Fzf3InQnuOk3s0iTjbW+GnVSNL5b K3qLIRSHC4vO4g8tw5zk8n8AnPG9xt4sm1FiNhhU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 62DE960C61 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=govinds@codeaurora.org From: Govind Singh To: robh+dt@kernel.org, devicetree@vger.kernel.org, andy.gross@linaro.org, briannorris@chromium.org Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, Govind Singh Subject: [PATCH v2 3/4] dt: bindings: add bindings for wifi iommu node Date: Mon, 1 Oct 2018 16:56:35 +0530 Message-Id: <20181001112636.31715-4-govinds@codeaurora.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181001112636.31715-1-govinds@codeaurora.org> References: <20181001112636.31715-1-govinds@codeaurora.org> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP WCN3990 wifi module can optionally make use of the IOMMU. Add binding documentation for phandle to the IOMMU and the stream id of wifi iommu block. Signed-off-by: Govind Singh --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt index f831bb1c5952..2a2f44c461f7 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -65,6 +65,11 @@ Optional properties: - -supply: handle to the regulator device tree node optional "supply-name" are "vdd-0.8-cx-mx", "vdd-1.8-xo", "vdd-1.3-rfa" and "vdd-3.3-ch0". +- iommus: + Usage: optional + Value type: + Definition: A list of phandle and IOMMU specifier pairs + for "qcom,wcn3990-wifi" compatible target. Example (to supply the calibration data alone): @@ -163,4 +168,5 @@ wifi@18000000 { vdd-1.8-xo-supply = <&vreg_l7a_1p8>; vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; + iommus = <&apps_smmu 0x0040 0x1>; }; From patchwork Mon Oct 1 11:26:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10621873 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EC62415A7 for ; Mon, 1 Oct 2018 11:26:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC02F293B8 for ; Mon, 1 Oct 2018 11:26:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D059A293C4; Mon, 1 Oct 2018 11:26:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C922293B8 for ; Mon, 1 Oct 2018 11:26:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729211AbeJASER (ORCPT ); Mon, 1 Oct 2018 14:04:17 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41954 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729147AbeJASER (ORCPT ); Mon, 1 Oct 2018 14:04:17 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B96B960C1D; Mon, 1 Oct 2018 11:26:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538393218; bh=KhZIF3OEWxgnSNtRbp2Vp8evAqUZfrfcDXk5w2fQ/9w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eoHq/16CuF72yJ2dBUNIbFMt5gSCprBLtlax/IxJ69mSnGNQJgAXNpsvyISzKXT0p tK1xcryhU+CZn4dHINn8e5xQu/cXl/PMzLJiv2hi7BQNId4+lfxyOQjF3QjgTge+bh bAwnO/bXoe5QUcnaXogISIYQWIPrl3FcXGsKv0sg= Received: from govinds-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: govinds@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7758860C7D; Mon, 1 Oct 2018 11:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538393216; bh=KhZIF3OEWxgnSNtRbp2Vp8evAqUZfrfcDXk5w2fQ/9w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lj5edn3JYkKrAhPVOE3OdyY7dfhLrdBxAlQRwUIpzvhvax+D66SDQa3mbqe1OBCB+ hPpcCN/FCNcceH/jYNQs7nUkeyW9AXwWYYtU0c+pjykqgahDLMq9htw0YPpnCW1StQ PZJVzS+PEmpxjhd8ofYuqQ7zrF0R0UU0VAL4O5wc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7758860C7D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=govinds@codeaurora.org From: Govind Singh To: robh+dt@kernel.org, devicetree@vger.kernel.org, andy.gross@linaro.org, briannorris@chromium.org Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, Govind Singh Subject: [PATCH v2 4/4] dts: arm64/sdm845: Enable iommu for WCN3990 wifi module device node Date: Mon, 1 Oct 2018 16:56:36 +0530 Message-Id: <20181001112636.31715-5-govinds@codeaurora.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181001112636.31715-1-govinds@codeaurora.org> References: <20181001112636.31715-1-govinds@codeaurora.org> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP WCN3990 wifi module can optionally make use of the IOMMU. Add phandle to the iommu and stream id of wifi iommu block. Signed-off-by: Govind Singh --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 36c716cf3a0c..f02da46542cc 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1225,6 +1225,7 @@ <0 423 0 /* CE9 */ >, <0 424 0 /* CE10 */ >, <0 425 0 /* CE11 */ >; + iommus = <&apps_smmu 0x0040 0x1>; }; }; };