rtw88: 8723d: Add read_efuse to recognize efuse info from map
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 20 Apr 2020 05:50:54 +0000 (13:50 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Apr 2020 12:59:26 +0000 (15:59 +0300)
commitab0a031ecf2908c77833caebf0c86bab5e9f12b7
treeaf06441c4d727fadc15eb956851c9680573a32ff
parent44baa97ca820dbc81dfde076937d15bc725a3a54
rtw88: 8723d: Add read_efuse to recognize efuse info from map

The logical efuse map is decoded from physical map by parsing the
header format of the physical map. And each different type of chips
has different logical efuse layout. So add the logical map's layout
for parsing the efuse contents.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200420055054.14592-9-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8723d.c
drivers/net/wireless/realtek/rtw88/rtw8723d.h