Skip to contentSkip to conversation

MMC driver for s905/GXBB

RFT Kevin Hilman 1 participant 1 message Jun 23, 2016 Arm/Amlogic Meson SoC support

lore
Share & tools
lore

Kevin Hilman

author maintainer
#0 lore raw

Hello all,

For those of you that have been waiting/asking for MMC support on mainline for the s905/GXBB, you can stop waiting and start testing.

The v4.7/integ branch of the amlogic tree[1] has the first pass of a driver.

It's had some basic testing on the Amlogic P200 dev board and the odroidc2 using external SD cards. Testing included creating filesystems, basic file copy/delete/md5sum and card detect support.

Notably untested is the eMMC support, but I wanted to get it out sooner rather than later for broader testing.

Also, for data xfer it's using memcpy (actually sg_copy_*_buffer) so it's not terribly efficient, but the next step is to take better advantage of the DMA-like descriptors in the MMC hardware to speed up bigger xfers.

After a bit more cleanup and testing, I hope to get this posted to the MMC list next week.

Happy testing,

Kevin

[1] https://git.kernel.org/cgit/linux/kernel/git/khilman/linux-amlogic.git/log/?h=v4.7/integ