Re: [PATCH v2 2/3] usb: misc: onboard-hub: add support for Cypress HX3 USB 3.0 family

From: Matthias Kaehlcke
Date: Wed Jun 21 2023 - 11:08:15 EST


On Wed, Jun 21, 2023 at 04:26:28PM +0200, Benjamin Bara wrote:
> From: Benjamin Bara <benjamin.bara@xxxxxxxxxxx>
>
> The HX3 comes in different variants (up to 4 USB 3.0 ports; multi-TT),
> e.g. CYUSB330x/CYUSB331x/CYUSB332x/CYUSB230x. It operates with two
> different power supplies: 1V2 and 3V3.
>
> Add the support for this hub, for controlling the reset pin and the
> power supplies.
>
> Reset time is extracted from data sheet, page 24:
> "The RESETN pin can be tied to VDD_IO through an external resistor and
> to ground (GND) through an external capacitor (minimum 5 ms time
> constant)."
> V_IH min is given at 0.7 * 3V3 (page 34), therefore use 10ms.
>
> Also add USB PIDs for the USB 2.0 and USB 3.0 root hub.
>
> Signed-off-by: Benjamin Bara <benjamin.bara@xxxxxxxxxxx>

Acked-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>