]> www.infradead.org Git - linux.git/commitdiff
wifi: rtw89: 8852a: adjust ANA clock to 12M
authorChin-Yen Lee <timlee@realtek.com>
Fri, 9 Aug 2024 07:20:11 +0000 (15:20 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 16 Aug 2024 11:27:38 +0000 (19:27 +0800)
To reduce the I/O time from power save mode for 8852a,
adjust ANA clock from 500k to 12M.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240809072012.84152-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8852a.c

index b073e041a16bf7b3c75c014b24030d61935fc1e7..1cbea8d665a26784dd83a062dbcb85a686f5e1ba 100644 (file)
@@ -337,6 +337,11 @@ static const struct rtw89_pwr_cfg rtw8852a_pwroff[] = {
         PWR_INTF_MSK_PCIE,
         PWR_BASE_MAC,
         PWR_CMD_WRITE, BIT(0), 0},
+       {0x0092,
+        PWR_CV_MSK_ALL,
+        PWR_INTF_MSK_PCIE,
+        PWR_BASE_MAC,
+        PWR_CMD_WRITE, BIT(4), BIT(4)},
        {0x0005,
         PWR_CV_MSK_ALL,
         PWR_INTF_MSK_PCIE,