From patchwork Mon Nov 5 13:08:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10668251 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 3F97215E9 for ; Mon, 5 Nov 2018 13:09:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3059B2957F for ; Mon, 5 Nov 2018 13:09:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2404B297A1; Mon, 5 Nov 2018 13:09:14 +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=unavailable 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 C5C5B2957F for ; Mon, 5 Nov 2018 13:09:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729759AbeKEW2j (ORCPT ); Mon, 5 Nov 2018 17:28:39 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:40518 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729228AbeKEW2i (ORCPT ); Mon, 5 Nov 2018 17:28:38 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 414C461359; Mon, 5 Nov 2018 13:08:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1541423337; bh=1w9PcEo2AEM6ciEmzopxhnYhqKyAQIJsIXl0C7DxP1k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OlxG4vU6KB8Vkg+2F0hMmEMy4A1iRWteEEmAANbJKOk32H9NPl88x0ur0jF8O52hM BxpllL889NdzuT1U43ew4c2PfUkiDOmqiHpB9ocbcqugckT5TOlA+dZsy1wlFeFVXY i+CrEk3mtqIG7f/1NQUSgS+BSR0TgOEDYbyikAZQ= 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 9E23761343; Mon, 5 Nov 2018 13:08:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1541423334; bh=1w9PcEo2AEM6ciEmzopxhnYhqKyAQIJsIXl0C7DxP1k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QP07V2v94ou6eCW5upLN+D49faBdWlSwT5qF8lDAAvDxjjtp4WFDEmP8j9FOv9Uuz VkBblUYD4gvShJo7W9LatRYH10EeDsb7SSOOQl0B11iXHcuTH1hh1pF4SGgW02Miz2 NjreMDfj+6FtWxPLSZOgXt5/Xz2UZgT+JDV/7OzU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9E23761343 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 2/3] dts: arm64/sdm845: Add WCN3990 WLAN module device node Date: Mon, 5 Nov 2018 18:38:37 +0530 Message-Id: <1541423318-19312-3-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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 Reviewed-by: Brian Norris Tested-by: Brian Norris --- 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..c062c5c 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -440,3 +440,11 @@ bias-pull-up; }; }; + +&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>; +}; diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index b72bdb0..324be5b 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: memory@96700000 { + reg = <0 0x96700000 0 0x100000>; + no-map; + }; }; 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 = + , + , + , + , + , + , + , + , + , + , + , + ; + }; }; };