* Re: [PATCH v2 2/4] dts: arm64/sdm845: Add WCN3990 WLAN module device node [not found] ` <20181001112636.31715-3-govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> @ 2018-10-08 19:44 ` Brian Norris 0 siblings, 0 replies; 3+ messages in thread From: Brian Norris @ 2018-10-08 19:44 UTC (permalink / raw) To: Govind Singh Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA, andy.gross-QSEj5FYQhm4dnm+yROfE0A, ath10k-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-wireless-u79uwXL29TY76Z2rM5mHXA, linux-arm-msm-u79uwXL29TY76Z2rM5mHXA, linux-soc-u79uwXL29TY76Z2rM5mHXA + linux-msm, linux-soc Hi Govind, On Mon, Oct 01, 2018 at 04:56:34PM +0530, Govind Singh wrote: > Add device node for the ath10k SNOC platform driver probe > and add resources required for WCN3990 on SDM845 soc. > > Signed-off-by: Govind Singh <govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> > --- > arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 7 +++++++ > arch/arm64/boot/dts/qcom/sdm845.dtsi | 26 +++++++++++++++++++++++++ > 2 files changed, 33 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 { You missed overriding 'status': status = "okay"; Also, I think pinctrl overrides are purposely kept separate from other node modifications here (see the /* PINCTRL - ... */ comment header). So &wifi should probably be just after the &usb_2_qmpphy override I currently see in linux-next. Brian > + 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..36c716cf3a0c 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,26 @@ > status = "disabled"; > }; > }; > + > + wifi: wifi@18800000 { > + compatible = "qcom,wcn3990-wifi"; > + status = "disabled"; > + 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 */ >; > + }; > }; > }; > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project > ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20181001112636.31715-1-govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>]
* Re: [PATCH v2 0/4] Enable ath10k wcn3990 wifi driver support on sdm845 [not found] ` <20181001112636.31715-1-govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> @ 2018-10-08 19:45 ` Brian Norris 0 siblings, 0 replies; 3+ messages in thread From: Brian Norris @ 2018-10-08 19:45 UTC (permalink / raw) To: govinds-sgV2jX0FEOL9JmXXK+q4OQ Cc: Rob Herring, devicetree-u79uwXL29TY76Z2rM5mHXA, andy.gross-QSEj5FYQhm4dnm+yROfE0A, ath10k-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-wireless-u79uwXL29TY76Z2rM5mHXA, linux-arm-msm-u79uwXL29TY76Z2rM5mHXA, linux-soc-u79uwXL29TY76Z2rM5mHXA + linux-arm-msm, linux-soc The MSM list should definitely be included for updates to Qualcomm DTS files. Probably linux-soc too, if I'm reading MAINTAINERS correctly. Brian On Mon, Oct 1, 2018 at 4:26 AM Govind Singh <govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> wrote: > > This series enables ath10k wifi driver support for WCN3990 target > on sdm845 SOC. This series also updates the missing dt binding documentation > and adds optional iommu property. > > sdm845 dtsi changes in this series are based on top of > https://patchwork.kernel.org/cover/10573121/ change. > > Changes since v1: > Listed no of interrupts/clocks for each set of compatible. > Added missing 'wifi' label to sdm845.dtsi. > > Govind Singh (4): > dt: bindings: add missing dt properties for WCN3990 wifi node > dts: arm64/sdm845: Add WCN3990 WLAN module device node > dt: bindings: add bindings for wifi iommu node > dts: arm64/sdm845: Enable iommu for WCN3990 wifi module device node > > .../bindings/net/wireless/qcom,ath10k.txt | 34 +++++++++++++++---- > arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 7 ++++ > arch/arm64/boot/dts/qcom/sdm845.dtsi | 27 +++++++++++++++ > 3 files changed, 61 insertions(+), 7 deletions(-) > > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project > ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20181001112636.31715-5-govinds@codeaurora.org>]
[parent not found: <20181001112636.31715-5-govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>]
* Re: [PATCH v2 4/4] dts: arm64/sdm845: Enable iommu for WCN3990 wifi module device node [not found] ` <20181001112636.31715-5-govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> @ 2018-10-09 1:30 ` Brian Norris 0 siblings, 0 replies; 3+ messages in thread From: Brian Norris @ 2018-10-09 1:30 UTC (permalink / raw) To: Govind Singh Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA, andy.gross-QSEj5FYQhm4dnm+yROfE0A, ath10k-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-wireless-u79uwXL29TY76Z2rM5mHXA, linux-arm-msm-u79uwXL29TY76Z2rM5mHXA, linux-soc-u79uwXL29TY76Z2rM5mHXA, Doug Anderson + linux-msm, linux-soc On Mon, Oct 01, 2018 at 04:56:36PM +0530, Govind Singh wrote: > WCN3990 wifi module can optionally make use of the IOMMU. > Add phandle to the iommu and stream id of wifi iommu block. > > Signed-off-by: Govind Singh <govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index 36c716cf3a0c..f02da46542cc 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -1225,6 +1225,7 @@ > <0 423 0 /* CE9 */ >, > <0 424 0 /* CE10 */ >, > <0 425 0 /* CE11 */ >; > + iommus = <&apps_smmu 0x0040 0x1>; I don't see an apps_smmu label in any of the sdm845 files yet. I don't think this piece has landed in any -next tree yet. So your patch won't work. I think maybe you should just defer sending this particular patch upstream until the dependency is worked out. Brian > }; > }; > }; > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-10-09 1:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20181001112636.31715-1-govinds@codeaurora.org>
[not found] ` <20181001112636.31715-3-govinds@codeaurora.org>
[not found] ` <20181001112636.31715-3-govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-10-08 19:44 ` [PATCH v2 2/4] dts: arm64/sdm845: Add WCN3990 WLAN module device node Brian Norris
[not found] ` <20181001112636.31715-1-govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-10-08 19:45 ` [PATCH v2 0/4] Enable ath10k wcn3990 wifi driver support on sdm845 Brian Norris
[not found] ` <20181001112636.31715-5-govinds@codeaurora.org>
[not found] ` <20181001112636.31715-5-govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-10-09 1:30 ` [PATCH v2 4/4] dts: arm64/sdm845: Enable iommu for WCN3990 wifi module device node Brian Norris
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox