mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-06-21 15:43:21 +02:00
4ddd4f0651
Pull MMC updates from Ulf Hansson:
"MMC core:
- Add NXP vendor and IW61x device IDs for WiFi chips over SDIO
- Add quirk for incorrect manufacturing date
- Add support for manufacturing date beyond 2025
- Optimize support for secure erase/trim for some Kingston eMMCs
- Remove support for the legacy "enable-sdio-wakeup" DT property
- Use single block writes in the retry path
MMC host:
- dw_mmc:
- A great amount of cleanups/simplifications to improve the code
- Add clk_phase_map support
- Remove mshc DT alias support
- dw_mmc-rockchip:
- Fix runtime PM support for internal phase
- Add support for the RV1103B variant
- loongson2:
- Add support for the Loongson-2K0300 SD/SDIO/eMMC controller
- mtk-sd:
- Add support for the MT8189 variant
- renesas_sdhi_core:
- Add support for selecting an optional mux
- rtsx_pci_sdmmc:
- Simplify voltage switch handling
- sdhci:
- Stop advertising the driver in dmesg
- sdhci-esdhc-imx:
- Add 1-bit bus width support
- Add support for the NXP S32N79 variant
- sdhci-msm:
- Add support for the IPQ5210 and IPQ9650 variants
- Add support for wrapped keys
- Enable ICE for CQE-capable controllers with non-CQE cards
- sdhci-of-arasan:
- Add support for the Axiado AX3000 variant
- sdhci-of-aspeed:
- Add support for the AST2700 variant
- sdhci-of-bst:
- Add driver for the Black Sesame Technologies C1200 controller
- sdhci-of-dwcmshc:
- Add support for the Canaan K230 variant
- Add support for the HPE GSC variant
- Prevent clock glitches to avoid malfunction
- sdhci-of-k1:
- Add support for the K3 variant
mux core/consumers:
- core:
- Add helper functions for getting optional and selected mux-state
- i2c-omap:
- Convert to devm_mux_state_get_optional_selected()
- phy-renesas:
- Convert to devm_mux_state_get_optional_selected()
- phy-can-transceiver:
- Convert to devm_mux_state_get_optional()"
* tag 'mmc-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (131 commits)
mmc: sdhci-msm: Fix the wrapped key handling
mmc: sdhci-of-dwcmshc: Disable clock before DLL configuration
mmc: core: Simplify with scoped for each OF child loop
mmc: core: Optimize size of struct mmc_queue_req
mmc: vub300: clean up module init
mmc: vub300: rename probe error labels
mmc: dw_mmc: Remove dw_mci_start_request wrapper and rename core function
mmc: dw_mmc: Inline dw_mci_queue_request() into dw_mci_request()
mmc: block: Use MQRQ_XFER_SINGLE_BLOCK for both read and write recovery
mmc: mmc_test: Replace hard-coded values with macros and consolidate test parameters
mmc: block: Convert to use DEFINE_SIMPLE_DEV_PM_OPS()
mmc: core: Replace the hard-coded shift value 9 with SECTOR_SHIFT
mmc: sdhci-dwcmshc: Refactor Rockchip platform data for controller revisions
mmc: core: Switch to use pm_ptr() for mmc_host_class_dev_pm_ops
mmc: core: Remove legacy 'enable-sdio-wakeup' DT property support
mmc: mmc_test: use kzalloc_flex
mmc: mtk-sd: disable new_tx/rx and modify related settings for mt8189
dt-bindings: mmc: hisilicon,hi3660-dw-mshc: Convert to DT schema
dt-bindings: mmc: sdhci-msm: add IPQ9650 compatible
mmc: block: use single block write in retry
...
155 lines
5.9 KiB
C
155 lines
5.9 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* SDIO Classes, Interface Types, Manufacturer IDs, etc.
|
|
*/
|
|
|
|
#ifndef LINUX_MMC_SDIO_IDS_H
|
|
#define LINUX_MMC_SDIO_IDS_H
|
|
|
|
/*
|
|
* Standard SDIO Function Interfaces
|
|
*/
|
|
|
|
#define SDIO_CLASS_NONE 0x00 /* Not a SDIO standard interface */
|
|
#define SDIO_CLASS_UART 0x01 /* standard UART interface */
|
|
#define SDIO_CLASS_BT_A 0x02 /* Type-A BlueTooth std interface */
|
|
#define SDIO_CLASS_BT_B 0x03 /* Type-B BlueTooth std interface */
|
|
#define SDIO_CLASS_GPS 0x04 /* GPS standard interface */
|
|
#define SDIO_CLASS_CAMERA 0x05 /* Camera standard interface */
|
|
#define SDIO_CLASS_PHS 0x06 /* PHS standard interface */
|
|
#define SDIO_CLASS_WLAN 0x07 /* WLAN interface */
|
|
#define SDIO_CLASS_ATA 0x08 /* Embedded SDIO-ATA std interface */
|
|
#define SDIO_CLASS_BT_AMP 0x09 /* Type-A Bluetooth AMP interface */
|
|
|
|
/*
|
|
* Vendors and devices. Sort key: vendor first, device next.
|
|
*/
|
|
|
|
#define SDIO_VENDOR_ID_STE 0x0020
|
|
#define SDIO_DEVICE_ID_STE_CW1200 0x2280
|
|
|
|
#define SDIO_VENDOR_ID_INTEL 0x0089
|
|
#define SDIO_DEVICE_ID_INTEL_IWMC3200WIMAX 0x1402
|
|
#define SDIO_DEVICE_ID_INTEL_IWMC3200WIFI 0x1403
|
|
#define SDIO_DEVICE_ID_INTEL_IWMC3200TOP 0x1404
|
|
#define SDIO_DEVICE_ID_INTEL_IWMC3200GPS 0x1405
|
|
#define SDIO_DEVICE_ID_INTEL_IWMC3200BT 0x1406
|
|
#define SDIO_DEVICE_ID_INTEL_IWMC3200WIMAX_2G5 0x1407
|
|
|
|
#define SDIO_VENDOR_ID_CGUYS 0x0092
|
|
#define SDIO_DEVICE_ID_CGUYS_EW_CG1102GC 0x0004
|
|
|
|
#define SDIO_VENDOR_ID_TI 0x0097
|
|
#define SDIO_DEVICE_ID_TI_WL1271 0x4076
|
|
|
|
#define SDIO_VENDOR_ID_ATHEROS 0x0271
|
|
#define SDIO_DEVICE_ID_ATHEROS_AR6003_00 0x0300
|
|
#define SDIO_DEVICE_ID_ATHEROS_AR6003_01 0x0301
|
|
#define SDIO_DEVICE_ID_ATHEROS_AR6004_00 0x0400
|
|
#define SDIO_DEVICE_ID_ATHEROS_AR6004_01 0x0401
|
|
#define SDIO_DEVICE_ID_ATHEROS_AR6004_02 0x0402
|
|
#define SDIO_DEVICE_ID_ATHEROS_AR6004_18 0x0418
|
|
#define SDIO_DEVICE_ID_ATHEROS_AR6004_19 0x0419
|
|
#define SDIO_DEVICE_ID_ATHEROS_AR6005 0x050A
|
|
#define SDIO_DEVICE_ID_ATHEROS_QCA9377 0x0701
|
|
|
|
#define SDIO_VENDOR_ID_BROADCOM 0x02d0
|
|
#define SDIO_DEVICE_ID_BROADCOM_NINTENDO_WII 0x044b
|
|
#define SDIO_DEVICE_ID_BROADCOM_43241 0x4324
|
|
#define SDIO_DEVICE_ID_BROADCOM_4329 0x4329
|
|
#define SDIO_DEVICE_ID_BROADCOM_4330 0x4330
|
|
#define SDIO_DEVICE_ID_BROADCOM_4334 0x4334
|
|
#define SDIO_DEVICE_ID_BROADCOM_4335_4339 0x4335
|
|
#define SDIO_DEVICE_ID_BROADCOM_4339 0x4339
|
|
#define SDIO_DEVICE_ID_BROADCOM_4345 0x4345
|
|
#define SDIO_DEVICE_ID_BROADCOM_4354 0x4354
|
|
#define SDIO_DEVICE_ID_BROADCOM_CYPRESS_89359 0x4355
|
|
#define SDIO_DEVICE_ID_BROADCOM_4356 0x4356
|
|
#define SDIO_DEVICE_ID_BROADCOM_4359 0x4359
|
|
#define SDIO_DEVICE_ID_BROADCOM_CYPRESS_4373 0x4373
|
|
#define SDIO_DEVICE_ID_BROADCOM_CYPRESS_43012 0xa804
|
|
#define SDIO_DEVICE_ID_BROADCOM_43143 0xa887
|
|
#define SDIO_DEVICE_ID_BROADCOM_43340 0xa94c
|
|
#define SDIO_DEVICE_ID_BROADCOM_43341 0xa94d
|
|
#define SDIO_DEVICE_ID_BROADCOM_43362 0xa962
|
|
#define SDIO_DEVICE_ID_BROADCOM_43364 0xa9a4
|
|
#define SDIO_DEVICE_ID_BROADCOM_43430 0xa9a6
|
|
#define SDIO_DEVICE_ID_BROADCOM_43439 0xa9af
|
|
#define SDIO_DEVICE_ID_BROADCOM_43455 0xa9bf
|
|
#define SDIO_DEVICE_ID_BROADCOM_43751 0xaae7
|
|
#define SDIO_DEVICE_ID_BROADCOM_43752 0xaae8
|
|
|
|
#define SDIO_VENDOR_ID_CYPRESS 0x04b4
|
|
#define SDIO_DEVICE_ID_BROADCOM_CYPRESS_43439 0xbd3d
|
|
|
|
#define SDIO_VENDOR_ID_MARVELL 0x02df
|
|
#define SDIO_DEVICE_ID_MARVELL_LIBERTAS 0x9103
|
|
#define SDIO_DEVICE_ID_MARVELL_8688_WLAN 0x9104
|
|
#define SDIO_DEVICE_ID_MARVELL_8688_BT 0x9105
|
|
#define SDIO_DEVICE_ID_MARVELL_8786_WLAN 0x9116
|
|
#define SDIO_DEVICE_ID_MARVELL_8787_WLAN 0x9119
|
|
#define SDIO_DEVICE_ID_MARVELL_8787_BT 0x911a
|
|
#define SDIO_DEVICE_ID_MARVELL_8787_BT_AMP 0x911b
|
|
#define SDIO_DEVICE_ID_MARVELL_8797_F0 0x9128
|
|
#define SDIO_DEVICE_ID_MARVELL_8797_WLAN 0x9129
|
|
#define SDIO_DEVICE_ID_MARVELL_8797_BT 0x912a
|
|
#define SDIO_DEVICE_ID_MARVELL_8897_WLAN 0x912d
|
|
#define SDIO_DEVICE_ID_MARVELL_8897_BT 0x912e
|
|
#define SDIO_DEVICE_ID_MARVELL_8887_F0 0x9134
|
|
#define SDIO_DEVICE_ID_MARVELL_8887_WLAN 0x9135
|
|
#define SDIO_DEVICE_ID_MARVELL_8887_BT 0x9136
|
|
#define SDIO_DEVICE_ID_MARVELL_8801_WLAN 0x9139
|
|
#define SDIO_DEVICE_ID_MARVELL_8997_F0 0x9140
|
|
#define SDIO_DEVICE_ID_MARVELL_8997_WLAN 0x9141
|
|
#define SDIO_DEVICE_ID_MARVELL_8997_BT 0x9142
|
|
#define SDIO_DEVICE_ID_MARVELL_8977_WLAN 0x9145
|
|
#define SDIO_DEVICE_ID_MARVELL_8977_BT 0x9146
|
|
#define SDIO_DEVICE_ID_MARVELL_8987_WLAN 0x9149
|
|
#define SDIO_DEVICE_ID_MARVELL_8987_BT 0x914a
|
|
#define SDIO_DEVICE_ID_MARVELL_8978_WLAN 0x9159
|
|
|
|
#define SDIO_VENDOR_ID_MEDIATEK 0x037a
|
|
#define SDIO_DEVICE_ID_MEDIATEK_MT7663 0x7663
|
|
#define SDIO_DEVICE_ID_MEDIATEK_MT7668 0x7668
|
|
#define SDIO_DEVICE_ID_MEDIATEK_MT7902 0x790a
|
|
#define SDIO_DEVICE_ID_MEDIATEK_MT7961 0x7961
|
|
|
|
#define SDIO_VENDOR_ID_MICROCHIP_WILC 0x0296
|
|
#define SDIO_DEVICE_ID_MICROCHIP_WILC1000 0x5347
|
|
|
|
#define SDIO_VENDOR_ID_NXP 0x0471
|
|
#define SDIO_DEVICE_ID_NXP_IW61X 0x0205
|
|
|
|
#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_2ANT 0xd723
|
|
#define SDIO_DEVICE_ID_REALTEK_RTW8723DS_1ANT 0xd724
|
|
#define SDIO_DEVICE_ID_REALTEK_RTW8821DS 0xd821
|
|
#define SDIO_DEVICE_ID_REALTEK_RTW8723CS 0xb703
|
|
|
|
#define SDIO_VENDOR_ID_SIANO 0x039a
|
|
#define SDIO_DEVICE_ID_SIANO_NOVA_B0 0x0201
|
|
#define SDIO_DEVICE_ID_SIANO_NICE 0x0202
|
|
#define SDIO_DEVICE_ID_SIANO_VEGA_A0 0x0300
|
|
#define SDIO_DEVICE_ID_SIANO_VENICE 0x0301
|
|
#define SDIO_DEVICE_ID_SIANO_MING 0x0302
|
|
#define SDIO_DEVICE_ID_SIANO_PELE 0x0500
|
|
#define SDIO_DEVICE_ID_SIANO_RIO 0x0600
|
|
#define SDIO_DEVICE_ID_SIANO_DENVER_2160 0x0700
|
|
#define SDIO_DEVICE_ID_SIANO_DENVER_1530 0x0800
|
|
#define SDIO_DEVICE_ID_SIANO_NOVA_A0 0x1100
|
|
#define SDIO_DEVICE_ID_SIANO_STELLAR 0x5347
|
|
|
|
#define SDIO_VENDOR_ID_RSI 0x041b
|
|
#define SDIO_DEVICE_ID_RSI_9113 0x9330
|
|
#define SDIO_DEVICE_ID_RSI_9116 0x9116
|
|
|
|
#define SDIO_VENDOR_ID_TI_WL1251 0x104c
|
|
#define SDIO_DEVICE_ID_TI_WL1251 0x9066
|
|
|
|
#endif /* LINUX_MMC_SDIO_IDS_H */
|