From patchwork Fri Sep 21 09:09:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10609405 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 7CF1F14BD for ; Fri, 21 Sep 2018 09:09:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D5FD2D607 for ; Fri, 21 Sep 2018 09:09:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 614532D60E; Fri, 21 Sep 2018 09:09:32 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 007E02D607 for ; Fri, 21 Sep 2018 09:09:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389486AbeIUO5Z (ORCPT ); Fri, 21 Sep 2018 10:57:25 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50088 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725898AbeIUO5Z (ORCPT ); Fri, 21 Sep 2018 10:57:25 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 554FB612EE; Fri, 21 Sep 2018 09:09:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537520970; bh=eVe4i2d7E5NVDdKLMNDE5My/qPoYrFyZSxI9pnaq3ZM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UcHoWaqWLUtjVI229QW6H+pedflYle0goeeNnSCOfcg4QpE0ey/4a0gdnVfxUY9EJ bGsY0Azy5YmGVJXNVqJIhut/IXSyaha/zHW4elKBvfKNXLNK6mLf1/Za7sHXxbTqzp hUwYmUs55MhWCO/EauBU6rpRcs9IGwEkTlpmX70M= 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 1F626612EE; Fri, 21 Sep 2018 09:09:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537520969; bh=eVe4i2d7E5NVDdKLMNDE5My/qPoYrFyZSxI9pnaq3ZM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VMxjdCotQfBe6NFCBDp88eCiFzHNcVpx3jEkQ7LYK4WK6H8VSTGqJawSWmlWprOdP 30x1CrsreOLyXPACQtnRTIvmDwPufo2wtg9sFNm5a3fU1lfOZQknvs9bFDmxbSbCvE FbrBhrVjMVHJcKrHXQcQuxvL0wp/iuZgxqSmTqyk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1F626612EE 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: ath10k@lists.infradead.org, robh+dt@kernel.org, andy.gross@linaro.org, devicetree@vger.kernel.org Cc: linux-wireless@vger.kernel.org, briannorris@chromium.org, Govind Singh Subject: [PATCH 1/4] dt: bindings: add missing dt properties for WCN3990 wifi node Date: Fri, 21 Sep 2018 14:39:04 +0530 Message-Id: <20180921090907.25937-2-govinds@codeaurora.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180921090907.25937-1-govinds@codeaurora.org> References: <20180921090907.25937-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 | 22 +++++++++++++------ 1 file changed, 15 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..22dea7d83ee8 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -37,12 +37,14 @@ 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", "cxo_ref_clk_pin", "smmu_aggre2_noc_clk". +- interrupts: List of interrupt lines. 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 +57,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 +136,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 +154,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 Fri Sep 21 09:09:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10609407 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 526B514BD for ; Fri, 21 Sep 2018 09:09:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43A692D60A for ; Fri, 21 Sep 2018 09:09:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37C962D612; Fri, 21 Sep 2018 09:09:36 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 23B5E2D60A for ; Fri, 21 Sep 2018 09:09:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389493AbeIUO52 (ORCPT ); Fri, 21 Sep 2018 10:57:28 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50166 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725898AbeIUO52 (ORCPT ); Fri, 21 Sep 2018 10:57:28 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1FEE5612E2; Fri, 21 Sep 2018 09:09:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537520973; bh=Sk4eXqC4IiSdCIo0MOSSF0w+LsWY9MfDCzVkhTRQF0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dznK27FwNor2nzRf6HOeaq5s+1x3clLj0SRnoWVd65QyXmPcTiLmgHCgFiL13eAy7 DpNSH96I3RAjpVaQmO0HFq3TorG1zSz0G8gQMlpnJtIff0vPxnpMPIlT8Rdl2Kcc8e YODWHVPrEWq1DHDgnS9tesu51qVOe9ii/zbdVfv8= 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 23FE3612EF; Fri, 21 Sep 2018 09:09:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537520972; bh=Sk4eXqC4IiSdCIo0MOSSF0w+LsWY9MfDCzVkhTRQF0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OabU2it8/Bsv/xJaYnjpcgvEfQufsZdePgWKg3ng230m42AtLbkOY+P5GAcklUNgY fDVGTBvalJdecfMwF6PhYJ5MhzQtEx7l0yEA57ujHnB6tpOxet9D3uta9fOlT2odvM C/1Am6yBfZwFh2egn8Ri5N1ZLGSrTXgJrcJiCB94= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 23FE3612EF 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: ath10k@lists.infradead.org, robh+dt@kernel.org, andy.gross@linaro.org, devicetree@vger.kernel.org Cc: linux-wireless@vger.kernel.org, briannorris@chromium.org, Govind Singh Subject: [PATCH 2/4] dts: arm64/sdm845: Add WCN3990 WLAN module device node Date: Fri, 21 Sep 2018 14:39:05 +0530 Message-Id: <20180921090907.25937-3-govinds@codeaurora.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180921090907.25937-1-govinds@codeaurora.org> References: <20180921090907.25937-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 | 25 +++++++++++++++++++++++++ 2 files changed, 32 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..b0b107641e74 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,25 @@ status = "disabled"; }; }; + + qcom,wifi { + compatible = "qcom,wcn3990-wifi"; + 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 Fri Sep 21 09:09:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10609409 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 171C414BD for ; Fri, 21 Sep 2018 09:09:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 089312D607 for ; Fri, 21 Sep 2018 09:09:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0C8F2D60E; Fri, 21 Sep 2018 09:09:37 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 9F0412D607 for ; Fri, 21 Sep 2018 09:09:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389535AbeIUO5b (ORCPT ); Fri, 21 Sep 2018 10:57:31 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50302 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725898AbeIUO5b (ORCPT ); Fri, 21 Sep 2018 10:57:31 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 57ACB61317; Fri, 21 Sep 2018 09:09:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537520976; bh=I7E+Jcss6WTbfkkAv7hs+Jk5dJVRyJV8hQb4OQ5Gazs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g1KdsR4mTRoU9UOJyc9gDf8/0skvFB/luhMUWNcFPy5v0fdL/Ml2MGmGzHUsdRPgo pE/3/thqJb6gBW42lKWLUD+ZSt51yjj6Jwh/QJzoVRe2pVnCnET5FIemHSMYp+KspZ nwrUf1sVz8HwHGrzG6J4v52SurS17WefeUqpgt8s= 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 2BFC56130F; Fri, 21 Sep 2018 09:09:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537520975; bh=I7E+Jcss6WTbfkkAv7hs+Jk5dJVRyJV8hQb4OQ5Gazs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QilUdgFcETTBVb4WlNgGvGA4hLyg2HMGSU5663n6YFgi8u8oEwxsiLF9Xxrsscw0w N+CHpBvkDyBckz53iRJXfG3FfxNKo5EGcb8YG9ShS7S1vkSTm99uow469TrJuez+E5 362iV5ZPLcYo9n/uBjQaAmP3okHyCMB9f9JR2x70= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2BFC56130F 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: ath10k@lists.infradead.org, robh+dt@kernel.org, andy.gross@linaro.org, devicetree@vger.kernel.org Cc: linux-wireless@vger.kernel.org, briannorris@chromium.org, Govind Singh Subject: [PATCH 3/4] dt: bindings: add bindings for wifi iommu node Date: Fri, 21 Sep 2018 14:39:06 +0530 Message-Id: <20180921090907.25937-4-govinds@codeaurora.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180921090907.25937-1-govinds@codeaurora.org> References: <20180921090907.25937-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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt index 22dea7d83ee8..07e58008c665 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -59,6 +59,10 @@ 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. Example (to supply the calibration data alone): @@ -157,4 +161,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 Fri Sep 21 09:09:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10609411 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 59B2E14DA for ; Fri, 21 Sep 2018 09:09:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A4522D607 for ; Fri, 21 Sep 2018 09:09:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E4C12D60E; Fri, 21 Sep 2018 09:09:43 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 EB0C62D607 for ; Fri, 21 Sep 2018 09:09:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389536AbeIUO5g (ORCPT ); Fri, 21 Sep 2018 10:57:36 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50438 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725898AbeIUO5g (ORCPT ); Fri, 21 Sep 2018 10:57:36 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4035D61309; Fri, 21 Sep 2018 09:09:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537520981; bh=0ZWMm6g1Jqd36CM3MPBsM5ezOPT7OxHZ5QcAXUBbBoA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XfqakMnetIOUd+o0NbV/8VEvwuzdaSGEmBubfHYsuegDbX6O4p3E7iqWZMI15srnP aSr1CtD1RCLNJQ+VpAbR8hUaMhVYQiywSiLA7963T59OfN6qfQsSSyr03oB2f/QS9a 3kQ0spvQI+VTM6BkBIj5C2rjBAJrGWXANvbnbsgk= 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 36EDC6130F; Fri, 21 Sep 2018 09:09:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537520978; bh=0ZWMm6g1Jqd36CM3MPBsM5ezOPT7OxHZ5QcAXUBbBoA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nRfnTGjOoiATuJZP23hRKH6y+c7B+VivXpD5odSWH/fCEuphaOzur7m/AqtA9q7F/ Hr7Clk/bHa9G/bWmaCAotG4eRjn0Ya2c6c8MzcfY1L+WZA4Df10ACa5vZcKLqhQv+t UQR/P+ZZIUnACrSrPhgyJbrT9/5h4HIyrb1QZNXA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 36EDC6130F 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: ath10k@lists.infradead.org, robh+dt@kernel.org, andy.gross@linaro.org, devicetree@vger.kernel.org Cc: linux-wireless@vger.kernel.org, briannorris@chromium.org, Govind Singh Subject: [PATCH 4/4] dts: arm64/sdm845: Enable iommu for WCN3990 wifi module device node Date: Fri, 21 Sep 2018 14:39:07 +0530 Message-Id: <20180921090907.25937-5-govinds@codeaurora.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180921090907.25937-1-govinds@codeaurora.org> References: <20180921090907.25937-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 b0b107641e74..5f5848cb1699 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1224,6 +1224,7 @@ <0 423 0 /* CE9 */ >, <0 424 0 /* CE10 */ >, <0 425 0 /* CE11 */ >; + iommus = <&apps_smmu 0x0040 0x1>; }; }; };