diff options
author | Quentin Schulz <quentin.schulz@free-electrons.com> | 2017-06-08 10:07:42 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-07-02 18:43:39 -0500 |
commit | c26ebe98a103479dae9284fe0a86a95af4a5cd46 (patch) | |
tree | 5af5b1c5aa475d9d3c7f35e86c210c4940bc5f18 /include | |
parent | 769b461fc0c0451bacf75826d5830fc07c5a57e4 (diff) |
PCI: imx6: Add regulator support
Some boards might require to control a regulator to power the PCIe port.
Add support for an optional regulator defined in Device Tree linked in the
PCIe controller under `vpcie-supply`. If present, the regulator will be
disabled and then enabled as part of the PCIe host initialization process
and will be disabled when shutting down.
Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
[bhelgaas: use dev_err() instead of pr_err() in
imx6_pcie_assert_core_reset()]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Richard Zhu <hongxing.zhu@nxp.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions