From: Francesco Dolcini <francesco@dolcini.it>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Mathias Nyman <mathias.nyman@intel.com>,
Francesco Dolcini <francesco.dolcini@toradex.com>
Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v3 0/2] USB: xhci: add support for PWRON polarity invert (TI TUSB73x0)
Date: Fri, 18 Oct 2024 12:55:03 +0200 [thread overview]
Message-ID: <20241018105505.28005-1-francesco@dolcini.it> (raw)
From: Francesco Dolcini <francesco.dolcini@toradex.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
v3:
- 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 | 60 +++++++++++++++++++
drivers/usb/host/xhci-pci.c | 3 +
2 files changed, 63 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/ti,tusb73x0-pci.yaml
--
2.39.5
next reply other threads:[~2024-10-18 10:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-18 10:55 Francesco Dolcini [this message]
2024-10-18 10:55 ` [PATCH v3 1/2] dt-bindings: usb: add TUSB73x0 PCIe Francesco Dolcini
2024-10-18 14:07 ` Rob Herring
2024-10-18 14:18 ` Francesco Dolcini
2024-10-18 10:55 ` [PATCH v3 2/2] USB: xhci: add support for PWRON active high Francesco Dolcini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241018105505.28005-1-francesco@dolcini.it \
--to=francesco@dolcini.it \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=francesco.dolcini@toradex.com \
--cc=gregkh@linuxfoundation.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox