u-boot/drivers/usb/ulpi/Kconfig
Tom Rini 831a38483c usb: ulpi: Clean up how we enable support
The way we enable ULPI support today isn't something that should work.
The "optional" keyword in a choice statement is not a documented
feature. To make this work in a supported way, make USB_ULPI something
we ask about if USB_HOST is set. Next, we move the choice of what
viewer to use to be after the framework portion and to depend on that.
We then borrow a few words from the top-level README to make the help
text here clearer. Finally we make the Qualcomm driver select ULPI as
it's required and we make the tegra driver not duplicate a check that
Kconfig now handles for us.

Signed-off-by: Tom Rini <trini@konsulko.com>
2025-05-25 15:44:13 +02:00

29 lines
771 B
Plaintext

comment "ULPI drivers"
config USB_ULPI
bool "ULPI support"
depends on USB_HOST
help
Select to commnicate with USB PHY via ULPI interface.
The ULPI (UTMI Low Pin (count) Interface) is a wrapper on UTMI+ core
that is used as PHY Transreceiver for USB controllers.
This driver uses ULPI viewports that are specific for each SoC.
choice
prompt "ULPI Viewport type"
depends on USB_ULPI
help
Select ULPI viewport (SoC-side interface to ULPI) implementation
appropriate for the device if you want to communicate with
UTMI (USB PHY) via ULPI interface.
config USB_ULPI_VIEWPORT
bool "Generic ULPI Viewport"
depends on USB_ULPI
help
Support generic ULPI Viewport implementation that is used on
some Tegra and Snapdragon devices.
endchoice