]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: add spi controller support for MediaTek MT7620 SoC
authorWeijie Gao <weijie.gao@mediatek.com>
Thu, 12 Nov 2020 08:36:42 +0000 (16:36 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 24 Jan 2021 20:39:26 +0000 (21:39 +0100)
commit2db6fba0510e8b1694c7e9755840b751694f8983
treeedd720ca7ad85fa5620bf5e90df1dc1318d3417b
parentca610ddf973eeafad26cacf54db820ca8843e026
spi: add spi controller support for MediaTek MT7620 SoC

This patch adds spi controller support for MediaTek MT7620 SoC.

The SPI controller supports two chip selects. These two chip selects are
implemented as two separate register groups, but they share the same bus
(DI/DO/CLK), only CS pins are dedicated for each register group.
Appearently these two register groups cannot operates simulataneously so
they are implemented as one controller.

Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/mt7620_spi.c [new file with mode: 0644]