From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B7EDC43331 for ; Fri, 27 Mar 2020 23:00:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D1CF32073B for ; Fri, 27 Mar 2020 23:00:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mb55dYBP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727639AbgC0XAa (ORCPT ); Fri, 27 Mar 2020 19:00:30 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:40413 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726781AbgC0XAa (ORCPT ); Fri, 27 Mar 2020 19:00:30 -0400 Received: by mail-pf1-f195.google.com with SMTP id c20so2664623pfi.7 for ; Fri, 27 Mar 2020 16:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=JqIenWZwZuZZwflrKOCXfVDSGSS9yHIiXPKhRDM0rfQ=; b=mb55dYBPoAEXndrnw3TFFXmQdpaONNEY0CTwf+ofOSZLOYI3t8q0fJSTRQvNHhrFPF VFal9j5aj/Kdk1/7t20ftZGZTGKK/RH9u5mAVruZGe3lwx+LK+unHW5qyNUkL31YMwuR 3Pvz+SOf8BOMkjM5+JGE1CtZHVNUwroi01M/5qLddUPeyiKWNWp/DI2Dj1jdLLYisRqm Far7EiRWmErWyTiiPJchgvc+qJoxX+RMwYQ4q9XXpozlloKysBoK7S/Preg9Bbr4/Q+z uNK8Lc+EojNptOWgffWP8RxWA0SXCH27LBT50EUN6pCMyWC5RNAF+Mo8j55bm3Uc8sMz 3IEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=JqIenWZwZuZZwflrKOCXfVDSGSS9yHIiXPKhRDM0rfQ=; b=K+MA55Uf65aHJkgKXJ8VarK1K/3P7yOKmyDSow8fyNVft5vY0yYeMzHvCTBgHXZBB6 T/4PCnaGna9PtLJ9hYRHyxsQX+YiM0wzNJ6VfbFZBEmv0WARXJncM+yvytlOn9PkYf0x EKm02WQd5CW4h3TfBaAPX47M9DWWK8eGG9WOizs8nGujS61yiTIRmC1DAiXBOyFDd3Ry qkZsYExfQOcKLrUFxs+SO4xqsdsxt3p6epvUuCSLcHdxMqo6l+NjkEcduNvIIc58vFVf yy+YiynDHMRffiDROCHAs1roKSZHqJ48b02aSBMQLGezF4zEwm/O+vfHf08fG8xLRrxy MRyA== X-Gm-Message-State: ANhLgQ03/Dd8qi1ySvn675py6Uk16uKj9JOn7DDjHsKf9NLn8SUR64Ki L1flAgzT5Mz0vKl8dU1D9qq7gA== X-Google-Smtp-Source: ADFU+vsHwqLL5TtFqgU4KcqOiYr0XygvoaMkIOSpnKmIG6QUfqJWOKbXb+1ATrf6wNyFpl4jFtlJ2w== X-Received: by 2002:a62:a512:: with SMTP id v18mr1478997pfm.306.1585350028760; Fri, 27 Mar 2020 16:00:28 -0700 (PDT) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id b25sm4862093pfp.201.2020.03.27.16.00.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 16:00:27 -0700 (PDT) Date: Fri, 27 Mar 2020 16:00:25 -0700 From: Bjorn Andersson To: Rakesh Pillai Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v7] arm64: dts: qcom: sc7180: Add WCN3990 WLAN module device node Message-ID: <20200327230025.GJ5063@builder> References: <1585219723-28323-1-git-send-email-pillair@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1585219723-28323-1-git-send-email-pillair@codeaurora.org> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Thu 26 Mar 03:48 PDT 2020, Rakesh Pillai wrote: > Add device node for the ath10k SNOC platform driver probe > and add resources required for WCN3990 on sc7180 soc. > > Signed-off-by: Rakesh Pillai > --- > > Depends on https://patchwork.kernel.org/patch/11455345/ > The above patch adds the dt-bindings for wifi-firmware > subnode > --- > arch/arm64/boot/dts/qcom/sc7180-idp.dts | 8 ++++++++ > arch/arm64/boot/dts/qcom/sc7180.dtsi | 27 +++++++++++++++++++++++++++ > 2 files changed, 35 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts b/arch/arm64/boot/dts/qcom/sc7180-idp.dts > index 043c9b9..a6168a4 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts > +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts > @@ -327,6 +327,14 @@ > }; > }; > > +&wifi { > + status = "okay"; > + qcom,msa-fixed-perm; > + wifi-firmware { > + iommus = <&apps_smmu 0xc2 0x1>; How is sc7180 different from sdm845, where the iommus property goes directly in the &wifi node? Regards, Bjorn > + }; > +}; > + > /* PINCTRL - additions to nodes defined in sc7180.dtsi */ > > &qspi_clk { > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi > index 998f101..2745128 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > @@ -83,6 +83,11 @@ > reg = <0 0x8f600000 0 0x500000>; > no-map; > }; > + > + wlan_fw_mem: memory@94104000 { > + reg = <0 0x94104000 0 0x200000>; > + no-map; > + }; > }; > > cpus { > @@ -835,6 +840,28 @@ > }; > }; > > + wifi: wifi@18800000 { > + compatible = "qcom,wcn3990-wifi"; > + reg = <0 0x18800000 0 0x800000>; > + reg-names = "membase"; > + iommus = <&apps_smmu 0xc0 0x1>; > + interrupts = > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + memory-region = <&wlan_fw_mem>; > + status = "disabled"; > + }; > + > config_noc: interconnect@1500000 { > compatible = "qcom,sc7180-config-noc"; > reg = <0 0x01500000 0 0x28000>; > -- > 2.7.4