Skip to content

RFC Add MMC support for S700

Amit Singh Tomar dmaengine linux-arm-kernel linux-devicetree 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest8 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8dmaengine: Actions: get rid of bit fields from dma descriptordrivers/dma/owl-dma.c+33 -447 replies
2/8dmaengine: Actions: Add support for S700 DMA enginedrivers/dma/owl-dma.c+70 -293 replies
3/8clk: actions: Add MMC clock-register reset bitsdrivers/clk/actions/owl-s700.c+3 -00 replies
4/8arm64: dts: actions: disable sps node from S700arch/arm64/boot/dts/actions/s700.dtsi+1 -01 reply
5/8arm64: dts: actions: Add DMA Controller for S700arch/arm64/boot/dts/actions/s700.dtsi+13 -00 replies
6/8dt-bindings: reset: s700: Add binding constants for mmcinclude/dt-bindings/reset/actions,s700-reset.h+3 -01 reply
7/8arm64: dts: actions: Add MMC controller support for S700arch/arm64/boot/dts/actions/s700.dtsi+33 -00 replies
8/8arm64: dts: actions: Add uSD support for Cubieboard7arch/arm64/boot/dts/actions/s700-cubieboard7.dts arch/arm64/boot/dts/actions/s700.dtsi+42 -00 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/8
2/8
3/8
4/8
5/8
6/8A-b
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RFC 0/8] Add MMC support for S700

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(-)
Signature · 7 lines
2.7.4


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel