[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241028105413.146510-1-francesco@dolcini.it>
Date: Mon, 28 Oct 2024 11:54:11 +0100
From: Francesco Dolcini <francesco@...cini.it>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Mathias Nyman <mathias.nyman@...el.com>,
Francesco Dolcini <francesco.dolcini@...adex.com>
Cc: linux-usb@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v4 0/2] USB: xhci: add support for PWRON polarity invert (TI TUSB73x0)
From: Francesco Dolcini <francesco.dolcini@...adex.com>
The TUSB73x0 is a USB 3.0 xHCI Host Controller Hub using a PCIe x1 Gen2
interface. The TUSB7320 supports up to two downstream ports, and the
TUSB7340 supports up to four. It includes a feature to configure the
polarity of the PWRONx# signals, which are used to control other peripherals.
In some systems, the default polarity needs to be inverted, which is
supported by the hardware through software configuration. This patch
series introduces TUSB73x0 PCIe device tree bindings and modifies the
USB XHCI PCI driver to handle PWRONx# polarity via a device tree property.
TUSB73x0 datasheet: https://www.ti.com/lit/ds/symlink/tusb7320.pdf
v4:
- DT binding: revise example, add $ref: usb-xhci.yaml
v3: https://lore.kernel.org/all/20241018105505.28005-1-francesco@dolcini.it/
- Correct the compatible string as "pci104c,8241" (uppercase hex to lowercase)
v2: https://lore.kernel.org/all/20241007093205.27130-1-francesco@dolcini.it/
- Change the property type from bool to flag
- Rename the property as ti,tusb7320-pwron-active-high
v1: https://lore.kernel.org/all/20241004124521.53442-1-francesco@dolcini.it/
Parth Pancholi (2):
dt-bindings: usb: add TUSB73x0 PCIe
USB: xhci: add support for PWRON active high
.../bindings/usb/ti,tusb73x0-pci.yaml | 55 +++++++++++++++++++
drivers/usb/host/xhci-pci.c | 3 +
2 files changed, 58 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/ti,tusb73x0-pci.yaml
--
2.39.5
Powered by blists - more mailing lists