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: 10609413 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 D07D114DA for ; Fri, 21 Sep 2018 09:09:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC8242D60A for ; Fri, 21 Sep 2018 09:09:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AFDA92D612; Fri, 21 Sep 2018 09:09:50 +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 479EF2D60A for ; Fri, 21 Sep 2018 09:09:50 +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=sTMdyBycKrj553s88CW6hIu3z8ou4OeRB69eEpMIxaM=; b=twu2A2wT6hNR5P AGn+GyxhM+KrlHSK8/6Sl8xHAareTvuCi+IZxXasBitS5wT4BSsiUDNGNDxGpEBuDLw+aFb0Gy2dx Z1HY/LBjhJNqnYzW5s5JeeMJ0M9N4huPRcprumKKSfacDgaXpsWxBS01cpwUAmk55yyKGF/1eETUE IUOX6Bk1JfNHUSvFYK15ikZarqQF3frHVOoui5NnHcSpj1ZmC3Ie27qidwwehc+NE9Y+/ftMl9Dq6 n/ZJcgqYI7C3LWrDwJF99igq1qHwpWfbsICwEontRbSqqRoBhXwKeq+9dkZnsCLsoS1zFXiNvVm23 FfwFfkPBPfCCXksNHC4w==; 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 1g3HRW-0003pi-GP; Fri, 21 Sep 2018 09:09:42 +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 1g3HRS-0003nh-0n for ath10k@lists.infradead.org; Fri, 21 Sep 2018 09:09:39 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2EFF661308; Fri, 21 Sep 2018 09:09:33 +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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180921_020938_137740_2AF11782 X-CRM114-Status: GOOD ( 10.06 ) 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 , briannorris@chromium.org, linux-wireless@vger.kernel.org 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 | 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 */ >; + }; }; };