mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
2c363a070e
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.75 Removed upstreamed: generic/hack-6.1/321-powerpc_crtsavres_prereq.patch[1] generic/pending-6.1/540-ksmbd-only-v2-leases-handle-the-directory.patch[2] Rebased: bcm27xx/patches-6.1/950-0670-fbdev-Don-t-cancel-deferred-work-if-pagelist-empty.patch[3] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.75&id=16b88e68b85d5520c28498bb847358ff6300cb90 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/fs/smb?h=v6.1.75&id=c866866c795296d3637ab0d48a3d8a3ef5d6f4a3 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.75&id=81f444f22816a82ada2cc787a2845cffc8c584a6 Build system: x86/64 Build-tested: x86/64/AMD Cezanne Run-tested: x86/64/AMD Cezanne Signed-off-by: John Audia <therealgraysky@proton.me>
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
From: qizhong cheng <qizhong.cheng@mediatek.com>
|
|
Date: Mon, 27 Dec 2021 21:31:10 +0800
|
|
Subject: [PATCH] PCI: mediatek: Assert PERST# for 100ms for power and clock to
|
|
stabilize
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Described in PCIe CEM specification sections 2.2 (PERST# Signal) and
|
|
2.2.1 (Initial Power-Up (G3 to S0)). The deassertion of PERST# should
|
|
be delayed 100ms (TPVPERL) for the power and clock to become stable.
|
|
|
|
Link: https://lore.kernel.org/r/20211227133110.14500-1-qizhong.cheng@mediatek.com
|
|
Signed-off-by: qizhong cheng <qizhong.cheng@mediatek.com>
|
|
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
|
|
Acked-by: Pali Rohár <pali@kernel.org>
|
|
---
|
|
|
|
--- a/drivers/pci/controller/pcie-mediatek.c
|
|
+++ b/drivers/pci/controller/pcie-mediatek.c
|
|
@@ -708,6 +708,13 @@ static int mtk_pcie_startup_port_v2(stru
|
|
*/
|
|
msleep(100);
|
|
|
|
+ /*
|
|
+ * Described in PCIe CEM specification sections 2.2 (PERST# Signal) and
|
|
+ * 2.2.1 (Initial Power-Up (G3 to S0)). The deassertion of PERST# should
|
|
+ * be delayed 100ms (TPVPERL) for the power and clock to become stable.
|
|
+ */
|
|
+ msleep(100);
|
|
+
|
|
/* De-assert PHY, PE, PIPE, MAC and configuration reset */
|
|
val = readl(port->base + PCIE_RST_CTRL);
|
|
val |= PCIE_PHY_RSTB | PCIE_PERSTB | PCIE_PIPE_SRSTB |
|