usb: misc: onboard_usb_hub: Add support for Cypress CY7C6563x
authorFrieder Schrempf <frieder.schrempf@kontron.de>
Mon, 27 Nov 2023 11:22:26 +0000 (12:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2023 19:13:22 +0000 (19:13 +0000)
commit24af68a0ed53629bdde7b53ef8c2be72580d293b
treee7726c23badbb80e374f1d2b439fcb95e676d643
parent65e62b8a955adebee8634804d8f72599213c2774
usb: misc: onboard_usb_hub: Add support for Cypress CY7C6563x

The Cypress CY7C6563x is a 2/4-port USB 2.0 hub. Add support for
this hub in the driver in order to bring up reset, supply or clock
dependencies.

There is no reset pulse width given in the datasheet so we expect
a minimal value of 1us to be enough. This hasn't been tested though
due to lack of hardware which has the reset connected to a GPIO.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Link: https://lore.kernel.org/r/20231127112234.109073-3-frieder@fris.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/onboard_usb_hub.c
drivers/usb/misc/onboard_usb_hub.h