[PATCH v4 0/2] PCI: mediatek-gen3: Support controlling power supplies

Jian Yang posted 2 patches 1 year ago
Only 0 patches received!
.../bindings/pci/mediatek-pcie-gen3.yaml      | 30 +++++++
drivers/pci/controller/pcie-mediatek-gen3.c   | 89 ++++++++++++++++++-
2 files changed, 118 insertions(+), 1 deletion(-)
[PATCH v4 0/2] PCI: mediatek-gen3: Support controlling power supplies
Posted by Jian Yang 1 year ago
Add support for controlling power supplies and reset GPIO of a downstream
component in Mediatek's PCIe GEN3 controller driver.

Changes in v4:
1. Rename power supplies properties in DT binding and driver.
2. Reorder variables alphabetically.
3. Use 'dev_err_probe' to do some error handling stuff.

Changes in v3:
1. Modify description of power supply properties in DT binding.
2. Remove unused header files.
3. Use 'device_wakeup_path' to determine whether the downstream component
needs to skip the reset process in system suspend scenarios.

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 is capable
of waking up 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      | 30 +++++++
 drivers/pci/controller/pcie-mediatek-gen3.c   | 89 ++++++++++++++++++-
 2 files changed, 118 insertions(+), 1 deletion(-)

-- 
2.18.0