mbox series

[0/6] wifi: rtw89: 8922a: add 8922A basic info and efuse stuff

Message ID 20231117024029.113845-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: 8922a: add 8922A basic info and efuse stuff | expand

Message

Ping-Ke Shih Nov. 17, 2023, 2:40 a.m. UTC
We are going to add 8922A, and first step is to add basic info, and then
we will add more attributes one by one.

Firstly, we add efuse stuff that stores calibration values, capabilities,
PHY parameters and etc. Since efuse format is changed from existing WiFi 6
chips, we introduce new reader and parser by patch 3/6 mainly. The detail
of efuse format is also shown in commit message of that patch.

Patch 4/6~6/6 are to read necessary data into driver from efuse
physical/logical maps, so driver doesn't need to keep the large map
persistently.

Ping-Ke Shih (6):
  wifi: rtw89: 8922a: add 8922A basic chip info
  wifi: rtw89: mac: use mac_gen pointer to access about efuse
  wifi: rtw89: mac: add to access efuse for WiFi 7 chips
  wifi: rtw89: 8852c: read RX gain offset from efuse for 6GHz channels
  wifi: rtw89: 8922a: read efuse content via efuse map struct from logic
    map
  wifi: rtw89: 8922a: read efuse content from physical map

 drivers/net/wireless/realtek/rtw89/core.c     |   5 +-
 drivers/net/wireless/realtek/rtw89/core.h     |  28 +-
 drivers/net/wireless/realtek/rtw89/efuse.c    |  11 +-
 drivers/net/wireless/realtek/rtw89/efuse.h    |  17 +-
 drivers/net/wireless/realtek/rtw89/efuse_be.c | 420 ++++++++++++++++++
 drivers/net/wireless/realtek/rtw89/mac.c      |  16 +-
 drivers/net/wireless/realtek/rtw89/mac.h      |   3 +
 drivers/net/wireless/realtek/rtw89/mac_be.c   |   4 +
 drivers/net/wireless/realtek/rtw89/phy.h      |  16 +
 drivers/net/wireless/realtek/rtw89/reg.h      |  81 ++++
 drivers/net/wireless/realtek/rtw89/rtw8851b.c |   4 +-
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |   4 +-
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |   4 +-
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |  28 +-
 drivers/net/wireless/realtek/rtw89/rtw8852c.h |  20 +-
 drivers/net/wireless/realtek/rtw89/rtw8922a.c | 363 +++++++++++++++
 drivers/net/wireless/realtek/rtw89/rtw8922a.h |  73 +++
 .../net/wireless/realtek/rtw89/rtw8922ae.c    |   2 +
 18 files changed, 1082 insertions(+), 17 deletions(-)
 create mode 100644 drivers/net/wireless/realtek/rtw89/efuse_be.c
 create mode 100644 drivers/net/wireless/realtek/rtw89/rtw8922a.c
 create mode 100644 drivers/net/wireless/realtek/rtw89/rtw8922a.h