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

Jian Yang jian.yang at mediatek.com
Sun Mar 5 22:40:57 PST 2023


From: "jian.yang" <jian.yang at mediatek.com>

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




More information about the linux-arm-kernel mailing list