Skip to content

usb: chipidea: tegra: Add external control option

Svyatoslav Ryhel linux-devicetree linux-tegra linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 4 repliesIn review

Changes in v2 from the cover letter

- separated Tegra USB into its own schema
- tegra_usb structure moved into tegra_usb_phy.h
---

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: usb: Move Tegra-specific Chipidea USB properties into a dedicated schemaDocumentation/devicetree/bindings/usb/chipidea,usb2-tegra.yaml Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml+88 -220 replies
2/4dt-bindings: usb: chipidea,usb2-tegra: Document nvidia,external-control propertyDocumentation/devicetree/bindings/usb/chipidea,usb2-tegra.yaml+7 -00 replies
3/4usb: chipidea: tegra: Avoid controller/PHY init if bus is externally controlleddrivers/usb/chipidea/ci_hdrc_tegra.c+21 -113 replies
4/4usb: chipidea: tegra: Expose tegra_usb structuredrivers/usb/chipidea/ci_hdrc_tegra.c include/linux/usb/tegra_usb_phy.h+16 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] usb: chipidea: tegra: Add external control option

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/[email protected]/

---
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
Signature · 1 line
2.51.0