devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: usb251xb: configurable reset delay
@ 2022-04-26 12:33 Daniels Umanovskis
  2022-04-26 12:33 ` [PATCH 1/2] dt-bindings: usb: usb251xb: add documentation for reset-delay-us Daniels Umanovskis
  2022-04-26 12:34 ` [PATCH 2/2] usb: usb251xb: make power-up reset delay configurable in device tree Daniels Umanovskis
  0 siblings, 2 replies; 13+ messages in thread
From: Daniels Umanovskis @ 2022-04-26 12:33 UTC (permalink / raw)
  To: richard.leitner, linux-usb, robh+dt, devicetree; +Cc: Daniels Umanovskis

The Microchip USB251xB hub, according to its datasheet, is operational
500us after deasserting reset on startup and can then be attached or
configured.

I ran into a batch of such hubs, of the 2512Bi variant,
that didn't appear to work or only worked sporadically. Debugging the
issue revealed that these specific hubs do not typically manage to
reset within 500us. Instead they become operational 800us
or so after deasserting the RESET_N signal.

This is probably a faulty batch of the chips but making the reset delay
configurable through dt bindings allows these chips to be used.

Daniels Umanovskis (2):
  dt-bindings: usb: usb251xb: add documentation for reset-delay-us
  usb: usb251xb: make power-up reset delay configurable in device tree

 Documentation/devicetree/bindings/usb/usb251xb.txt | 2 ++
 drivers/usb/misc/usb251xb.c                        | 6 +++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-05-04 14:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-26 12:33 [PATCH 0/2] usb: usb251xb: configurable reset delay Daniels Umanovskis
2022-04-26 12:33 ` [PATCH 1/2] dt-bindings: usb: usb251xb: add documentation for reset-delay-us Daniels Umanovskis
2022-04-27  7:37   ` Richard Leitner - SKIDATA
2022-05-03  0:20   ` Rob Herring
2022-05-03  7:49     ` Daniels Umanovskis
2022-05-03  9:21       ` Richard Leitner - SKIDATA
2022-05-03  9:41         ` Daniels Umanovskis
2022-05-04 14:09           ` Rob Herring
2022-04-26 12:34 ` [PATCH 2/2] usb: usb251xb: make power-up reset delay configurable in device tree Daniels Umanovskis
2022-04-26 12:46   ` Greg KH
2022-04-26 13:06     ` Daniels Umanovskis
2022-04-26 13:56       ` Greg KH
2022-04-27  7:38   ` Richard Leitner - SKIDATA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).