summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/realtek/rtw89/mac.h
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2023-05-12 08:12:18 +0200
committerKalle Valo <kvalo@kernel.org>2023-05-17 10:05:57 +0200
commit31df6df89f9394bc544a4ebad62584d56bff1677 (patch)
treeb6b99ed0dea8306c54388e9f72b360d92d207d86 /drivers/net/wireless/realtek/rtw89/mac.h
parentwifi: rtw89: 8851b: add BT coexistence support function (diff)
downloadlinux-31df6df89f9394bc544a4ebad62584d56bff1677.tar.xz
linux-31df6df89f9394bc544a4ebad62584d56bff1677.zip
wifi: rtw89: 8851b: add basic power on function
Add basic functions to power on chip and enable and access BB/RF, as well as reset and hardware settings of BB. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230512061220.16544-5-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw89/mac.h')
-rw-r--r--drivers/net/wireless/realtek/rtw89/mac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/mac.h b/drivers/net/wireless/realtek/rtw89/mac.h
index e340720bbb88..3f9bf9a7d6a0 100644
--- a/drivers/net/wireless/realtek/rtw89/mac.h
+++ b/drivers/net/wireless/realtek/rtw89/mac.h
@@ -1116,6 +1116,8 @@ enum rtw89_mac_xtal_si_offset {
XTAL_SI_PWR_CUT = 0x10,
#define XTAL_SI_SMALL_PWR_CUT BIT(0)
#define XTAL_SI_BIG_PWR_CUT BIT(1)
+ XTAL_SI_XTAL_DRV = 0x15,
+#define XTAL_SI_DRV_LATCH BIT(4)
XTAL_SI_XTAL_XMD_2 = 0x24,
#define XTAL_SI_LDO_LPS GENMASK(6, 4)
XTAL_SI_XTAL_XMD_4 = 0x26,