All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] USB: serial: usb-serial-simple: add support for another Infineon flashloader
@ 2016-09-02  8:37 Daniele Palmas
  2016-09-02  8:37 ` [PATCH 1/1] " Daniele Palmas
  0 siblings, 1 reply; 3+ messages in thread
From: Daniele Palmas @ 2016-09-02  8:37 UTC (permalink / raw)
  To: Johan Hovold; +Cc: linux-usb, linux-kernel, Daniele Palmas

This patch adds support for Infineon flashloader 0x8087/0x0801.

The flashloader is used in Telit LE940B modem family with Telit
flashing application.

Following lsusb output for the composition:

Bus 004 Device 020: ID 8087:0801 Intel Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            2 Communications
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x8087 Intel Corp.
  idProduct          0x0801 
  bcdDevice            0.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           44
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              124mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               0
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           22
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000006
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat        2047 micro seconds
Device Status:     0x000d
  Self Powered
  U1 Enabled
  U2 Enabled

Daniele Palmas (1):
  USB: serial: usb-serial-simple: add support for another Infineon
    flashloader

 drivers/usb/serial/usb-serial-simple.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] USB: serial: usb-serial-simple: add support for another Infineon flashloader
  2016-09-02  8:37 [PATCH 0/1] USB: serial: usb-serial-simple: add support for another Infineon flashloader Daniele Palmas
@ 2016-09-02  8:37 ` Daniele Palmas
  2016-09-12  8:34   ` Johan Hovold
  0 siblings, 1 reply; 3+ messages in thread
From: Daniele Palmas @ 2016-09-02  8:37 UTC (permalink / raw)
  To: Johan Hovold; +Cc: linux-usb, linux-kernel, Daniele Palmas

This patch adds support for Infineon flashloader 0x8087/0x0801.

The flashloader is used in Telit LE940B modem family with Telit
flashing application.

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
---
 drivers/usb/serial/usb-serial-simple.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/usb/serial/usb-serial-simple.c b/drivers/usb/serial/usb-serial-simple.c
index a204782..e98b6e5 100644
--- a/drivers/usb/serial/usb-serial-simple.c
+++ b/drivers/usb/serial/usb-serial-simple.c
@@ -54,7 +54,8 @@ DEVICE(funsoft, FUNSOFT_IDS);
 /* Infineon Flashloader driver */
 #define FLASHLOADER_IDS()		\
 	{ USB_DEVICE_INTERFACE_CLASS(0x058b, 0x0041, USB_CLASS_CDC_DATA) }, \
-	{ USB_DEVICE(0x8087, 0x0716) }
+	{ USB_DEVICE(0x8087, 0x0716) }, \
+	{ USB_DEVICE(0x8087, 0x0801) }
 DEVICE(flashloader, FLASHLOADER_IDS);
 
 /* Google Serial USB SubClass */
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] USB: serial: usb-serial-simple: add support for another Infineon flashloader
  2016-09-02  8:37 ` [PATCH 1/1] " Daniele Palmas
@ 2016-09-12  8:34   ` Johan Hovold
  0 siblings, 0 replies; 3+ messages in thread
From: Johan Hovold @ 2016-09-12  8:34 UTC (permalink / raw)
  To: Daniele Palmas; +Cc: Johan Hovold, linux-usb, linux-kernel

On Fri, Sep 02, 2016 at 10:37:56AM +0200, Daniele Palmas wrote:
> This patch adds support for Infineon flashloader 0x8087/0x0801.
> 
> The flashloader is used in Telit LE940B modem family with Telit
> flashing application.
> 
> Signed-off-by: Daniele Palmas <dnlplm@gmail.com>

Now applied, thanks.

Johan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-12  8:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02  8:37 [PATCH 0/1] USB: serial: usb-serial-simple: add support for another Infineon flashloader Daniele Palmas
2016-09-02  8:37 ` [PATCH 1/1] " Daniele Palmas
2016-09-12  8:34   ` Johan Hovold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.