OSDN Git Service

mmc: sdio: Add/rename SDIO ID of the RTL8723DS SDIO wifi cards
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 22 May 2023 20:24:24 +0000 (22:24 +0200)
committerKalle Valo <kvalo@kernel.org>
Thu, 25 May 2023 16:09:39 +0000 (19:09 +0300)
RTL8723DS comes in two variant and each of them has their own SDIO ID:
- 0xd723 can connect two antennas. The WiFi part is still 1x1 so the
  second antenna can be dedicated to Bluetooth
- 0xd724 can only connect one antenna so it's shared between WiFi and
  Bluetooth

Add a new entry for the single antenna RTL8723DS (0xd724) which can be
found on the MangoPi MQ-Quad. Also rename the existing RTL8723DS entry
(0xd723) so it's name reflects that it's the variant with support for
two antennas.

Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230522202425.1827005-4-martin.blumenstingl@googlemail.com
include/linux/mmc/sdio_ids.h

index c653acc..7fada7a 100644 (file)
 #define SDIO_DEVICE_ID_REALTEK_RTW8822BS       0xb822
 #define SDIO_DEVICE_ID_REALTEK_RTW8821CS       0xc821
 #define SDIO_DEVICE_ID_REALTEK_RTW8822CS       0xc822
-#define SDIO_DEVICE_ID_REALTEK_RTW8723DS       0xd723
+#define SDIO_DEVICE_ID_REALTEK_RTW8723DS_2ANT  0xd723
+#define SDIO_DEVICE_ID_REALTEK_RTW8723DS_1ANT  0xd724
 #define SDIO_DEVICE_ID_REALTEK_RTW8821DS       0xd821
 
 #define SDIO_VENDOR_ID_SIANO                   0x039a