[PATCH v2 0/2] PCI: mediatek-gen3: Support controlling power and

From: Jian Yang
Date: Mon Mar 06 2023 - 01:41:26 EST


From: "jian.yang" <jian.yang@xxxxxxxxxxxx>

These series patches add support for controlling power supplies and reset
GPIO of a downstream component in Mediatek's PCIe GEN3 controller driver.

Changes in v2:
1. Remove an unnecessary property in dt-bindings file.
2. Use the flag 'GPIOD_OUT_LOW' to set initial state of a downstream
component's reset GPIO.
3. Keep downstream component powered on in suspend state if it need to
wakeup the system.

jian.yang (2):
dt-bindings: PCI: mediatek-gen3: Add support for controlling power and
reset
PCI: mediatek-gen3: Add power and reset control feature for downstream
component

.../bindings/pci/mediatek-pcie-gen3.yaml | 17 ++++
drivers/pci/controller/pcie-mediatek-gen3.c | 86 ++++++++++++++++++-
2 files changed, 102 insertions(+), 1 deletion(-)

--
2.18.0