diff options
| author | 2025-10-03 12:13:18 -0500 | |
|---|---|---|
| committer | 2025-10-03 12:13:18 -0500 | |
| commit | efe4466add2f237fe17d053e2de71768e1141463 (patch) | |
| tree | aff9eb9b27093812eabc460aef9375ccdbd24bf9 /drivers/pci/controller/dwc | |
| parent | Merge branch 'pci/controller/hv' (diff) | |
| parent | PCI: imx6: Enable the Vaux supply if available (diff) | |
| download | wireguard-linux-efe4466add2f237fe17d053e2de71768e1141463.tar.xz wireguard-linux-efe4466add2f237fe17d053e2de71768e1141463.zip | |
Merge branch 'pci/controller/imx6'
- Enable the 3.3V Vaux supply if available so devices can request wakeup
with either Beacon or WAKE# (Richard Zhu)
* pci/controller/imx6:
PCI: imx6: Enable the Vaux supply if available
Diffstat (limited to 'drivers/pci/controller/dwc')
| -rw-r--r-- | drivers/pci/controller/dwc/pci-imx6.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index 7ee21fac81a6..4668fc9648bf 100644 --- a/drivers/pci/controller/dwc/pci-imx6.c +++ b/drivers/pci/controller/dwc/pci-imx6.c @@ -1741,6 +1741,10 @@ static int imx_pcie_probe(struct platform_device *pdev) pci->max_link_speed = 1; of_property_read_u32(node, "fsl,max-link-speed", &pci->max_link_speed); + ret = devm_regulator_get_enable_optional(&pdev->dev, "vpcie3v3aux"); + if (ret < 0 && ret != -ENODEV) + return dev_err_probe(dev, ret, "failed to enable Vaux supply\n"); + imx_pcie->vpcie = devm_regulator_get_optional(&pdev->dev, "vpcie"); if (IS_ERR(imx_pcie->vpcie)) { if (PTR_ERR(imx_pcie->vpcie) != -ENODEV) |
