]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: pci: Add MT7620a PCIE driver
authorJohn Crispin <blogic@openwrt.org>
Mon, 4 Jan 2016 19:24:01 +0000 (20:24 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Jan 2016 23:39:20 +0000 (00:39 +0100)
commit3a7284d61b0fee8b780c97109efaf87abdc35870
treed8bebd4622fb5389e05a4220e1c19e5e64d63174
parent4f6c168ccb7cb04cec161a3a17614e79f65cbea2
MIPS: pci: Add MT7620a PCIE driver

The "a" version of the MT7620 has single port PCIE bus. The driver is
straightforward without any special magic required. The driver works on
MT7620 and MT7628. There are a few magic values that get written to the
pcie phy and a register of which we only know the name. I marked these
places as vodoo in the comments above the code.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11996/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/Makefile
arch/mips/pci/pci-mt7620.c [new file with mode: 0644]
arch/mips/ralink/Kconfig