qcacmn: Scratch register read api for qca5332

Add a new api to read tsf2 and tqm scratch register for qca5332.
The function to read these registers are different from that of qcn9224
since qca5332 is a AHB radio and reading register involves ioremap of
address range.

Change-Id: Ib05df2ddf528594ae67109f8bcb409424a4350a2
CRs-Fixed: 3331476
这个提交包含在:
Nandha Kishore Easwaran
2022-11-08 13:58:52 +05:30
提交者 Madan Koyyalamudi
父节点 45859216d6
当前提交 ae55a446c6
修改 5 个文件,包含 156 行新增90 行删除

查看文件

@@ -579,7 +579,7 @@ static void hal_get_tsf2_scratch_reg_qcn9224_v2(hal_soc_handle_t hal_soc_hdl,
uint32_t offset_lo, offset_hi;
enum hal_scratch_reg_enum enum_lo, enum_hi;
hal_get_tsf2_enum(mac_id, &enum_lo, &enum_hi);
hal_get_tsf_enum(DEFAULT_TSF_ID, mac_id, &enum_lo, &enum_hi);
offset_lo = hal_read_pmm_scratch_reg(soc,
PMM_REG_BASE_QCN9224_V2,