Re: [PATCH] PCI: imx6: add regulator support

From: Rob Herring
Date: Mon Jun 12 2017 - 12:00:11 EST


On Thu, Jun 08, 2017 at 10:07:42AM +0200, Quentin Schulz wrote:
> Some boards might require to control a regulator to power the PCIe port.
>
> This adds 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@xxxxxxxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/pci/fsl,imx6q-pcie.txt | 4 +++
> drivers/pci/dwc/pci-imx6.c | 34 +++++++++++++++++++++-
> 2 files changed, 37 insertions(+), 1 deletion(-)

Acked-by: Rob Herring <robh@xxxxxxxxxx>