[PATCH v2] ath11k: add register read debugfs interface for WCN6855

Kalle Valo kvalo at kernel.org
Sat Apr 23 03:08:50 PDT 2022


Cheng Wang <quic_chengwan at quicinc.com> writes:

> Add debugfs interface reg_addr/reg_value and use these two interfaces
> to read register value.
> For example, execute the following commands to read WCN6855 HW register of
> “memtype=0xa offset=0x3a00d0”:
>
> $ echo 0xa 0x3a00d0>reg_addr
> $ cat reg_value
> 0x10200000
>
> Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1
>
> Signed-off-by: Cheng Wang <quic_chengwan at quicinc.com>
> ---
> v2: change per comments from Kalle
>     fixes new warnings.

I had already made changes in v1 so I'll use that instead:

https://patchwork.kernel.org/project/linux-wireless/patch/20220125063731.3049556-1-quic_chengwan@quicinc.com/

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the ath11k mailing list