mbox series

[RFC,0/8] Add MMC support for S700

Message ID 1588761371-9078-1-git-send-email-amittomer25@gmail.com (mailing list archive)
Headers show
Series Add MMC support for S700 | expand

Message

Amit Tomer May 6, 2020, 10:36 a.m. UTC
The intention of this series is to enable uSD support for Cubieboard7
based on Actions S700 SoC, and on the way we found that it requires
changes in dmaengine present on S700 as its different from what is
present on S900.

Patch(1/8) does provide a new way to describe DMA descriptor, idea is
to remove the bit-fields as its less maintainable. It is only build
tested and it would be great if this can be tested on S900 based
hardware.

Patch(2/8) adds S700 DMA engine support, there is new compatible
string added for it, which means a changed bindings needed to submitted
for this. I would plan to send it later the converted "owl-dma.yaml".

Patch(4/8) disables the sps node as its memory range is conflicting
pinctrl node and results in pinctrl proble failure.

Rest of patches in the series adds DMA/MMC nodes for S700
alone with binding constants and enables the uSD for Cubieboard7.

This whole series is tested, by building/compiling Kernel on
Cubieboard7-lite which was *almost* successful (OOM kicked in,
while Linking due to less RAM present on hardware).

Following is the mmc speed :

ubuntu@ubuntu:~$ sudo hdparm -tT /dev/mmcblk0

/dev/mmcblk0:
 Timing cached reads:   1310 MB in  2.00 seconds = 655.15 MB/sec
 Timing buffered disk reads:  62 MB in  3.05 seconds =  20.30 MB/sec

Amit Singh Tomar (8):
  dmaengine: Actions: get rid of bit fields from dma descriptor
  dmaengine: Actions: Add support for S700 DMA engine
  clk: actions: Add MMC clock-register reset bits
  arm64: dts: actions: disable sps node from S700
  arm64: dts: actions: Add DMA Controller for S700
  dt-bindings: reset: s700: Add binding constants for mmc
  arm64: dts: actions: Add MMC controller support for S700
  arm64: dts: actions: Add uSD support for Cubieboard7

 arch/arm64/boot/dts/actions/s700-cubieboard7.dts |  41 ++++++
 arch/arm64/boot/dts/actions/s700.dtsi            |  48 +++++++
 drivers/clk/actions/owl-s700.c                   |   3 +
 drivers/dma/owl-dma.c                            | 166 +++++++++++++----------
 include/dt-bindings/reset/actions,s700-reset.h   |   3 +
 5 files changed, 193 insertions(+), 68 deletions(-)