]> www.infradead.org Git - users/jedix/linux-maple.git/commit
USB: serial: f81232: add control driver for F81534A
authorJi-Ze Hong (Peter Hong) <hpeter@gmail.com>
Thu, 12 Mar 2020 03:44:31 +0000 (11:44 +0800)
committerJohan Hovold <johan@kernel.org>
Wed, 18 Mar 2020 10:50:14 +0000 (11:50 +0100)
commit33a6b48a574824fbc095fa395d86d4637852f484
tree737d73a9e3c50ce10e51f12bd72b2dad74869339
parent615e58ccfbc05a64dddd16db5277fc2b49ed643a
USB: serial: f81232: add control driver for F81534A

The Fintek F81534A series contains 1 HUB, 1 GPIO device and n UARTs. The
UARTs are disabled by default and need to be enabled by the GPIO device
(2c42:16F8).

When F81534A plug to host, we can only see 1 HUB and 1 GPIO device and
we write 0x8fff to GPIO device register F81534A_CTRL_CMD_ENABLE_PORT
(116h) to enable all available serial ports.

Signed-off-by: Ji-Ze Hong (Peter Hong) <hpeter+linux_kernel@gmail.com>
[johan: reword commit message and an error message slightly]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/f81232.c