Skip to content

USB: serial: xr: add support for more device types

Johan Hovold linux-usb lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/212 patches 1 replyIn review
  2. v1 posting 1/29 of 12 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12USB: serial: xr: add support for XR21V1412 and XR21V1414drivers/usb/serial/xr_serial.c+51 -40 replies
2/12USB: serial: xr: rename GPIO-mode definesdrivers/usb/serial/xr_serial.c+7 -70 replies
3/12USB: serial: xr: rename GPIO-pin definesdrivers/usb/serial/xr_serial.c+17 -170 replies
4/12USB: serial: xr: move pin configuration to probedrivers/usb/serial/xr_serial.c+37 -80 replies
5/12USB: serial: xr: drop type prefix from shared definesdrivers/usb/serial/xr_serial.c+61 -610 replies
6/12USB: serial: xr: add type abstractiondrivers/usb/serial/xr_serial.c+85 -430 replies
7/12USB: serial: xr: add support for XR21B1421, XR21B1422 and XR21B1424drivers/usb/serial/xr_serial.c+262 -760 replies
8/12USB: serial: xr: add support for XR21B1411drivers/usb/serial/xr_serial.c+48 -160 replies
9/12USB: serial: xr: add support for XR22801, XR22802, XR22804drivers/usb/serial/xr_serial.c+23 -00 replies
10/12USB: serial: xr: reset FIFOs on opendrivers/usb/serial/xr_serial.c+51 -00 replies
11/12USB: serial: xr: add copyright noticedrivers/usb/serial/xr_serial.c+1 -00 replies
12/12USB: cdc-acm: add more Maxlinear/Exar models to ignore listdrivers/usb/class/cdc-acm.c+11 -31 reply

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchGreg Kroah-Hartman
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RESEND 00/12] USB: serial: xr: add support for more device types

[ I apparently missed the last three patches of the series when posting
on March 30th so resending the whole series. ]

This series adds support for another nine models of Maxlinerar/Exar USB UARTs to the xr driver. The various models can be divided into four types:

	XR21V141X
        XR21B142X
        XR21B1411
        XR22804

with different register layouts and features.

All types can be used in CDC-ACM mode but further features such as hardware and software flow control and in-band line status are available in a second "custom driver" mode.

The fact that hardware flow control is enabled by default in CDC-ACM mode also prevents using the standard CDC-ACM driver in cases where the hardware engineers have failed to properly connect the CTS input.

The currently supported XR21V141X type stands out from the other three by not being able to accept CDC requests without always entering CDC-ACM mode, requiring a different enable/disable sequence and by using a distinct register layout for certain functionality.

Expect for the above, most differences can be handled by simply using different set of register addresses.

Note that this series depends on the recently posted multi-interface-function series.

Johan

Johan Hovold (11):
USB: serial: xr: add support for XR21V1412 and XR21V1414
USB: serial: xr: rename GPIO-mode defines
USB: serial: xr: rename GPIO-pin defines
USB: serial: xr: move pin configuration to probe
USB: serial: xr: drop type prefix from shared defines
USB: serial: xr: add type abstraction
USB: serial: xr: add support for XR21B1421, XR21B1422 and XR21B1424
USB: serial: xr: add support for XR21B1411
USB: serial: xr: add support for XR22801, XR22802, XR22804
USB: serial: xr: reset FIFOs on open
USB: serial: xr: add copyright notice

Mauro Carvalho Chehab (1):
USB: cdc-acm: add more Maxlinear/Exar models to ignore list

 drivers/usb/class/cdc-acm.c    |  14 +-
 drivers/usb/serial/xr_serial.c | 727 ++++++++++++++++++++++++++-------
 2 files changed, 580 insertions(+), 161 deletions(-)
Signature · 1 line
2.26.3