• AVR Freaks

Helpful ReplyHot!Linux Kernel 4.9.11 / Android 9 driver for USB5807T-I/KD usb-hub

Author
NadavG
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2020/07/15 00:55:06
  • Location: 0
  • Status: offline
2020/07/19 00:20:24 (permalink)
0

Linux Kernel 4.9.11 / Android 9 driver for USB5807T-I/KD usb-hub

Hello,
We are trying to do BSP porting for a custom board with i.MX8M Applications Processor that is using Android 9 OS.
It seems that we need to implement a driver for the USB5807T-I/KD usb-hub.
 
Is there an already made driver we can use?
 
Thanks
#1
roundrocktom
Super Member
  • Total Posts : 1045
  • Reward points : 0
  • Joined: 2012/09/07 08:19:09
  • Location: Texas
  • Status: offline
Re: Linux Kernel 4.9.11 / Android 9 driver for USB5807T-I/KD usb-hub 2020/07/20 11:04:21 (permalink)
0
Linux Kernel should handle all the USB Hub Functionality.
 
There is a Windows Tool called connect configurator you'll find it under 'documents' on this page
The USB5807 has newer silicon, USB5807C
https://www.microchip.com/wwwproducts/en/USB5807C
 
That is used one time to configure the device to specific options (we used it with our own VID AND PID).
 
#2
roundrocktom
Super Member
  • Total Posts : 1045
  • Reward points : 0
  • Joined: 2012/09/07 08:19:09
  • Location: Texas
  • Status: offline
Re: Linux Kernel 4.9.11 / Android 9 driver for USB5807T-I/KD usb-hub 2020/07/20 11:04:23 (permalink) ☄ Helpfulby NadavG 2020/07/21 01:29:49
0
Linux Kernel should handle all the USB Hub Functionality.
 
There is a Windows Tool called connect configurator you'll find it under 'documents' on this page
The USB5807 has newer silicon, USB5807C
https://www.microchip.com/wwwproducts/en/USB5807C
 
That is used one time to configure the device to specific options (we used it with our own VID AND PID).
 
#3
NadavG
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2020/07/15 00:55:06
  • Location: 0
  • Status: offline
Re: Linux Kernel 4.9.11 / Android 9 driver for USB5807T-I/KD usb-hub 2020/07/21 01:28:55 (permalink)
0
Hi Tom,
 
Thanks for your help.
 
a follow-up question, just to be clear:
Do we configure the hub through the SPI lines? if so, we are using linux and not windows, but the tool you advised us to use is for windows.
 
#4
roundrocktom
Super Member
  • Total Posts : 1045
  • Reward points : 0
  • Joined: 2012/09/07 08:19:09
  • Location: Texas
  • Status: offline
Re: Linux Kernel 4.9.11 / Android 9 driver for USB5807T-I/KD usb-hub 2020/07/21 06:59:47 (permalink)
0
SPI Memory is a very rare use case. Microchip does custom code for their super high volume (It was something like 10Million annually volumes), the majority of users will never see external SPI memory.
 
There is a 'boot flow chart' that explains it best:
http://ww1.microchip.com/downloads/en/DeviceDoc/00003182A.pdf
FIGURE 5-1: HUB BOOT FLOWCHART
 
Our process is boards are built, programmed on a Windows machine.   Once built you could load Linux on the machines, as the hub is a USB device.
 
The OTP is odd as if you change all the registers you can do four loads if you change
only a few registers you change to update it about 20 times. During development ran into
that issue, but typically your only doing that a few times.
 
 
 
#5
roundrocktom
Super Member
  • Total Posts : 1045
  • Reward points : 0
  • Joined: 2012/09/07 08:19:09
  • Location: Texas
  • Status: offline
Re: Linux Kernel 4.9.11 / Android 9 driver for USB5807T-I/KD usb-hub 2020/07/21 07:15:05 (permalink)
0
CORRECTION:   Just looked at the App Note for USB5807C, I messed up on that description I gave above.
 
http://ww1.microchip.com/downloads/en/Appnotes/AN2316-Configuration-Options-for-USB58xx-and-USB59xx-Application-Note-00002316B.pdf
 
 
#6
NadavG
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2020/07/15 00:55:06
  • Location: 0
  • Status: offline
Re: Linux Kernel 4.9.11 / Android 9 driver for USB5807T-I/KD usb-hub 2020/07/26 01:41:28 (permalink)
0
Hi,
 
Thanks for your help.
 
We want the hub to operate in default mode, configured only by hardware.
Is it possible to do so in this particular hub (USB5807)?
 
We don't get high voltage level on the PRT_CTL lines and we don't understand the reason why.
 
Thanks
post edited by NadavG - 2020/07/26 06:27:57
#7
roundrocktom
Super Member
  • Total Posts : 1045
  • Reward points : 0
  • Joined: 2012/09/07 08:19:09
  • Location: Texas
  • Status: offline
Re: Linux Kernel 4.9.11 / Android 9 driver for USB5807T-I/KD usb-hub 2020/07/28 08:04:57 (permalink)
0
If it isn't answered by the app note, I'd submit a support case.
 
USB Battery Charging with theUSB57xx Hub Controller Family
http://ww1.microchip.com/...Appnotes/00001905C.pdf
 
https://microchipsupport....e/How-to-submit-a-case
 
Don't overlook the schematic review option.
https://www.microchip.com/design-check-services
#8
Jump to:
© 2020 APG vNext Commercial Version 4.5