lkml.org 
[lkml]   [2021]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v8 01/24] mmc: sdio: add SDIO IDs for Silabs WF200 chip
    Date
    From: Jérôme Pouiller <jerome.pouiller@silabs.com>

    Add Silabs SDIO ID to sdio_ids.h.

    Note that the values used by Silabs are uncommon. A driver cannot fully
    rely on the SDIO PnP. It should also check if the device is declared in
    the DT.

    Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
    ---
    include/linux/mmc/sdio_ids.h | 7 +++++++
    1 file changed, 7 insertions(+)

    diff --git a/include/linux/mmc/sdio_ids.h b/include/linux/mmc/sdio_ids.h
    index a85c9f0bd470..483692f3002a 100644
    --- a/include/linux/mmc/sdio_ids.h
    +++ b/include/linux/mmc/sdio_ids.h
    @@ -25,6 +25,13 @@
    * Vendors and devices. Sort key: vendor first, device next.
    */

    +/*
    + * Silabs does not use a reliable vendor ID. To avoid conflicts, the driver
    + * won't probe the device if it is not also declared in the DT.
    + */
    +#define SDIO_VENDOR_ID_SILABS 0x0000
    +#define SDIO_DEVICE_ID_SILABS_WF200 0x1000
    +
    #define SDIO_VENDOR_ID_STE 0x0020
    #define SDIO_DEVICE_ID_STE_CW1200 0x2280

    --
    2.33.0
    \
     
     \ /
      Last update: 2021-10-05 15:55    [W:4.174 / U:0.088 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site