]> www.infradead.org Git - users/dwmw2/linux.git/commit
USB: xhci: add support for PWRON active high
authorParth Pancholi <parth.pancholi@toradex.com>
Tue, 29 Oct 2024 07:24:44 +0000 (08:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Nov 2024 00:28:54 +0000 (01:28 +0100)
commitc74c2cc7b760905f069bfb35d8844d7ced85587a
treee75204e18280f5c65bd771a177138d57443768d7
parentd9649a7e4d7da846ae8dfb6098b8f7ce2921bf62
USB: xhci: add support for PWRON active high

Some PCIe-to-USB controllers such as TI's TUSB73x0 3.0 xHCI host
controller supports controlling the PWRONx polarity via the USB control
register (E0h). Add support for device tree property
ti,pwron-active-high which indicates PWRONx to be active high and
configure the E0h register accordingly.  This enables the software
control for the TUSB73x0's PWRONx outputs with an inverted polarity from
the default configuration which could be used as USB EN signals for the
other hubs or devices.

Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20241029072444.8827-3-francesco@dolcini.it
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci.c