commit | 23b7998e81aa37d97897aa236bdcfba3f6edeb66 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Apr 12 11:55:46 2021 +0200 |
committer | Johan Hovold <johan@kernel.org> | Tue Apr 13 18:36:20 2021 +0200 |
tree | dc4b97e71992dd5e44e18a75461a48aecfbac8ef | |
parent | 4ef8f235778716476528a0ca270a4783ef6a40bb [diff] |
USB: serial: xr: add support for XR21V1412 and XR21V1414 Add support for the two- and four-port variants of XR21V1410. Use the interface number of each control interface (e.g. 0, 2, 4, 6) to derive the zero-based channel index: XR21V1410 0 XR21V1412 0, 1 XR21V1414 0, 1, 2, 3 Note that the UART registers reside in separate blocks per channel, while the UART Manager functionality is implemented using per-channel registers. Signed-off-by: Johan Hovold <johan@kernel.org>