[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20231106061220.21485-1-jian.yang@mediatek.com>
Date: Mon, 6 Nov 2023 14:12:18 +0800
From: Jian Yang <jian.yang@...iatek.com>
To: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Krzysztof WilczyĆski <kw@...ux.com>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Rob Herring <robh@...nel.org>,
Jianjun Wang <jianjun.wang@...iatek.com>
CC: <linux-pci@...r.kernel.org>, <linux-mediatek@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>,
<Chuanjia.Liu@...iatek.com>, <Jieyy.Yang@...iatek.com>,
<Qizhong.Cheng@...iatek.com>, <Jianguo.Zhang@...iatek.com>,
Jian Yang <jian.yang@...iatek.com>
Subject: [PATCH v4 0/2] PCI: mediatek-gen3: Support controlling power supplies
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
Powered by blists - more mailing lists