Re: [PATCH v2] arm64: dts: qcom: sc7280: Add nodes to support WoW on WCN6750

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>

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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux