Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp542859imu; Mon, 5 Nov 2018 05:10:57 -0800 (PST) X-Google-Smtp-Source: AJdET5cpCIfkXWAkQARB5Ucoj3qyPbPXK6nKml4UYz0RXf0ek/KfrOy4IDY4Qf9LeuOYMItS/a6l X-Received: by 2002:a63:db02:: with SMTP id e2mr10466998pgg.419.1541423457699; Mon, 05 Nov 2018 05:10:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541423457; cv=none; d=google.com; s=arc-20160816; b=nzKAWL7uy9yArCT9E/8bPFVhjssMBOeZ9CaTGlFWvfQZ/JUK8ZDGpIcblL1MjN8C3H FmEg4VOGCXE2RAnyuPPz9nUcJIepnukbvmvWhojMzqeXNFOcAnJSBIIWySVBTvLUjjBK 8yWd9nhw3/dw8j3IbwV8IUqi2dEHrUVj11tGMlo4zEjuVY18sjlv3eWf3HMZN+pipbb/ VsPa61HouWsryuflNjVSLbu6QRg9wjAWKwUUxerNZ7VG+v9M8pyKDG7tx8nRaRCcQ8eo 07rK6Yn1TTgem4g9+vugIoyr7MHhSWW7+L+4evxSN7gEUMfcK7cN3Uri0fheD76+px2E 4/IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature; bh=jiOgHF3LZZ1zaQ/Ez5r/vf4p8jWW45gcbICB40Lyc40=; b=pV9LgXoe8cr1UWLPbSaxyg+WhjYKjewkIXrsDEWDwXrX8xONHSV6Q8o16kzRjYjUco eLNnHDSlo4RcWv1aRO4CjvkyGTleUr61VhRVWH4WCh9Q13fLWDuR8vQlZysHWQSOYuY7 e4n3tzHuJ6iWEYhNWP5SlgiteCynXNWz7MMhBdLtrmmw9emvJCrWh/dORTNll/8gLF6R DP/kFTN+oxta6jBQznnL+YkEXaxUMe3oXpNAxH/8Omt9HHvZ724QOq05iVlvkW6YiBdq vAulddRXANhflXzOpNJ1XPTJCUUz3vw7m51XayUIK9gI5xuWa8ZMRsb6lI7UsuJusRjI Xz4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=loDNsaRA; dkim=pass header.i=@codeaurora.org header.s=default header.b="Jp/tSRfd"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e68-v6si34291063plb.172.2018.11.05.05.10.36; Mon, 05 Nov 2018 05:10:57 -0800 (PST) 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=@codeaurora.org header.s=default header.b=loDNsaRA; dkim=pass header.i=@codeaurora.org header.s=default header.b="Jp/tSRfd"; 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 S1729884AbeKEW2d (ORCPT + 99 others); Mon, 5 Nov 2018 17:28:33 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:39626 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729228AbeKEW2d (ORCPT ); Mon, 5 Nov 2018 17:28:33 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3371061374; Mon, 5 Nov 2018 13:08:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1541423331; bh=v/yCb6KJRhz5JTPTuGjIacBs0I1J8aW3YqhhGZNAjeA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=loDNsaRAejyigYp9z3MGhX5Www/Gj2eK0kpqocz59ZRWluHp5I4XAbSce0CY1q3kG QbBMOTAwfgNzZzmDnYRHOjt/9w4irv//jdXEegFx8RBEOGh5y+53BYQxNYv6Dn43qJ GIclMsE31Vq8Jsyyo8Ly2IGCWesnjTrxI/+OKzJI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 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 9589A61317; Mon, 5 Nov 2018 13:08:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1541423330; bh=v/yCb6KJRhz5JTPTuGjIacBs0I1J8aW3YqhhGZNAjeA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jp/tSRfd0XzBejazKIca12xkrKzjG1flm3BknXcwukpBhj/cAwMXRqAwXpWgmxezT uyd1YWZoOgA4QOMxvC24sUu+fJnYPWiO+GHoK5MACVF/jrZ6GRhc/L4Luj9eZvElVu k9c1e5PCPHjeV3lfQ3X1dR5x1xb7MRnNG4lupu1U= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9589A61317 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: briannorris@chromium.org, andy.gross@linaro.org, ath10k@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-wireless@vger.kernel.org, robh+dt@kernel.org, sboyd@kernel.org, dianders@chromium.org, linux-kernel@vger.kernel.org Cc: Govind Singh Subject: [PATCH v4 1/3] dt: bindings: add missing dt properties for WCN3990 wifi node Date: Mon, 5 Nov 2018 18:38:36 +0530 Message-Id: <1541423318-19312-2-git-send-email-govinds@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1541423318-19312-1-git-send-email-govinds@codeaurora.org> References: <1541423318-19312-1-git-send-email-govinds@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add missing optional properties in WCN3990 wifi node. Signed-off-by: Govind Singh Reviewed-by: Rob Herring Reviewed-by: Brian Norris Tested-by: Brian Norris --- .../bindings/net/wireless/qcom,ath10k.txt | 57 +++++++++++++--------- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt index 7fd4e8c..55d255c 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -21,10 +21,22 @@ can be provided per device. SNOC based devices (i.e. wcn3990) uses compatible string "qcom,wcn3990-wifi". -Optional properties: - reg: Address and length of the register set for the device. - reg-names: Must include the list of following reg names, "membase" +- interrupts: reference to the list of 17 interrupt numbers for "qcom,ipq4019-wifi" + compatible target. + reference to the list of 12 interrupt numbers 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") for "qcom,ath10k", "qcom,ipq4019-wifi" + compatible targets. + +Optional properties: - resets: Must contain an entry for each entry in reset-names. See ../reset/reseti.txt for details. - reset-names: Must include the list of following reset names, @@ -37,12 +49,9 @@ 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. -- interrupt-names: Must include the entries for MSI interrupt - names ("msi0" to "msi15") and legacy interrupt - name ("legacy"), + "wifi_wcss_rtc" for "qcom,ipq4019-wifi" compatible target and + "cxo_ref_clk_pin" for "qcom,wcn3990-wifi" + compatible target. - qcom,msi_addr: MSI interrupt address. - qcom,msi_base: Base value to add before writing MSI data into MSI address register. @@ -55,7 +64,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,20 +143,23 @@ 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_rf_clk2_pin>; + clock-names = "cxo_ref_clk_pin"; interrupts = - <0 130 0 /* CE0 */ >, - <0 131 0 /* CE1 */ >, - <0 132 0 /* CE2 */ >, - <0 133 0 /* CE3 */ >, - <0 134 0 /* CE4 */ >, - <0 135 0 /* CE5 */ >, - <0 136 0 /* CE6 */ >, - <0 137 0 /* CE7 */ >, - <0 138 0 /* CE8 */ >, - <0 139 0 /* CE9 */ >, - <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>; }; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project