Patchset adjusts the Tegra-specific portion of the Chipidea USB controller
to allow for the disabling of automatic PHY and USB controller
registration. This is achieved by adding the nvidia,external-control
property/flag. It does not affect any existing configurations, but it
allows the USB line to be registered or deregistered by an external
device — in this case, the modem.
Since Tegra USB PHY holds clock gating for controller PHY cannot be
handled by code Chipidea mechanism.
This patchset is a part of larger series aiming to bring XMM6260 modem
support for Tegra devices:
https://lore.kernel.org/lkml/20260511135703.62470-1-clamor95@gmail.com/
---
Changes in v2:
- separated Tegra USB into its own schema
- tegra_usb structure moved into tegra_usb_phy.h
---
Svyatoslav Ryhel (4):
dt-bindings: usb: Move Tegra-specific Chipidea USB properties into a
dedicated schema
dt-bindings: usb: chipidea,usb2-tegra: Document
nvidia,external-control property
usb: chipidea: tegra: Avoid controller/PHY init if bus is externally
controlled
usb: chipidea: tegra: Expose tegra_usb structure
.../bindings/usb/chipidea,usb2-tegra.yaml | 95 +++++++++++++++++++
.../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 22 -----
drivers/usb/chipidea/ci_hdrc_tegra.c | 43 ++++-----
include/linux/usb/tegra_usb_phy.h | 15 +++
4 files changed, 131 insertions(+), 44 deletions(-)
create mode 100644 Documentation/devicetree/bindings/usb/chipidea,usb2-tegra.yaml
--
2.51.0