This project is mirrored from https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git. Pull mirroring updated .
  1. 17 Mar, 2021 3 commits
  2. 15 Mar, 2021 2 commits
  3. 09 Mar, 2021 5 commits
  4. 11 Feb, 2021 1 commit
  5. 09 Feb, 2021 3 commits
  6. 08 Feb, 2021 1 commit
    • Lech Perczak's avatar
      USB: serial: option: update interface mapping for ZTE P685M · 6420a569
      Lech Perczak authored
      
      
      This patch prepares for qmi_wwan driver support for the device.
      Previously "option" driver mapped itself to interfaces 0 and 3 (matching
      ff/ff/ff), while interface 3 is in fact a QMI port.
      Interfaces 1 and 2 (matching ff/00/00) expose AT commands,
      and weren't supported previously at all.
      Without this patch, a possible conflict would exist if device ID was
      added to qmi_wwan driver for interface 3.
      
      Update and simplify device ID to match interfaces 0-2 directly,
      to expose QCDM (0), PCUI (1), and modem (2) ports and avoid conflict
      with QMI (3), and ADB (4).
      
      The modem is used inside ZTE MF283+ router and carriers identify it as
      such.
      Interface mapping is:
      0: QCDM, 1: AT (PCUI), 2: AT (Modem), 3: QMI, 4: ADB
      
      T:  Bus=02 Lev=02 Prnt=02 Port=05 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
      D:  Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
      P:  Vendor=19d2 ProdID=1275 Rev=f0.00
      S:  Manufacturer=ZTE,Incorporated
      S:  Product=ZTE Technologies MSM
      S:  SerialNumber=P685M510ZTED0000CP&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&0
      C:* #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=500mA
      I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
      E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
      E:  Ad=83(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
      E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
      E:  Ad=85(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
      E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
      E:  Ad=87(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
      E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)
      E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      
      Cc: Johan Hovold <johan@kernel.org>
      Cc: Bjørn Mork <bjorn@mork.no>
      Signed-off-by: default avatarLech Perczak <lech.perczak@gmail.com>
      Link: https://lore.kernel.org/r/20210207005443.12936-1-lech.perczak@gmail.com
      
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      6420a569
  7. 01 Feb, 2021 9 commits
  8. 28 Jan, 2021 2 commits
    • Dan Carpenter's avatar
      USB: serial: mos7720: fix error code in mos7720_write() · fea7372c
      Dan Carpenter authored
      
      
      This code should return -ENOMEM if the kmalloc() fails but instead
      it returns success.
      
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Fixes: 0f64478c
      
       ("USB: add USB serial mos7720 driver")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      fea7372c
    • Christoph Schemmel's avatar
      USB: serial: option: Adding support for Cinterion MV31 · e478d602
      Christoph Schemmel authored
      
      
      Adding support for Cinterion device MV31 for enumeration with
      PID 0x00B3 and 0x00B7.
      
      usb-devices output for 0x00B3
      T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  6 Spd=5000 MxCh= 0
      D:  Ver= 3.20 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs=  1
      P:  Vendor=1e2d ProdID=00b3 Rev=04.14
      S:  Manufacturer=Cinterion
      S:  Product=Cinterion PID 0x00B3 USB Mobile Broadband
      S:  SerialNumber=b3246eed
      C:  #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=896mA
      I:  If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
      I:  If#=0x1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
      I:  If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
      I:  If#=0x3 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=cdc_wdm
      I:  If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
      I:  If#=0x5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
      
      usb-devices output for 0x00B7
      T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=5000 MxCh= 0
      D:  Ver= 3.20 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs=  1
      P:  Vendor=1e2d ProdID=00b7 Rev=04.14
      S:  Manufacturer=Cinterion
      S:  Product=Cinterion PID 0x00B3 USB Mobile Broadband
      S:  SerialNumber=b3246eed
      C:  #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=896mA
      I:  If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
      I:  If#=0x1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
      I:  If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
      I:  If#=0x3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
      
      Signed-off-by: default avatarChristoph Schemmel <christoph.schemmel@gmail.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      e478d602
  9. 26 Jan, 2021 11 commits
  10. 25 Jan, 2021 1 commit
  11. 21 Jan, 2021 1 commit
    • Manivannan Sadhasivam's avatar
      USB: serial: add MaxLinear/Exar USB to Serial driver · c2d405aa
      Manivannan Sadhasivam authored
      Add support for MaxLinear/Exar USB to Serial converters. This driver
      only supports XR21V141X series but it can be extended to other series
      from Exar as well in future.
      
      This driver is inspired from the initial one submitted by Patong Yang:
      
      https://lore.kernel.org/r/20180404070634.nhspvmxcjwfgjkcv@advantechmxl-desktop
      
      
      
      While the initial driver was a custom tty USB driver exposing whole
      new serial interface ttyXRUSBn, this version is completely based on USB
      serial core thus exposing the interfaces as ttyUSBn. This will avoid
      the overhead of exposing a new USB serial interface which the userspace
      tools are unaware of.
      
      The Exar XR21V141X can be used in either ACM mode using the cdc-acm
      driver or in "custom driver" mode in which further features such as
      hardware and software flow control, GPIO control and in-band line-status
      reporting are available.
      
      In ACM mode the device always enables RTS/CTS flow control, something
      which could prevent transmission in case the CTS input isn't wired up
      corrently.
      
      A follow-on patch will prevent cdc_acm from binding whenever this driver
      is enabled.
      
      Signed-off-by: default avatarManivannan Sadhasivam <mani@kernel.org>
      Link: https://lore.kernel.org/r/20201122170822.21715-2-mani@kernel.org
      
      
      [ johan: fix some style nits, group related functions, drop unused
      	 callbacks, and amend commit message; a few remaining
      	 non-trivial issues will be fixed separately ]
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      c2d405aa
  12. 18 Jan, 2021 1 commit