]> Git Repo - u-boot.git/commit
apalis-imx8: add USBH_EN gpio hog
authorAndrejs Cainikovs <[email protected]>
Tue, 12 Dec 2023 12:27:25 +0000 (09:27 -0300)
committerTom Rini <[email protected]>
Tue, 12 Dec 2023 21:33:53 +0000 (16:33 -0500)
commit32c9dfcc56e61728f4254b9a5765db1c1466f423
tree0d9144b1db339f11fb82beb96d4822f33f336423
parentad3a4f91e7ca7002d71920417ca529e7e8e7460a
apalis-imx8: add USBH_EN gpio hog

USB host interface is not working on some Apalis Toradex carrier
boards with Apalis iMX8 SoM. This is due to USBH_EN pin, which
powers USB peripherals, having a strong pull-down on some boards,
and a weak pull-down on the others. This USBH_EN pin is left
unconfigured, which means it is in its default state at cold boot:
input with a strong pull-up. As a result, carrier boards with a
weak pull-down have this signal high enough to trigger power
delivery to USB peripherals, and opposite - boards with strong
pull-down on USBH_EN have this signal below the threshold needed
to trigger USB power delivery.
This change configures the USBH_EN pin as gpio hog, fixing this
issue for all Apalis carrier boards regardless of pull-down
resistor value.

Also, update apalis-imx8_defconfig via savedefconfig.

Signed-off-by: Andrejs Cainikovs <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi
configs/apalis-imx8_defconfig
This page took 0.040869 seconds and 4 git commands to generate.