mbox series

[v1,0/3] usb: misc: usb3503: support usb3803 and bypass mode

Message ID 20230313165039.255579-1-francesco@dolcini.it (mailing list archive)
Headers show
Series usb: misc: usb3503: support usb3803 and bypass mode | expand

Message

Francesco Dolcini March 13, 2023, 4:50 p.m. UTC
From: Francesco Dolcini <francesco.dolcini@toradex.com>

Add support for USB3803 and bypass mode.

While the usb3503 variant uses a HSIC connection to upstream, the usb3803 uses
a regular USB connection and provides a bypass mode.

In bypass mode the downstream port 3 is connected to the upstream port with low
switch resistance R_on.

Controlling mode of operations:

| RESET_N | BYPASS_N | Mode    |
--------------------------------
|    0    |    0     | standby |
|    1    |    0     | bypass  |
|    1    |    1     | hub     |


Emanuele Ghidoli (3):
  dt-bindings: usb: smsc,usb3503: Add usb3803
  usb: misc: usb3503: refactor code to prepare for usb3803 addition
  usb: misc: usb3503: support usb3803 and bypass mode

 .../devicetree/bindings/usb/smsc,usb3503.yaml | 54 +++++++++++++++-
 drivers/usb/misc/usb3503.c                    | 64 +++++++++++--------
 include/linux/platform_data/usb3503.h         |  1 +
 3 files changed, 92 insertions(+), 27 deletions(-)