openwrtv4/target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc
Mathias Kresin 287b7aa583 ramips: drop obsolete sd card driver code
The pinmux for all SoCs using this driver is now set via the pinmux. It
makes this code obsolete.

Some of the code targeting the mt76x8 SoCs is still required. The sd
card pins share the pads with the EPHY. These pads need to be switched
to digital mode if the pins are used for sd cards.

The eMMC 8-bit mode has to be enabled via pinmux instead of a kernel
option. The uart2 group need to be set to function "sdxc d5 d4", pwm1
to "sdxc d6" and pwm0 to "sdxc d7" to do so. It can't be done by as
part of a default pinmux, as it would break the normal operation of
uart2.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-09-06 21:35:53 +02:00
..
board.h ramips: mmc: Sync with staging driver 2018-05-18 08:49:52 +02:00
dbg.c ramips: mmc: Sync with staging driver 2018-05-18 08:49:52 +02:00
dbg.h ramips: mmc: Sync with staging driver 2018-05-18 08:49:52 +02:00
Kconfig ramips: drop obsolete sd card driver code 2018-09-06 21:35:53 +02:00
Makefile ramips: move mtk-mmc driver code out of patches-*/ and into files-*/ 2018-04-05 18:12:30 +02:00
mt6575_sd.h Revert "ramips: mmc: Fix init for MT7628AN" 2018-08-30 13:19:26 +02:00
sd.c ramips: drop obsolete sd card driver code 2018-09-06 21:35:53 +02:00