wifi: rtw89: 8852b: add chip_ops to read efuse
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 28 Sep 2022 08:43:34 +0000 (16:43 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 4 Oct 2022 07:17:38 +0000 (10:17 +0300)
commit132dc4fe5b587c0a62fc90d78e7413944fa06669
treed9ddb24ccfe576d53c4bb2a425056a2283c9083e
parent08484e1f6e6fd670c722756baea4833436ca8fb5
wifi: rtw89: 8852b: add chip_ops to read efuse

efuse stores individual data about a chip itself, such as MAC address,
country code, RF and crystal calibration data, and so on. Define a struct
to help access efuse content, and copy them into a common struct.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220928084336.34981-8-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8852b.c
drivers/net/wireless/realtek/rtw89/rtw8852b.h