mediatek: fix PCIe #PERST being de-asserted too early
authorDaniel Golle <daniel@makrotopia.org>
Tue, 3 Oct 2023 01:32:35 +0000 (02:32 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 3 Oct 2023 15:38:34 +0000 (17:38 +0200)
commit6a2e17d5c1451025396ba523e9f2d112212c7261
tree2b83c6ff481971e9a2d659ba66933b18b3f7e619
parent32a696f9e419ebec5b166847a16a5a45d030acbd
mediatek: fix PCIe #PERST being de-asserted too early

The driver for MediaTek gen3 PCIe hosts de-asserts all reset
signals at the same time using a single register write operation.
Delay the de-assertion of the #PERST signal by 100ms as some PCIe
devices fail to come up otherwise.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/patches-5.15/611-pcie-mediatek-gen3-PERST-for-100ms.patch [new file with mode: 0644]
target/linux/mediatek/patches-5.15/922-v6.1-PCI-mediatek-gen3-change-driver-name-to-mtk-pcie-gen.patch
target/linux/mediatek/patches-6.1/611-pcie-mediatek-gen3-PERST-for-100ms.patch [new file with mode: 0644]