2023-04-03 20:26:04

by Martin Blumenstingl

[permalink] [raw]
Subject: [PATCH v4 6/9] mmc: sdio: add Realtek SDIO vendor ID and various wifi device IDs

Add the SDIO vendor ID for Realtek and some device IDs extracted from
their GPL vendor driver. This will be useful in the future when the
rtw88 driver gains support for these chips.

Acked-by: Ulf Hansson <[email protected]>
Reviewed-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Martin Blumenstingl <[email protected]>
---
Changes since v3:
- sort entries by their value for consistency as suggested by Pali
- add Ping-Ke's reviewed-by

Changes since v2:
- none

Changes since v1:
- none


include/linux/mmc/sdio_ids.h | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/include/linux/mmc/sdio_ids.h b/include/linux/mmc/sdio_ids.h
index 0e4ef9c5127a..66f503ed2448 100644
--- a/include/linux/mmc/sdio_ids.h
+++ b/include/linux/mmc/sdio_ids.h
@@ -112,6 +112,15 @@
#define SDIO_VENDOR_ID_MICROCHIP_WILC 0x0296
#define SDIO_DEVICE_ID_MICROCHIP_WILC1000 0x5347

+#define SDIO_VENDOR_ID_REALTEK 0x024c
+#define SDIO_DEVICE_ID_REALTEK_RTW8723BS 0xb723
+#define SDIO_DEVICE_ID_REALTEK_RTW8821BS 0xb821
+#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_RTW8821DS 0xd821
+
#define SDIO_VENDOR_ID_SIANO 0x039a
#define SDIO_DEVICE_ID_SIANO_NOVA_B0 0x0201
#define SDIO_DEVICE_ID_SIANO_NICE 0x0202
--
2.40.0


2023-04-03 21:09:32

by Pali Rohár

[permalink] [raw]
Subject: Re: [PATCH v4 6/9] mmc: sdio: add Realtek SDIO vendor ID and various wifi device IDs

On Monday 03 April 2023 22:24:37 Martin Blumenstingl wrote:
> Add the SDIO vendor ID for Realtek and some device IDs extracted from
> their GPL vendor driver. This will be useful in the future when the
> rtw88 driver gains support for these chips.
>
> Acked-by: Ulf Hansson <[email protected]>
> Reviewed-by: Ping-Ke Shih <[email protected]>
> Signed-off-by: Martin Blumenstingl <[email protected]>

Reviewed-by: Pali Rohár <[email protected]>

> ---
> Changes since v3:
> - sort entries by their value for consistency as suggested by Pali
> - add Ping-Ke's reviewed-by
>
> Changes since v2:
> - none
>
> Changes since v1:
> - none
>
>
> include/linux/mmc/sdio_ids.h | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/include/linux/mmc/sdio_ids.h b/include/linux/mmc/sdio_ids.h
> index 0e4ef9c5127a..66f503ed2448 100644
> --- a/include/linux/mmc/sdio_ids.h
> +++ b/include/linux/mmc/sdio_ids.h
> @@ -112,6 +112,15 @@
> #define SDIO_VENDOR_ID_MICROCHIP_WILC 0x0296
> #define SDIO_DEVICE_ID_MICROCHIP_WILC1000 0x5347
>
> +#define SDIO_VENDOR_ID_REALTEK 0x024c
> +#define SDIO_DEVICE_ID_REALTEK_RTW8723BS 0xb723
> +#define SDIO_DEVICE_ID_REALTEK_RTW8821BS 0xb821
> +#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_RTW8821DS 0xd821
> +
> #define SDIO_VENDOR_ID_SIANO 0x039a
> #define SDIO_DEVICE_ID_SIANO_NOVA_B0 0x0201
> #define SDIO_DEVICE_ID_SIANO_NICE 0x0202
> --
> 2.40.0
>