]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: pl2303: add support for more HXN (G) types
authorJohan Hovold <johan@kernel.org>
Tue, 21 Jun 2022 08:58:55 +0000 (10:58 +0200)
committerJohan Hovold <johan@kernel.org>
Wed, 22 Jun 2022 06:52:03 +0000 (08:52 +0200)
commitc5a3e32d0e11370616e9efadef77b856165568b5
treea79d4b3a2ad5d6d83963685554b7cd322b6d9479
parente847ad435de9cf76cc3f80fc8b08aa6a29f7d43a
USB: serial: pl2303: add support for more HXN (G) types

Add support for further HXN (G) type devices (GT variant, GL variant, GS
variant and GR) and document the bcdDevice mapping.

Note that the TA and TB types use the same bcdDevice as some GT and GE
variants, respectively, but that the HX status request can be used to
determine which is which.

Also note that we currently do not distinguish between the various HXN
(G) types in the driver but that this may change eventually (e.g. when
adding GPIO support).

Reported-by: Charles Yeh <charlesyeh522@gmail.com>
Link: https://lore.kernel.org/r/YrF77b9DdeumUAee@hovoldconsulting.com
Cc: stable@vger.kernel.org # 5.13
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/pl2303.c