Message ID | 20220926045735.719-1-quic_mpubbise@quicinc.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | [v2] arm64: dts: qcom: sc7280: Add nodes to support WoW on WCN6750 | expand |
On 26/09/2022 06:57, Manikanta Pubbisetty wrote: > Add DT nodes to support WoW (Wake on Wireless) feature on WCN6750 > WiFi hardware on SC7280 SoC. > > Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com> Thank you for your patch. There is something to discuss/improve. > --- > Changes from V1: > - Rebased on ToT > > arch/arm64/boot/dts/qcom/sc7280.dtsi | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 212580316d3e..3f6a3f575339 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -752,6 +752,17 @@ wpss_smp2p_in: slave-kernel { > interrupt-controller; > #interrupt-cells = <2>; > }; > + > + wlan_smp2p_out: wlan-ap-to-wpss { Does not look like you tested the DTS against bindings. Please run `make dtbs_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). > + qcom,entry-name = "wlan"; > + #qcom,smem-state-cells = <1>; > + }; > + > + wlan_smp2p_in: wlan-wpss-to-ap { > + qcom,entry-name = "wlan"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > }; > > pmu { > @@ -2004,6 +2015,8 @@ wifi: wifi@17a10040 { > qcom,rproc = <&remoteproc_wpss>; > memory-region = <&wlan_fw_mem>, <&wlan_ce_mem>; > status = "disabled"; status is the last. > + qcom,smem-states = <&wlan_smp2p_out 0>; > + qcom,smem-state-names = "wlan-smp2p-out"; Are these valid properties for this node? Did you check with bindings? Best regards, Krzysztof
On 26.09.2022 06:57, Manikanta Pubbisetty wrote: > Add DT nodes to support WoW (Wake on Wireless) feature on WCN6750 > WiFi hardware on SC7280 SoC. > > Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com> > --- > Changes from V1: > - Rebased on ToT > > arch/arm64/boot/dts/qcom/sc7280.dtsi | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 212580316d3e..3f6a3f575339 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -752,6 +752,17 @@ wpss_smp2p_in: slave-kernel { > interrupt-controller; > #interrupt-cells = <2>; > }; > + > + wlan_smp2p_out: wlan-ap-to-wpss { > + qcom,entry-name = "wlan"; > + #qcom,smem-state-cells = <1>; > + }; > + > + wlan_smp2p_in: wlan-wpss-to-ap { > + qcom,entry-name = "wlan"; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > }; > > pmu { > @@ -2004,6 +2015,8 @@ wifi: wifi@17a10040 { > qcom,rproc = <&remoteproc_wpss>; > memory-region = <&wlan_fw_mem>, <&wlan_ce_mem>; > status = "disabled"; > + qcom,smem-states = <&wlan_smp2p_out 0>; > + qcom,smem-state-names = "wlan-smp2p-out"; Keep status last, please. Other than that: Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Konrad > }; > > pcie1: pci@1c08000 { > > base-commit: aaa11ce2ffc84166d11c4d2ac88c3fcf75425fbd
On 9/26/2022 2:30 PM, Krzysztof Kozlowski wrote: > On 26/09/2022 06:57, Manikanta Pubbisetty wrote: >> Add DT nodes to support WoW (Wake on Wireless) feature on WCN6750 >> WiFi hardware on SC7280 SoC. >> >> Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com> > > Thank you for your patch. There is something to discuss/improve. > > >> --- >> Changes from V1: >> - Rebased on ToT >> >> arch/arm64/boot/dts/qcom/sc7280.dtsi | 13 +++++++++++++ >> 1 file changed, 13 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi >> index 212580316d3e..3f6a3f575339 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi >> @@ -752,6 +752,17 @@ wpss_smp2p_in: slave-kernel { >> interrupt-controller; >> #interrupt-cells = <2>; >> }; >> + >> + wlan_smp2p_out: wlan-ap-to-wpss { > > Does not look like you tested the DTS against bindings. Please run `make > dtbs_check` (see Documentation/devicetree/bindings/writing-schema.rst > for instructions). > I'm sorry I was not aware of checking the DTS against bindings. I'll do the due diligence going forward. `make dtbs_check is throwing error of "No rule to make target". Not sure if we need pass any options to the command. I did try to understand the problem but all went in vain. Pls help understand if I'm missing anything. >> + qcom,entry-name = "wlan"; >> + #qcom,smem-state-cells = <1>; >> + }; >> + >> + wlan_smp2p_in: wlan-wpss-to-ap { >> + qcom,entry-name = "wlan"; >> + interrupt-controller; >> + #interrupt-cells = <2>; >> + }; >> }; >> >> pmu { >> @@ -2004,6 +2015,8 @@ wifi: wifi@17a10040 { >> qcom,rproc = <&remoteproc_wpss>; >> memory-region = <&wlan_fw_mem>, <&wlan_ce_mem>; >> status = "disabled"; > > status is the last. Sure. > >> + qcom,smem-states = <&wlan_smp2p_out 0>; >> + qcom,smem-state-names = "wlan-smp2p-out"; > > Are these valid properties for this node? Did you check with bindings? > These are valid properties IIUC. Pls help check the binding here https://patchwork.kernel.org/project/linux-wireless/patch/20220902112520.24804-2-quic_mpubbise@quicinc.com/ . Thanks, Manikanta
On 9/27/2022 6:38 PM, Konrad Dybcio wrote: > > > On 26.09.2022 06:57, Manikanta Pubbisetty wrote: >> Add DT nodes to support WoW (Wake on Wireless) feature on WCN6750 >> WiFi hardware on SC7280 SoC. >> >> Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com> >> --- >> Changes from V1: >> - Rebased on ToT >> >> arch/arm64/boot/dts/qcom/sc7280.dtsi | 13 +++++++++++++ >> 1 file changed, 13 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi >> index 212580316d3e..3f6a3f575339 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi >> @@ -752,6 +752,17 @@ wpss_smp2p_in: slave-kernel { >> interrupt-controller; >> #interrupt-cells = <2>; >> }; >> + >> + wlan_smp2p_out: wlan-ap-to-wpss { >> + qcom,entry-name = "wlan"; >> + #qcom,smem-state-cells = <1>; >> + }; >> + >> + wlan_smp2p_in: wlan-wpss-to-ap { >> + qcom,entry-name = "wlan"; >> + interrupt-controller; >> + #interrupt-cells = <2>; >> + }; >> }; >> >> pmu { >> @@ -2004,6 +2015,8 @@ wifi: wifi@17a10040 { >> qcom,rproc = <&remoteproc_wpss>; >> memory-region = <&wlan_fw_mem>, <&wlan_ce_mem>; >> status = "disabled"; >> + qcom,smem-states = <&wlan_smp2p_out 0>; >> + qcom,smem-state-names = "wlan-smp2p-out"; > Keep status last, please. > Sure. > Other than that: > > Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> > Thanks for the review. Manikanta
On 28/09/2022 08:00, Manikanta Pubbisetty wrote: > On 9/26/2022 2:30 PM, Krzysztof Kozlowski wrote: >> On 26/09/2022 06:57, Manikanta Pubbisetty wrote: >>> Add DT nodes to support WoW (Wake on Wireless) feature on WCN6750 >>> WiFi hardware on SC7280 SoC. >>> >>> Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com> >> >> Thank you for your patch. There is something to discuss/improve. >> >> >>> --- >>> Changes from V1: >>> - Rebased on ToT >>> >>> arch/arm64/boot/dts/qcom/sc7280.dtsi | 13 +++++++++++++ >>> 1 file changed, 13 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi >>> index 212580316d3e..3f6a3f575339 100644 >>> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi >>> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi >>> @@ -752,6 +752,17 @@ wpss_smp2p_in: slave-kernel { >>> interrupt-controller; >>> #interrupt-cells = <2>; >>> }; >>> + >>> + wlan_smp2p_out: wlan-ap-to-wpss { >> >> Does not look like you tested the DTS against bindings. Please run `make >> dtbs_check` (see Documentation/devicetree/bindings/writing-schema.rst >> for instructions). >> > > I'm sorry I was not aware of checking the DTS against bindings. I'll do > the due diligence going forward. `make dtbs_check is throwing error of > "No rule to make target". Not sure if we need pass any options to the > command. I did try to understand the problem but all went in vain. Pls > help understand if I'm missing anything. There is doc explaining possible usage, but in general works perfect without argument. If you do not have such target, means you run it on some ancient kernel, so anyway patch cannot be accepted and has to be rebased. Please always develop on newest kernel - newest mainline rc, maintainer's for-next branch or linux-next. Best regards, Krzysztof
On 9/28/2022 12:17 PM, Krzysztof Kozlowski wrote: > On 28/09/2022 08:00, Manikanta Pubbisetty wrote: >> On 9/26/2022 2:30 PM, Krzysztof Kozlowski wrote: >>> On 26/09/2022 06:57, Manikanta Pubbisetty wrote: >>>> Add DT nodes to support WoW (Wake on Wireless) feature on WCN6750 >>>> WiFi hardware on SC7280 SoC. >>>> >>>> Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com> >>> >>> Thank you for your patch. There is something to discuss/improve. >>> >>> >>>> --- >>>> Changes from V1: >>>> - Rebased on ToT >>>> >>>> arch/arm64/boot/dts/qcom/sc7280.dtsi | 13 +++++++++++++ >>>> 1 file changed, 13 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>> index 212580316d3e..3f6a3f575339 100644 >>>> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>> @@ -752,6 +752,17 @@ wpss_smp2p_in: slave-kernel { >>>> interrupt-controller; >>>> #interrupt-cells = <2>; >>>> }; >>>> + >>>> + wlan_smp2p_out: wlan-ap-to-wpss { >>> >>> Does not look like you tested the DTS against bindings. Please run `make >>> dtbs_check` (see Documentation/devicetree/bindings/writing-schema.rst >>> for instructions). >>> >> >> I'm sorry I was not aware of checking the DTS against bindings. I'll do >> the due diligence going forward. `make dtbs_check is throwing error of >> "No rule to make target". Not sure if we need pass any options to the >> command. I did try to understand the problem but all went in vain. Pls >> help understand if I'm missing anything. > > There is doc explaining possible usage, but in general works perfect > without argument. If you do not have such target, means you run it on > some ancient kernel, so anyway patch cannot be accepted and has to be > rebased. Please always develop on newest kernel - newest mainline rc, > maintainer's for-next branch or linux-next. > I'm working on the latest kernel (ath.git which is maintained by Kalle Valo for Atheros drivers). I'll give a try on the linux-next branch once. Thanks for the suggestions. Manikanta
On 10/3/2022 10:25 AM, Manikanta Pubbisetty wrote: > On 9/28/2022 12:17 PM, Krzysztof Kozlowski wrote: >> On 28/09/2022 08:00, Manikanta Pubbisetty wrote: >>> On 9/26/2022 2:30 PM, Krzysztof Kozlowski wrote: >>>> On 26/09/2022 06:57, Manikanta Pubbisetty wrote: >>>>> Add DT nodes to support WoW (Wake on Wireless) feature on WCN6750 >>>>> WiFi hardware on SC7280 SoC. >>>>> >>>>> Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com> >>>> >>>> Thank you for your patch. There is something to discuss/improve. >>>> >>>> >>>>> --- >>>>> Changes from V1: >>>>> - Rebased on ToT >>>>> >>>>> arch/arm64/boot/dts/qcom/sc7280.dtsi | 13 +++++++++++++ >>>>> 1 file changed, 13 insertions(+) >>>>> >>>>> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>>> b/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>>> index 212580316d3e..3f6a3f575339 100644 >>>>> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>>> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>>> @@ -752,6 +752,17 @@ wpss_smp2p_in: slave-kernel { >>>>> interrupt-controller; >>>>> #interrupt-cells = <2>; >>>>> }; >>>>> + >>>>> + wlan_smp2p_out: wlan-ap-to-wpss { >>>> >>>> Does not look like you tested the DTS against bindings. Please run >>>> `make >>>> dtbs_check` (see Documentation/devicetree/bindings/writing-schema.rst >>>> for instructions). >>>> >>> >>> I'm sorry I was not aware of checking the DTS against bindings. I'll do >>> the due diligence going forward. `make dtbs_check is throwing error of >>> "No rule to make target". Not sure if we need pass any options to the >>> command. I did try to understand the problem but all went in vain. Pls >>> help understand if I'm missing anything. >> >> There is doc explaining possible usage, but in general works perfect >> without argument. If you do not have such target, means you run it on >> some ancient kernel, so anyway patch cannot be accepted and has to be >> rebased. Please always develop on newest kernel - newest mainline rc, >> maintainer's for-next branch or linux-next. >> > > I'm working on the latest kernel (ath.git which is maintained by Kalle > Valo for Atheros drivers). I'll give a try on the linux-next branch once. > > Thanks for the suggestions. > Hi Krzysztof, I have tested the DTS against the bindings. Have used this command `make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 dtbs_check -m DT_SCHEMA_FILES=Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml`. `make dtbs_check` did not report any error. Thanks, Manikanta
On 03/10/2022 09:59, Manikanta Pubbisetty wrote: > On 10/3/2022 10:25 AM, Manikanta Pubbisetty wrote: >> On 9/28/2022 12:17 PM, Krzysztof Kozlowski wrote: >>> On 28/09/2022 08:00, Manikanta Pubbisetty wrote: >>>> On 9/26/2022 2:30 PM, Krzysztof Kozlowski wrote: >>>>> On 26/09/2022 06:57, Manikanta Pubbisetty wrote: >>>>>> Add DT nodes to support WoW (Wake on Wireless) feature on WCN6750 >>>>>> WiFi hardware on SC7280 SoC. >>>>>> >>>>>> Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com> >>>>> >>>>> Thank you for your patch. There is something to discuss/improve. >>>>> >>>>> >>>>>> --- >>>>>> Changes from V1: >>>>>> - Rebased on ToT >>>>>> >>>>>> arch/arm64/boot/dts/qcom/sc7280.dtsi | 13 +++++++++++++ >>>>>> 1 file changed, 13 insertions(+) >>>>>> >>>>>> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>>>> b/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>>>> index 212580316d3e..3f6a3f575339 100644 >>>>>> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>>>> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>>>> @@ -752,6 +752,17 @@ wpss_smp2p_in: slave-kernel { >>>>>> interrupt-controller; >>>>>> #interrupt-cells = <2>; >>>>>> }; >>>>>> + >>>>>> + wlan_smp2p_out: wlan-ap-to-wpss { >>>>> >>>>> Does not look like you tested the DTS against bindings. Please run >>>>> `make >>>>> dtbs_check` (see Documentation/devicetree/bindings/writing-schema.rst >>>>> for instructions). >>>>> >>>> >>>> I'm sorry I was not aware of checking the DTS against bindings. I'll do >>>> the due diligence going forward. `make dtbs_check is throwing error of >>>> "No rule to make target". Not sure if we need pass any options to the >>>> command. I did try to understand the problem but all went in vain. Pls >>>> help understand if I'm missing anything. >>> >>> There is doc explaining possible usage, but in general works perfect >>> without argument. If you do not have such target, means you run it on >>> some ancient kernel, so anyway patch cannot be accepted and has to be >>> rebased. Please always develop on newest kernel - newest mainline rc, >>> maintainer's for-next branch or linux-next. >>> >> >> I'm working on the latest kernel (ath.git which is maintained by Kalle >> Valo for Atheros drivers). I'll give a try on the linux-next branch once. >> >> Thanks for the suggestions. >> > > Hi Krzysztof, > > I have tested the DTS against the bindings. Have used this command `make > CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 dtbs_check -m > DT_SCHEMA_FILES=Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml`. > > `make dtbs_check` did not report any error. You selected some schema to test, so yes, maybe it passes. It's not a proof of anything. Run with either applicable bindings (the one which I commented about) or with all of them. If you did it, you would see the check will fail. The bindings would report error. There is no need to engage reviewers if bindings find the errors for you, right? Nodes you added here are not allowed. Best regards, Krzysztof
On 10/3/2022 1:34 PM, Krzysztof Kozlowski wrote: > On 03/10/2022 09:59, Manikanta Pubbisetty wrote: >> On 10/3/2022 10:25 AM, Manikanta Pubbisetty wrote: >>> On 9/28/2022 12:17 PM, Krzysztof Kozlowski wrote: >>>> On 28/09/2022 08:00, Manikanta Pubbisetty wrote: >>>>> On 9/26/2022 2:30 PM, Krzysztof Kozlowski wrote: >>>>>> On 26/09/2022 06:57, Manikanta Pubbisetty wrote: >>>>>>> Add DT nodes to support WoW (Wake on Wireless) feature on WCN6750 >>>>>>> WiFi hardware on SC7280 SoC. >>>>>>> >>>>>>> Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com> >>>>>> >>>>>> Thank you for your patch. There is something to discuss/improve. >>>>>> >>>>>> >>>>>>> --- >>>>>>> Changes from V1: >>>>>>> - Rebased on ToT >>>>>>> >>>>>>> arch/arm64/boot/dts/qcom/sc7280.dtsi | 13 +++++++++++++ >>>>>>> 1 file changed, 13 insertions(+) >>>>>>> >>>>>>> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>>>>> b/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>>>>> index 212580316d3e..3f6a3f575339 100644 >>>>>>> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>>>>> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi >>>>>>> @@ -752,6 +752,17 @@ wpss_smp2p_in: slave-kernel { >>>>>>> interrupt-controller; >>>>>>> #interrupt-cells = <2>; >>>>>>> }; >>>>>>> + >>>>>>> + wlan_smp2p_out: wlan-ap-to-wpss { >>>>>> >>>>>> Does not look like you tested the DTS against bindings. Please run >>>>>> `make >>>>>> dtbs_check` (see Documentation/devicetree/bindings/writing-schema.rst >>>>>> for instructions). >>>>>> >>>>> >>>>> I'm sorry I was not aware of checking the DTS against bindings. I'll do >>>>> the due diligence going forward. `make dtbs_check is throwing error of >>>>> "No rule to make target". Not sure if we need pass any options to the >>>>> command. I did try to understand the problem but all went in vain. Pls >>>>> help understand if I'm missing anything. >>>> >>>> There is doc explaining possible usage, but in general works perfect >>>> without argument. If you do not have such target, means you run it on >>>> some ancient kernel, so anyway patch cannot be accepted and has to be >>>> rebased. Please always develop on newest kernel - newest mainline rc, >>>> maintainer's for-next branch or linux-next. >>>> >>> >>> I'm working on the latest kernel (ath.git which is maintained by Kalle >>> Valo for Atheros drivers). I'll give a try on the linux-next branch once. >>> >>> Thanks for the suggestions. >>> >> >> Hi Krzysztof, >> >> I have tested the DTS against the bindings. Have used this command `make >> CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 dtbs_check -m >> DT_SCHEMA_FILES=Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml`. >> >> `make dtbs_check` did not report any error. > > You selected some schema to test, so yes, maybe it passes. It's not a > proof of anything. Run with either applicable bindings (the one which I > commented about) or with all of them. > > If you did it, you would see the check will fail. The bindings would > report error. There is no need to engage reviewers if bindings find the > errors for you, right? > > Nodes you added here are not allowed. > Thanks for the inputs Krzysztof, I now see the following error "smp2p-wpss: 'wlan-ap-to-wpss', 'wlan-wpss-to-ap' do not match any of the regexes: '^master-kernel|slave-kernel|ipa-ap-to-modem|ipa-modem-to-ap$'" After making changes to the smp2p binding, I did not see this error. Following are the changes made. patternProperties: - "^master-kernel|slave-kernel|ipa-ap-to-modem|ipa-modem-to-ap$": + "^master-kernel|slave-kernel|ipa-ap-to-modem|ipa-modem-to-ap|wlan-ap-to-wpss|wlan-wpss-to-ap$": Shall I go ahead and make the smp2p binding change? Thanks, Manikanta
On 12/10/2022 02:22, Manikanta Pubbisetty wrote: >> If you did it, you would see the check will fail. The bindings would >> report error. There is no need to engage reviewers if bindings find the >> errors for you, right? >> >> Nodes you added here are not allowed. >> > > Thanks for the inputs Krzysztof, I now see the following error > "smp2p-wpss: 'wlan-ap-to-wpss', 'wlan-wpss-to-ap' do not match any of > the regexes: '^master-kernel|slave-kernel|ipa-ap-to-modem|ipa-modem-to-ap$'" > > After making changes to the smp2p binding, I did not see this error. > Following are the changes made. > > patternProperties: > - "^master-kernel|slave-kernel|ipa-ap-to-modem|ipa-modem-to-ap$": > + > "^master-kernel|slave-kernel|ipa-ap-to-modem|ipa-modem-to-ap|wlan-ap-to-wpss|wlan-wpss-to-ap$": > > Shall I go ahead and make the smp2p binding change? If it is correct change, then yes. Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 212580316d3e..3f6a3f575339 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -752,6 +752,17 @@ wpss_smp2p_in: slave-kernel { interrupt-controller; #interrupt-cells = <2>; }; + + wlan_smp2p_out: wlan-ap-to-wpss { + qcom,entry-name = "wlan"; + #qcom,smem-state-cells = <1>; + }; + + wlan_smp2p_in: wlan-wpss-to-ap { + qcom,entry-name = "wlan"; + interrupt-controller; + #interrupt-cells = <2>; + }; }; pmu { @@ -2004,6 +2015,8 @@ wifi: wifi@17a10040 { qcom,rproc = <&remoteproc_wpss>; memory-region = <&wlan_fw_mem>, <&wlan_ce_mem>; status = "disabled"; + qcom,smem-states = <&wlan_smp2p_out 0>; + qcom,smem-state-names = "wlan-smp2p-out"; }; pcie1: pci@1c08000 {
Add DT nodes to support WoW (Wake on Wireless) feature on WCN6750 WiFi hardware on SC7280 SoC. Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com> --- Changes from V1: - Rebased on ToT arch/arm64/boot/dts/qcom/sc7280.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) base-commit: aaa11ce2ffc84166d11c4d2ac88c3fcf75425fbd