[PATCH 3/3] mips: pci-mt7620: rework initialization procedure
Thomas Bogendoerfer
tsbogend at alpha.franken.de
Mon Apr 6 05:29:28 PDT 2026
On Wed, Jun 18, 2025 at 11:42:07AM +0800, Shiji Yang wrote:
> Move the reset operation to the common part to reduce the code
> redundancy. They are actually the same and needed for all SoCs.
> Disabling power and clock are unnecessary for MT7620 and will be
> removed. In vendor SDK, it's used to save the power when the PCI
> driver is not selected. The MT7628 GPIO pinctrl has been removed
> because this should be done in device-tree. Some delay intervals
> have also been increased to follow the recommendations of the SoC
> SDK and datasheet. Tested on both MT7620 and MT7628.
>
> Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
> ---
> arch/mips/pci/pci-mt7620.c | 38 +++++++++++++-------------------------
> 1 file changed, 13 insertions(+), 25 deletions(-)
applied to mips-next
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
More information about the Linux-mediatek
mailing list