linux_dsm_epyc7002/drivers/usb
Michael Hanselmann 2c509d1cc8 USB: serial: ch341: name prescaler, divisor registers
Add constants for the prescaler and divisor registers. Document and
name register 0x25, and put the LCR define to more use.

The 0x25 register (CH341_REG_LCR2) is only used by CH341 chips before
version 0x30 and is involved in configuring the line control parameters.
It's not known to the author whether there any such chips in the wild,
and Linux' ch341 driver never supported them. For chip version 0x30 and
above the 0x25 register is always set to zero. The alternative would've
been to not set the register at all, but that may have unintended
effects.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Link: https://lore.kernel.org/r/2e80916d-1be8-dc0f-abf9-adc0feea1803@msgid.hansmi.ch
[ johan: fix up comment ]
Signed-off-by: Johan Hovold <johan@kernel.org>
2020-06-29 11:51:53 +02:00
..
atm USB: atm: Use the correct style for SPDX License Identifier 2020-03-17 20:03:28 +01:00
c67x00 USB: c67x00: Use the correct style for SPDX License Identifier 2020-03-17 20:03:28 +01:00
cdns3 Merge 5.8-rc3 into usb-next 2020-06-29 08:22:27 +02:00
chipidea USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
class cdc-acm: Add DISABLE_ECHO quirk for Microchip/SMSC chip 2020-06-18 10:42:52 +02:00
common USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
core Merge 5.8-rc3 into usb-next 2020-06-29 08:22:27 +02:00
dwc2 Merge 5.8-rc3 into usb-next 2020-06-29 08:22:27 +02:00
dwc3 Merge 5.8-rc3 into usb-next 2020-06-29 08:22:27 +02:00
early kdb: Switch to use safer dbg_io_ops over console APIs 2020-06-26 15:40:16 +01:00
gadget Merge 5.8-rc3 into usb-next 2020-06-29 08:22:27 +02:00
host Merge 5.8-rc3 into usb-next 2020-06-29 08:22:27 +02:00
image treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
isp1760 USB: isp1760: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
misc Merge 5.8-rc3 into usb-next 2020-06-29 08:22:27 +02:00
mon USB: mon: Use scnprintf() for avoiding potential buffer overflow 2020-03-12 09:49:28 +01:00
mtu3 USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
musb USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
phy usb: phy: tegra: Fix unnecessary check in tegra_usb_phy_probe() 2020-06-24 09:43:16 +03:00
renesas_usbhs usb: renesas_usbhs: getting residue from callback_result 2020-06-24 17:14:44 +02:00
roles usb: roles: Switch on role-switch uevent reporting 2020-05-13 14:20:49 +02:00
serial USB: serial: ch341: name prescaler, divisor registers 2020-06-29 11:51:53 +02:00
storage USB: storage: scsi: fix up comment to be more specific 2020-06-19 08:58:53 +02:00
typec usb: typec: tcpci_rt1711h: avoid screaming irq causing boot hangs 2020-06-18 10:42:53 +02:00
usbip treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
usb-skeleton.c USB: usb-skeleton: drop redundant in-urb check 2019-10-10 12:41:19 +02:00