]> git.baikalelectronics.ru Git - kernel.git/commit
usb: usb251xb: add boost-up property support
authorTommaso Merciai <tomm.merciai@gmail.com>
Fri, 28 Jan 2022 18:17:13 +0000 (19:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Jan 2022 13:22:49 +0000 (14:22 +0100)
commitab7fae162405f099839495cd45306da909b81206
tree9feb21831b035387e0c07c4452a5f7f8c36a49fb
parent8966aba51ca5c03dcba31929921a81b244fa848e
usb: usb251xb: add boost-up property support

Add support for boost-up register of usb251xb hub.
boost-up property control USB electrical drive strength
This register can be set:

 - Normal mode -> 0x00
 - Low         -> 0x01
 - Medium      -> 0x10
 - High        -> 0x11

(Normal Default)

References:
 - http://www.mouser.com/catalog/specsheets/2514.pdf p29

Reviewed-by: Richard Leitner <richard.leitner@linux.dev>
Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
Link: https://lore.kernel.org/r/20220128181713.96856-1-tomm.merciai@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usb251xb.c