lkml.org 
[lkml]   [2018]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3.2 011/140] USB: serial: option: add Quectel BG96 id
    3.2.100-rc1 review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Sebastian Sjoholm <ssjoholm@mac.com>

    commit c654b21ede93845863597de9ad774fd30db5f2ab upstream.

    Quectel BG96 is an Qualcomm MDM9206 based IoT modem, supporting both
    CAT-M and NB-IoT. Tested hardware is BG96 mounted on Quectel
    development board (EVB). The USB id is added to option.c to allow
    DIAG,GPS,AT and modem communication with the BG96.

    Signed-off-by: Sebastian Sjoholm <ssjoholm@mac.com>
    Signed-off-by: Johan Hovold <johan@kernel.org>
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    ---
    drivers/usb/serial/option.c | 3 +++
    1 file changed, 3 insertions(+)

    --- a/drivers/usb/serial/option.c
    +++ b/drivers/usb/serial/option.c
    @@ -242,6 +242,7 @@ static void option_instat_callback(struc
    /* These Quectel products use Quectel's vendor ID */
    #define QUECTEL_PRODUCT_EC21 0x0121
    #define QUECTEL_PRODUCT_EC25 0x0125
    +#define QUECTEL_PRODUCT_BG96 0x0296

    #define CMOTECH_VENDOR_ID 0x16d8
    #define CMOTECH_PRODUCT_6001 0x6001
    @@ -1165,6 +1166,8 @@ static const struct usb_device_id option
    .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
    { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC25),
    .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
    + { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_BG96),
    + .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
    { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6001) },
    { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CMU_300) },
    { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6003),
    \
     
     \ /
      Last update: 2018-02-28 16:23    [W:4.107 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site