[PATCH v2] mt76: mt7915: add debugfs knob for RF registers read/write

Felix Fietkau nbd at nbd.name
Fri Apr 15 01:26:58 PDT 2022


On 15.04.22 08:14, Shayne Chen wrote:
> Add RF registers read/write support for debugging RF issues, which
> should be processed by mcu commands.
> 
> Reviewed-by: Ryder Lee <ryder.lee at mediatek.com>
> Signed-off-by: Peter Chiu <chui-hao.chiu at mediatek.com>
> Signed-off-by: Shayne Chen <shayne.chen at mediatek.com>
What's the required width of rf_sel and rf_ofs? Would both fit together 
in a single u32? If so, you could just use the generic regidx debugfs 
file for both and simply add a rf_regval debugfs file.

- Felix



More information about the Linux-mediatek mailing list