public inbox for linux-mediatek@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/2] PCI: mediatek-gen3: Fix the control timing of PERST#
@ 2026-04-13  7:13 Jian Yang
  2026-04-13  7:13 ` [PATCH 1/2] PCI: mediatek-gen3: Fix PERST# control timing during system startup Jian Yang
  2026-04-13  7:13 ` [PATCH 2/2] PCI: mediatek-gen3: Add a shutdown callback to cotnrol PERST# signal Jian Yang
  0 siblings, 2 replies; 3+ messages in thread
From: Jian Yang @ 2026-04-13  7:13 UTC (permalink / raw)
  To: Matthias Brugger, AngeloGioacchino Del Regno, Ryder Lee,
	Lorenzo Pieralisi, Krzysztof Wilczyński,
	Manivannan Sadhasivam, Rob Herring, Bjorn Helgaas
  Cc: linux-pci, linux-mediatek, linux-kernel,
	Project_Global_Chrome_Upstream_Group, jian.yang, chuanjia.liu,
	yonglong.wu

Dear maintainers,

The purpose of this patch series is to fix the PERST# control timing
in the MediaTek PCIe Gen3 controller driver so that it complies with
the PCIe CEM specification.

In the current MediaTek PCIe Gen3 controller driver, there are two
issues with PERST# timing:
1. During the power-up phase (i.e., before PCIe link-up), on some
MediaTek SoCs PERST# is de-asserted before the REFCLK becomes stable;
2. During system shutdown, PERST# is not asserted before power is
removed.

Patch 1 fixes the reset signal sequencing during the power-up phase.

Patch 2 adds a shutdown callback to control PERST# during system
shutdown.

Best regards,
Jian Yang

Jian Yang (2):
  PCI: mediatek-gen3: Fix PERST# control sequence at system startup
    phase
  PCI: mediatek-gen3: Add shutdown callback to cotnrol PERST# signal

 drivers/pci/controller/pcie-mediatek-gen3.c | 30 ++++++++++++++++++---
 1 file changed, 27 insertions(+), 3 deletions(-)

-- 
2.45.2



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-13  7:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-13  7:13 [PATCH 0/2] PCI: mediatek-gen3: Fix the control timing of PERST# Jian Yang
2026-04-13  7:13 ` [PATCH 1/2] PCI: mediatek-gen3: Fix PERST# control timing during system startup Jian Yang
2026-04-13  7:13 ` [PATCH 2/2] PCI: mediatek-gen3: Add a shutdown callback to cotnrol PERST# signal Jian Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox