Cheng Wang <quic_chengwan@xxxxxxxxxxx> 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@xxxxxxxxxxx> This had new warnings, fixed in the pending branch: drivers/net/wireless/ath/ath11k/debugfs.c:1207: line length of 96 exceeds 90 columns drivers/net/wireless/ath/ath11k/debugfs.c:1253: line length of 94 exceeds 90 columns drivers/net/wireless/ath/ath11k/debugfs.c:1318: line length of 91 exceeds 90 columns drivers/net/wireless/ath/ath11k/qmi.c:1673: line length of 94 exceeds 90 columns -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches