Hi Lukasz,

On 4/25/25 12:56 PM, Lukasz Czechowski wrote:
The HX3 is a family of USB3.0 hub controllers that comes in
different variants: CYUSB330x/CYUSB331x/CYUSB332x/CYUSB230x.
To support this hub, controlling of reset pin and two
power supplies is required.
The reset time is set to 10ms, based on the datasheet [1].
Power-on delay time is not required, so it is set to 0.

Global struct have their members initialized to "zero" in C, c.f. https://stackoverflow.com/a/16015741 so you can simply omit it.

The compatible strings added to of_match table are
compliant with usb/cypress,hx3.yaml bindings.

[1] 
https://www.infineon.com/dgdl/Infineon-HX3_USB_3_0_Hub_Consumer_Industrial-DataSheet-v22_00-EN.pdf?fileId=8ac78c8c7d0d8da4017d0ecb53f644b8
Signed-off-by: Lukasz Czechowski <[email protected]>

This matches what was recently merged in Linux, so:

Reviewed-by: Quentin Schulz <[email protected]>

Thanks!
Quentin

Reply via email to