PCI: j721e: Add voltage regulator support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: PCI: ti,j721e-pci-host: Add optional regulator suppliesDocumentation/ | +14 | 4 replies | |
| 2/2 | PCI: j721e: Add support for optional regulator suppliesdrivers/ | +13 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/2] PCI: j721e: Add voltage regulator support
From: Vitor Soares <[email protected]>
Some PCIe endpoints or slots connected to the TI J721E PCIe root complex may require external voltage regulators to provide 1.5V, 3.3V, or 12V supplies. These regulators depend on the specific board design — for example, M.2 or miniPCIe connectors often need 3.3V or 1.5V, while full-size PCIe slots may also require 12V.
This series adds bindings and driver support for these optional regulators. When present, the driver enables them automatically using devm_regulator_get_enable_optional(), ensuring proper cleanup on removal.
Tested on a Toradex Aquila AM69 platform with a Wi-Fi PCIe endpoint requiring 3.3V.
These changes are based on upstream discussion:
https://lore.kernel.org/linux-pci/[email protected]/
Vitor Soares (2):
dt-bindings: PCI: ti,j721e-pci-host: Add optional regulator supplies
PCI: j721e: Add support for optional regulator supplies
.../devicetree/bindings/pci/ti,j721e-pci-host.yaml | 14 ++++++++++++++ drivers/pci/controller/cadence/pci-j721e.c | 13 +++++++++++++ 2 files changed, 27 insertions(+)
Signature · 1 line
2.51.0