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: 10621877 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 6E5E1112B for ; Mon, 1 Oct 2018 11:27:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B048293B8 for ; Mon, 1 Oct 2018 11:27:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4EAA7293C4; Mon, 1 Oct 2018 11:27:11 +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 DA084293B8 for ; Mon, 1 Oct 2018 11:27:10 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=B8Y0T66zSMDbDb0D57tukNytFX2RbsC7QUB4IgPYzMo=; b=kK19AFqNMEzLg9 lIPipPOuu+vxe6QTv1BneN+OPUVyil0IPCf13CEbCQa98XQ4hi71baDmMzBUde2/Fm1zZSXJPBa3/ qNygGUHiS6zZ7NARQQRuUg1IyYe7r16na1v02+Jaq/+Yk0IEUFQ+fXQNWhLQl/BQhpmmcX9wyK56w mZlZ2Ql1tWZR12n+n3187g7N83RqEvMaIhl9Ai44drZ26fEZpwl/Jlx8gScUIZDRkqMsHpx3CLn5k MdtXdxb3PGkdQ/OXSsEGLEVGCXSqdqPMKB73YNl0cmLkIz+4Qcoj+MLF/696anM87QZkLlkFFCQ76 GPFYjnjOTUzOBJn0tFBw==; 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 1g6wLx-0003zQ-OC; Mon, 01 Oct 2018 11:27:05 +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 1g6wLo-0003vq-4t for ath10k@lists.infradead.org; Mon, 01 Oct 2018 11:26:57 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0B79D60A98; 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181001_042656_262987_694BD0F6 X-CRM114-Status: GOOD ( 10.93 ) 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 , linux-wireless@vger.kernel.org, ath10k@lists.infradead.org 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 --- .../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>; };