rtw88: 8723d: Add LC calibration
authorPing-Ke Shih <pkshih@realtek.com>
Tue, 12 May 2020 10:26:13 +0000 (18:26 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 13 May 2020 15:48:41 +0000 (18:48 +0300)
commitf71eb7f603170bf8742c53c9fb72a64df04cb6e4
tree38ed3f4aca21c463de33fa8749aa1ef5e45495af
parentb2fe11f0777311a764e47e2f9437809b4673b7b1
rtw88: 8723d: Add LC calibration

LC calibration is done by hardware circuit. Driver sets the LCK bit to kick
start, and then poll the bit to check if it's done.

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/20200512102621.5148-2-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/main.h
drivers/net/wireless/realtek/rtw88/rtw8723d.c
drivers/net/wireless/realtek/rtw88/rtw8723d.h