From patchwork Wed Oct 10 11:52:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10634423 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 015C5112B for ; Wed, 10 Oct 2018 11:54:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9EAEF2018F for ; Wed, 10 Oct 2018 11:54:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92C1D20856; Wed, 10 Oct 2018 11:54:03 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3F3392018F for ; Wed, 10 Oct 2018 11:54:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=FVR6O18zqPdaklfUxl0Z/4zznlvghea7qqvt4/WKKk8=; b=uEtpAvIkUGylGU+TL/1ic92CLL patkNmcl3gw1hU2Ishc9xY0QGFzuOOjRg5FzbCDIMqXZIXul2A7wTTvTR9XcokaJgd/k8SJPu8GoY /nc4eDtMrLkAd1PDW8qT0dk+XA2Ytvf0O1cr2SYWL228xJn8OMaFew51LJv4jNDVHNzvLk1sNYG/6 zfRd0oblqDA81PVOfQHt5miRm+1OaZu6MWInCZTWLNJjY4tcxgJ9G0Hsm9L283bnEty+AokqDILct lqMFJLyYyJmNpiWORmjdLTC9+MeR8Tv5conRVCc8710pusxQ+FPMU1PUlhIapW3W7UHdMhbc0ilII kZVvEWXg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gAD3s-0000s9-Bm; Wed, 10 Oct 2018 11:53:56 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gAD3O-0000cZ-D1 for ath10k@lists.infradead.org; Wed, 10 Oct 2018 11:53:30 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E660060C5F; Wed, 10 Oct 2018 11:53:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539172397; bh=GD+z6ixks+DViOvtODI+xBI0pwT2Z6kHiAT5fNfuEyc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c6iAbJiihx3usknN+BrzsQl3dKDerD0SeygiBCWndqnhipLhjIWuTG9yHkc/o0tbS 1PR/66V8AHJQxrtcuJ4t/pYwnREfxGyxqKRilgU/znBFg1dyFfiIr/35yQDqQDZ3tA OI631y143IMtYsIz+ipDgDEiuH9dpV0WVxxg3pB0= Received: from svishnoi-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 A427F6021C; Wed, 10 Oct 2018 11:53:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539172397; bh=GD+z6ixks+DViOvtODI+xBI0pwT2Z6kHiAT5fNfuEyc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c6iAbJiihx3usknN+BrzsQl3dKDerD0SeygiBCWndqnhipLhjIWuTG9yHkc/o0tbS 1PR/66V8AHJQxrtcuJ4t/pYwnREfxGyxqKRilgU/znBFg1dyFfiIr/35yQDqQDZ3tA OI631y143IMtYsIz+ipDgDEiuH9dpV0WVxxg3pB0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A427F6021C 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: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, robh+dt@kernel.org, andy.gross@linaro.org, linux-soc@vger.kernel.org Subject: [PATCH v3 1/3] dt: bindings: add missing dt properties for WCN3990 wifi node Date: Wed, 10 Oct 2018 17:22:54 +0530 Message-Id: <1539172376-19269-2-git-send-email-govinds@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1539172376-19269-1-git-send-email-govinds@codeaurora.org> References: <1539172376-19269-1-git-send-email-govinds@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181010_045326_499876_F5005BE1 X-CRM114-Status: GOOD ( 11.15 ) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Govind Singh MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add missing optional properties in WCN3990 wifi node. Signed-off-by: Govind Singh Reviewed-by: Rob Herring --- .../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 7fd4e8c..f831bb1 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 Wed Oct 10 11:52:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10634421 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 B82E3112B for ; Wed, 10 Oct 2018 11:53:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37EA3289D4 for ; Wed, 10 Oct 2018 11:53:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 298B328BA9; Wed, 10 Oct 2018 11:53: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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A649B29E4B for ; Wed, 10 Oct 2018 11:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ZICVPBYwubpJbcdJ1Tlsff81Ib5E67QfgdqZKibXODY=; b=fityFsI+ReLdjTHihDkdkeviu0 +aUK+JGXMUW5dt4qG3lwKUZs239JStpc6F84XjNH309tUs1A/iQHojtCqirdxb1DT+r4FWBEgDXwI fJY93n155PIjCOj8sfxTvdYUc0Q7+bEMRo+V6Sz9OTj8qyteeVRWG5B5HMJ2TIxrz94j+YRHXfTyX 7FaO5PP08+fnT1vjyYbC3EIbikvcWc6MxKxhYWrKJHL4Ul0NAf8607oMvCAWV+2I8KD45LvHAGGCp neujDgv57v49zi9MyYWuZ9S+JXf/SeHrIneWuDybigRVgV0H72Qm881E4XGLlp3gMBSl8HTh7mHV0 xq9hJBGA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gAD3j-0000ml-37; Wed, 10 Oct 2018 11:53:47 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gAD3O-0000dK-El for ath10k@lists.infradead.org; Wed, 10 Oct 2018 11:53:30 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CF8AB60249; Wed, 10 Oct 2018 11:53:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539172401; bh=wimCY2ry6xib03vxTNfF/oh+yr7SbO1jXTMy1S95/CE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZKsIyFUDzbW0pmR8HPSsHsd+wTkxJHvMNmh4EMnohDHndeJCc2fYVxtanH2GI8hNQ 6v22+q0x1XyzmSnjUoZ3E4GzkCLNSBYAsOYPM7cuX+YN4WHstFwtrq+tUgTBhKDoZQ WrQ1WC+Xwr4JycB8RWQsATtxApsg8xDatr5GQBhI= Received: from svishnoi-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 283B460C7E; Wed, 10 Oct 2018 11:53:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539172401; bh=wimCY2ry6xib03vxTNfF/oh+yr7SbO1jXTMy1S95/CE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZKsIyFUDzbW0pmR8HPSsHsd+wTkxJHvMNmh4EMnohDHndeJCc2fYVxtanH2GI8hNQ 6v22+q0x1XyzmSnjUoZ3E4GzkCLNSBYAsOYPM7cuX+YN4WHstFwtrq+tUgTBhKDoZQ WrQ1WC+Xwr4JycB8RWQsATtxApsg8xDatr5GQBhI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 283B460C7E 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: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, robh+dt@kernel.org, andy.gross@linaro.org, linux-soc@vger.kernel.org Subject: [PATCH v3 2/3] dts: arm64/sdm845: Add WCN3990 WLAN module device node Date: Wed, 10 Oct 2018 17:22:55 +0530 Message-Id: <1539172376-19269-3-git-send-email-govinds@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1539172376-19269-1-git-send-email-govinds@codeaurora.org> References: <1539172376-19269-1-git-send-email-govinds@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181010_045326_627141_FC6DEFD6 X-CRM114-Status: GOOD ( 11.78 ) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Govind Singh MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.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 | 8 ++++++++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 26 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index eedfaf8..b89b8dd 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -417,6 +417,14 @@ vdda-pll-supply = <&vdda_usb2_ss_core>; }; +&wifi { + status = "okay"; + 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>; +}; + /* PINCTRL - additions to nodes defined in sdm845.dtsi */ &qup_i2c10_default { diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index b72bdb0..a09f7df 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -87,6 +87,11 @@ reg = <0 0x86200000 0 0x2d00000>; no-map; }; + + wlan_msa_mem: reserved-memory@96700000 { + no-map; + reg = <0 0x96700000 0 0x100000>; + }; }; cpus { @@ -1403,5 +1408,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 Wed Oct 10 11:52:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10634417 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 362E314BD for ; Wed, 10 Oct 2018 11:53:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E8E82875E for ; Wed, 10 Oct 2018 11:53:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0247F2847F; Wed, 10 Oct 2018 11:53:33 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C47B5285E2 for ; Wed, 10 Oct 2018 11:53:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Ji7R0pGTo0RJJernej33M4LGpbpgPPIvJdJ8aU2qokU=; b=oVhmJJlTRnZUkvrMfO499EJH0j gLMI49lipb0utT9XvZo5sdi+raSq4M0eLYf4mIMMfrGjpxgrS50gn60hJQKwvmjFRtz1fiNguoJS3 3Ok6OBDkupy3y8z2jgpoySTRxIthKp5XpQBP7EcAbcebbfrRQQy3h5tzW+FIKlhrxo4ltWMTYlWeb jeaobmFJe/I++vZpTrrWCJN9Ibnt7auo8sAIHhcpRwkVuFFQ0cWvhUxkiLmuTcFDgmEFMFOupZRQs MYpTbv3A130LWJmAk19lTHKQ3geDU5Vv4D76OiJyK8M1r8FaZ56hf4Sytsx7yStH6l614kQw4EYns zztXdZEw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gAD3S-0000el-3U; Wed, 10 Oct 2018 11:53:30 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gAD3O-0000dW-D2 for ath10k@lists.infradead.org; Wed, 10 Oct 2018 11:53:28 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 595CF60C86; Wed, 10 Oct 2018 11:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539172405; bh=vOq3vL1g8UKPpDFE5l8mDdYLUWyWDegaIqQXXdjGHeY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CaVnmw15WZHDXE/cekD5dE8myPsYUISuxZJfobbmQRABUe5kVZ3p/nS9tP7qlWMAi lDgr8r+9OdNN98U3iQNkuOBPccsT0+lJFlMwu6hO2OoFswU89gudf0qSFJwbYD2p/7 BHefOXBS+E6J7J2T5FNFB8Ln0J9xnPvQSIXraR4A= Received: from svishnoi-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 9EDA5601A8; Wed, 10 Oct 2018 11:53:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539172404; bh=vOq3vL1g8UKPpDFE5l8mDdYLUWyWDegaIqQXXdjGHeY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IgQNmAU00s1elQLlEQnDOJs+NmzyzwSRDaGgbX80BTh2LgdVbbKe3gckYl2Uh9v/7 5FqxlNWCG7qfNWo3detrLHdipGTdu5MfyJYXh63Rpo3wOFsx9dpewHltvnk5zU4pSw wxaOVm56rviqrNeJmcBduDwPFkcJ8qYncbYw2GeI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9EDA5601A8 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: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, robh+dt@kernel.org, andy.gross@linaro.org, linux-soc@vger.kernel.org Subject: [PATCH v3 3/3] dt: bindings: add bindings for wifi iommu node Date: Wed, 10 Oct 2018 17:22:56 +0530 Message-Id: <1539172376-19269-4-git-send-email-govinds@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1539172376-19269-1-git-send-email-govinds@codeaurora.org> References: <1539172376-19269-1-git-send-email-govinds@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181010_045326_486121_5CC66F63 X-CRM114-Status: GOOD ( 10.26 ) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Govind Singh MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.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 Reviewed-by: Rob Herring --- Documentation/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 f831bb1..3118d99 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -65,6 +65,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): @@ -163,4 +167,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>; };