usb: ulpi: Clean up how we enable support
authorTom Rini <trini@konsulko.com>
Sat, 15 Mar 2025 01:27:36 +0000 (19:27 -0600)
committerMarek Vasut <marex@denx.de>
Sun, 25 May 2025 13:44:13 +0000 (15:44 +0200)
commit831a38483cf21b395bb0d9d7a34fb9b430e9bb86
tree97e1d15648376b642aa4d1a7d65e6b9144d0fd76
parentcd9c8814b0cd0200b68f96406b3ce9f2b1a6af87
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>
README
drivers/usb/host/Kconfig
drivers/usb/host/ehci-tegra.c
drivers/usb/ulpi/Kconfig