From: Govind Singh <govinds@codeaurora.org>
To: Brian Norris <briannorris@chromium.org>
Cc: andy.gross@linaro.org, devicetree@vger.kernel.org,
robh+dt@kernel.org, linux-wireless@vger.kernel.org,
ath10k@lists.infradead.org
Subject: Re: [PATCH 2/4] dts: arm64/sdm845: Add WCN3990 WLAN module device node
Date: Tue, 25 Sep 2018 17:45:00 +0530 [thread overview]
Message-ID: <d1b1ed01aef5b2f9866b4bd654ae327a@codeaurora.org> (raw)
In-Reply-To: <20180924171147.GA87119@ban.mtv.corp.google.com>
Hi Brian,
On 2018-09-24 22:41, Brian Norris wrote:
> Hi,
>
> On Fri, Sep 21, 2018 at 02:39:05PM +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@codeaurora.org>
>> ---
>> 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 {
>
> As the bots have already told you, you missed adding a 'wifi' label to
> sdm845.dtsi, so this reference doesn't compile.
>
Yes, I will correct this in next revision.
>> + 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 {
>
> That's not a legit node name. Nodes should (a) have a generic name and
> (b) include a unit address when the node contains a 'reg' property. [1]
>
> So, how about 'wifi@18800000'? (And include the 'wifi:' label, since
> you
> want to refer to it in other files.)
>
I am fine with 'wifi@18800000'.
> Also, this seems like the kind of device that should remain 'status =
> "disabled"' in the top-level DTSI, and be overridden with 'status =
> "okay"' in the child DTS.
>
Sure, i will populate 'status = "disabled"' in next revision, which can
be enabled from child dtsi
as part of separate change.
> Brian
>
> [1] See:
> https://elinux.org/Device_Tree_Usage#Node_Names
> https://elinux.org/images/c/cf/Power_ePAPR_APPROVED_v1.1.pdf
>
>> + 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 */ >;
>> + };
>> };
>> };
>> --
>> 2.17.0
>>
Thanks,
Govind
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
WARNING: multiple messages have this Message-ID (diff)
From: Govind Singh <govinds@codeaurora.org>
To: Brian Norris <briannorris@chromium.org>
Cc: ath10k@lists.infradead.org, robh+dt@kernel.org,
andy.gross@linaro.org, devicetree@vger.kernel.org,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2/4] dts: arm64/sdm845: Add WCN3990 WLAN module device node
Date: Tue, 25 Sep 2018 17:45:00 +0530 [thread overview]
Message-ID: <d1b1ed01aef5b2f9866b4bd654ae327a@codeaurora.org> (raw)
In-Reply-To: <20180924171147.GA87119@ban.mtv.corp.google.com>
Hi Brian,
On 2018-09-24 22:41, Brian Norris wrote:
> Hi,
>
> On Fri, Sep 21, 2018 at 02:39:05PM +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@codeaurora.org>
>> ---
>> 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 {
>
> As the bots have already told you, you missed adding a 'wifi' label to
> sdm845.dtsi, so this reference doesn't compile.
>
Yes, I will correct this in next revision.
>> + 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 {
>
> That's not a legit node name. Nodes should (a) have a generic name and
> (b) include a unit address when the node contains a 'reg' property. [1]
>
> So, how about 'wifi@18800000'? (And include the 'wifi:' label, since
> you
> want to refer to it in other files.)
>
I am fine with 'wifi@18800000'.
> Also, this seems like the kind of device that should remain 'status =
> "disabled"' in the top-level DTSI, and be overridden with 'status =
> "okay"' in the child DTS.
>
Sure, i will populate 'status = "disabled"' in next revision, which can
be enabled from child dtsi
as part of separate change.
> Brian
>
> [1] See:
> https://elinux.org/Device_Tree_Usage#Node_Names
> https://elinux.org/images/c/cf/Power_ePAPR_APPROVED_v1.1.pdf
>
>> + 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 */ >;
>> + };
>> };
>> };
>> --
>> 2.17.0
>>
Thanks,
Govind
WARNING: multiple messages have this Message-ID (diff)
From: Govind Singh <govinds-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
To: Brian Norris <briannorris-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
Cc: ath10k-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
andy.gross-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 2/4] dts: arm64/sdm845: Add WCN3990 WLAN module device node
Date: Tue, 25 Sep 2018 17:45:00 +0530 [thread overview]
Message-ID: <d1b1ed01aef5b2f9866b4bd654ae327a@codeaurora.org> (raw)
In-Reply-To: <20180924171147.GA87119-1WoqFLEneaORBCj4nEdE8WJtCfot02Oa@public.gmane.org>
Hi Brian,
On 2018-09-24 22:41, Brian Norris wrote:
> Hi,
>
> On Fri, Sep 21, 2018 at 02:39:05PM +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 | 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 {
>
> As the bots have already told you, you missed adding a 'wifi' label to
> sdm845.dtsi, so this reference doesn't compile.
>
Yes, I will correct this in next revision.
>> + 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 {
>
> That's not a legit node name. Nodes should (a) have a generic name and
> (b) include a unit address when the node contains a 'reg' property. [1]
>
> So, how about 'wifi@18800000'? (And include the 'wifi:' label, since
> you
> want to refer to it in other files.)
>
I am fine with 'wifi@18800000'.
> Also, this seems like the kind of device that should remain 'status =
> "disabled"' in the top-level DTSI, and be overridden with 'status =
> "okay"' in the child DTS.
>
Sure, i will populate 'status = "disabled"' in next revision, which can
be enabled from child dtsi
as part of separate change.
> Brian
>
> [1] See:
> https://elinux.org/Device_Tree_Usage#Node_Names
> https://elinux.org/images/c/cf/Power_ePAPR_APPROVED_v1.1.pdf
>
>> + 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 */ >;
>> + };
>> };
>> };
>> --
>> 2.17.0
>>
Thanks,
Govind
next prev parent reply other threads:[~2018-09-25 12:15 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-21 9:09 [PATCH 0/4] Enable ath10k wcn3990 wifi driver support on sdm845 Govind Singh
2018-09-21 9:09 ` Govind Singh
2018-09-21 9:09 ` Govind Singh
2018-09-21 9:09 ` [PATCH 1/4] dt: bindings: add missing dt properties for WCN3990 wifi node Govind Singh
2018-09-21 9:09 ` Govind Singh
2018-09-21 9:09 ` Govind Singh
2018-09-24 22:51 ` Rob Herring
2018-09-24 22:51 ` Rob Herring
2018-09-25 12:08 ` Govind Singh
2018-09-25 12:08 ` Govind Singh
2018-09-25 12:08 ` Govind Singh
2018-09-21 9:09 ` [PATCH 2/4] dts: arm64/sdm845: Add WCN3990 WLAN module device node Govind Singh
2018-09-21 9:09 ` Govind Singh
2018-09-21 9:09 ` Govind Singh
2018-09-23 2:35 ` kbuild test robot
2018-09-23 2:35 ` kbuild test robot
2018-09-23 2:35 ` kbuild test robot
2018-09-23 6:04 ` kbuild test robot
2018-09-23 6:04 ` kbuild test robot
2018-09-23 6:04 ` kbuild test robot
2018-09-24 17:11 ` Brian Norris
2018-09-24 17:11 ` Brian Norris
2018-09-24 17:11 ` Brian Norris
2018-09-25 12:15 ` Govind Singh [this message]
2018-09-25 12:15 ` Govind Singh
2018-09-25 12:15 ` Govind Singh
2018-09-21 9:09 ` [PATCH 3/4] dt: bindings: add bindings for wifi iommu node Govind Singh
2018-09-21 9:09 ` Govind Singh
2018-09-21 9:09 ` Govind Singh
2018-09-24 22:53 ` Rob Herring
2018-09-24 22:53 ` Rob Herring
2018-09-25 12:09 ` Govind Singh
2018-09-25 12:09 ` Govind Singh
2018-09-25 12:09 ` Govind Singh
2018-09-21 9:09 ` [PATCH 4/4] dts: arm64/sdm845: Enable iommu for WCN3990 wifi module device node Govind Singh
2018-09-21 9:09 ` Govind Singh
2018-09-21 9:09 ` Govind Singh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d1b1ed01aef5b2f9866b4bd654ae327a@codeaurora.org \
--to=govinds@codeaurora.org \
--cc=andy.gross@linaro.org \
--cc=ath10k@lists.infradead.org \
--cc=briannorris@chromium.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.