USB 5v power enable GPIO pin

Post Reply
moon.linux
Posts: 1203
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 1 time
Been thanked: 13 times
Contact:

USB 5v power enable GPIO pin

Post by moon.linux »

Hi All,

From the schematics
Odroid C1+ https://dn.odroid.com/S805/Schematics/o ... 160226.pdf
Odroid C2 https://dn.odroid.com/S905/Schematic/od ... 171114.pdf
GL852G USB HUB datasheet https://datasheet.lcsc.com/szlcsc/Genes ... 136618.pdf

Can somebody from the Hardware team clarify the use of PWREN <--- GPIOAO.BIT5
It's a various use case in the schematic.
Image

Below is the patch series I am working on its a bit confusing to enable 5V power signal to USB HUB ports.
[0] https://lore.kernel.org/linux-devicetre ... gmail.com/

I am not clear on the way to enable the 5V USB supply to the USB ports, I could not find this in Amlogic Source code.
Please help me resolve this issue.

Note: Can somebody share the example on how to verify the signal. Any tools to analyze this behavior.

Thanks
-Anand

User avatar
odroid
Site Admin
Posts: 37753
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1910 times
Been thanked: 1184 times
Contact:

Re: USB 5v power enable GPIO pin

Post by odroid »

Power-Enable signal to the USB load switch ICs is connected to the USB hub controller.
It is not connected the CPU GPIO.
The USB hub controller RESET pin is connected to the CPU GPIOA0.BIT4 on the C1 as well as the C2.
These users thanked the author odroid for the post:
moon.linux (Wed Jul 21, 2021 6:35 pm)

moon.linux
Posts: 1203
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
ODROIDs: U3, XU3. XU4, C1+...
Has thanked: 1 time
Been thanked: 13 times
Contact:

Re: USB 5v power enable GPIO pin

Post by moon.linux »

Odroid, Thanks for the input.

By the way, can you do some Eye testing on USB hub nodes and share the results for Odroid C1+/ C2 using the latest kernel and vendor kernel.

http://www.testusb.com/HSEYE.htm

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 2 guests