rtw89: generalize functions shared with 8852CE
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 3 repliesIn review
- v113 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | rtw89: 8852c: add 8852c empty filesdrivers/ drivers/ drivers/ | +68 | 1 reply | |
| 2/13 | rtw89: pci: add struct rtw89_pci_infodrivers/ drivers/ drivers/ +2 more | +23 | 0 replies | |
| 3/13 | rtw89: pci: add V1 of PCI channel addressdrivers/ drivers/ drivers/ +1 more | +175 | 0 replies | |
| 4/13 | rtw89: pci: use a struct to describe all registers address related to DMA channeldrivers/ drivers/ | +15 | 0 replies | |
| 5/13 | rtw89: read chip version depends on chip IDdrivers/ | +2 | 0 replies | |
| 6/13 | rtw89: add power_{on/off}_funcdrivers/ drivers/ drivers/ +3 more | +301 | 0 replies | |
| 7/13 | rtw89: add hci_func_en_addr to support variant generationdrivers/ drivers/ drivers/ +2 more | +9 | 0 replies | |
| 8/13 | rtw89: add chip_info::{h2c,c2h}_reg to support more chipsdrivers/ drivers/ drivers/ +2 more | +53 | 0 replies | |
| 9/13 | rtw89: add page_regs to handle v1 chipsdrivers/ drivers/ drivers/ +2 more | +124 | 0 replies | |
| 10/13 | rtw89: 8852c: add chip::dle_memdrivers/ drivers/ drivers/ +2 more | +86 | 2 replies | |
| 11/13 | rtw89: support DAV efuse reading operationdrivers/ drivers/ drivers/ +4 more | +208 | 0 replies | |
| 12/13 | rtw89: 8852c: process efuse of phycapdrivers/ drivers/ drivers/ | +165 | 0 replies | |
| 13/13 | rtw89: 8852c: process logic efuse mapdrivers/ drivers/ | +129 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/13] rtw89: generalize functions shared with 8852CE
The existing common flow can share with 8852CE, so I add chip_info and chip_ops to share the functions that doesn't change the behavior of existing chip 8852AE.
In this patchset, I add 8852c files and add chip_info/chip_ops along with the process to generalize functions. But, I don't build the files, because it doesn't work unless I have all necessary chip information and functions.
No function dependency, but this patchset is based on another patchset "rtw89: support hw_scan and tx_wake firmware features".
v2: only patch 6/13 is changed -- define descriptive names to replace some
magic numbers.
Ping-Ke Shih (13):
rtw89: 8852c: add 8852c empty files
rtw89: pci: add struct rtw89_pci_info
rtw89: pci: add V1 of PCI channel address
rtw89: pci: use a struct to describe all registers address related to
DMA channel
rtw89: read chip version depends on chip ID
rtw89: add power_{on/off}_func
rtw89: add hci_func_en_addr to support variant generation
rtw89: add chip_info::{h2c,c2h}_reg to support more chips
rtw89: add page_regs to handle v1 chips
rtw89: 8852c: add chip::dle_mem
rtw89: support DAV efuse reading operation
rtw89: 8852c: process efuse of phycap
rtw89: 8852c: process logic efuse map
drivers/net/wireless/realtek/rtw89/core.c | 3 +- drivers/net/wireless/realtek/rtw89/core.h | 38 ++ drivers/net/wireless/realtek/rtw89/efuse.c | 160 +++++- drivers/net/wireless/realtek/rtw89/fw.c | 20 +- drivers/net/wireless/realtek/rtw89/mac.c | 184 ++++++- drivers/net/wireless/realtek/rtw89/mac.h | 48 ++ drivers/net/wireless/realtek/rtw89/pci.c | 200 ++++---- drivers/net/wireless/realtek/rtw89/pci.h | 76 ++- drivers/net/wireless/realtek/rtw89/reg.h | 121 +++++ drivers/net/wireless/realtek/rtw89/rtw8852a.c | 36 ++ .../net/wireless/realtek/rtw89/rtw8852ae.c | 7 + drivers/net/wireless/realtek/rtw89/rtw8852c.c | 479 ++++++++++++++++++ drivers/net/wireless/realtek/rtw89/rtw8852c.h | 76 +++ .../net/wireless/realtek/rtw89/rtw8852ce.c | 43 ++ 14 files changed, 1349 insertions(+), 142 deletions(-) create mode 100644 drivers/net/wireless/realtek/rtw89/rtw8852c.c create mode 100644 drivers/net/wireless/realtek/rtw89/rtw8852c.h create mode 100644 drivers/net/wireless/realtek/rtw89/rtw8852ce.c
Signature · 1 line
2.25.1