All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/9] Add MMC and DMA support for Actions S700
@ 2020-05-14 16:10 Amit Singh Tomar
  2020-05-14 16:10   ` Amit Singh Tomar
                   ` (8 more replies)
  0 siblings, 9 replies; 58+ messages in thread
From: Amit Singh Tomar @ 2020-05-14 16:10 UTC (permalink / raw)
  To: andre.przywara, afaerber, manivannan.sadhasivam
  Cc: linux-actions, linux-arm-kernel, cristian.ciocaltea

This series(v1) have following changes from the previous series.

New patch(5/8) has been introduced that converts dma dt-binding
for Actions OWL SoC from text format to yaml file.

For patch(2/8) new accessor function is added to get the frame 
lenght which is common to both S900 and S700. Apart from it
SoC check is removed from irq routine as it is not needed.

Patch(4/8) which is an hack to prove our DMA and MMC works
for S700 is now sent as *do not merge* patch.
 
DMA is tested using dmatest with follwoing result:

root@ubuntu:~# echo dma0chan1 > /sys/module/dmatest/parameters/channel
root@ubuntu:~# echo 2000 > /sys/module/dmatest/parameters/timeout
root@ubuntu:~# echo 1 > /sys/module/dmatest/parameters/iterations
root@ubuntu:~# echo 1 > /sys/module/dmatest/parameters/run

root@ubuntu:~# dmesg | tail
[  303.362586] dmatest: Added 1 threads using dma0chan1
[  317.258658] dmatest: Started 1 threads using dma0chan1
[  317.259397] dmatest: dma0chan1-copy0: summary 1 tests, 0 failures 16129.03 iops 32258 KB/s (0)

----------------------------------------------------------------

The intention of previous series(RFC) is to enable uSD and DMA 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 (9):
  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: do not merge disable sps node from S700
  dt-bindings: dmaengine: convert Actions Semi Owl SoCs bindings to yaml
  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

 Documentation/devicetree/bindings/dma/owl-dma.txt  |  47 ---------
 Documentation/devicetree/bindings/dma/owl-dma.yaml |  84 +++++++++++++++
 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                              | 117 ++++++++++++---------
 include/dt-bindings/reset/actions,s700-reset.h     |   3 +
 7 files changed, 244 insertions(+), 99 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/dma/owl-dma.txt
 create mode 100644 Documentation/devicetree/bindings/dma/owl-dma.yaml

-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 58+ messages in thread

end of thread, other threads:[~2020-05-18  9:48 UTC | newest]

Thread overview: 58+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 16:10 [PATCH v1 0/9] Add MMC and DMA support for Actions S700 Amit Singh Tomar
2020-05-14 16:10 ` [PATCH v1 1/9] dmaengine: Actions: get rid of bit fields from dma descriptor Amit Singh Tomar
2020-05-14 16:10   ` Amit Singh Tomar
2020-05-14 18:27   ` Vinod Koul
2020-05-14 18:27     ` Vinod Koul
2020-05-14 18:34     ` Amit Tomer
2020-05-14 18:34       ` Amit Tomer
2020-05-15  6:58       ` Vinod Koul
2020-05-15  6:58         ` Vinod Koul
2020-05-15  7:46         ` Amit Tomer
2020-05-15  7:46           ` Amit Tomer
2020-05-15 11:11           ` Amit Tomer
2020-05-15 11:11             ` Amit Tomer
2020-05-14 16:10 ` [PATCH v1 2/9] dmaengine: Actions: Add support for S700 DMA engine Amit Singh Tomar
2020-05-14 16:10   ` Amit Singh Tomar
2020-05-14 17:02   ` André Przywara
2020-05-14 17:02     ` André Przywara
2020-05-14 16:10 ` [PATCH v1 3/9] clk: actions: Add MMC clock-register reset bits Amit Singh Tomar
2020-05-14 16:10 ` [PATCH v1 4/9] arm64: dts: actions: do not merge disable sps node from S700 Amit Singh Tomar
2020-05-14 16:10   ` Amit Singh Tomar
2020-05-14 16:10 ` [PATCH v1 5/9] dt-bindings: dmaengine: convert Actions Semi Owl SoCs bindings to yaml Amit Singh Tomar
2020-05-14 16:10   ` Amit Singh Tomar
2020-05-15 15:54   ` André Przywara
2020-05-15 15:54     ` André Przywara
2020-05-15 19:05     ` Amit Tomer
2020-05-15 19:05       ` Amit Tomer
2020-05-15 19:24       ` Amit Tomer
2020-05-15 19:24         ` Amit Tomer
2020-05-16 18:21     ` Amit Tomer
2020-05-16 18:21       ` Amit Tomer
2020-05-14 16:10 ` [PATCH v1 6/9] arm64: dts: actions: Add DMA Controller for S700 Amit Singh Tomar
2020-05-14 16:10   ` Amit Singh Tomar
2020-05-14 16:10 ` [PATCH v1 7/9] dt-bindings: reset: s700: Add binding constants for mmc Amit Singh Tomar
2020-05-14 16:10   ` Amit Singh Tomar
2020-05-14 16:10 ` [PATCH v1 8/9] arm64: dts: actions: Add MMC controller support for S700 Amit Singh Tomar
2020-05-14 16:10   ` Amit Singh Tomar
2020-05-15 15:01   ` André Przywara
2020-05-15 15:01     ` André Przywara
2020-05-15 18:41     ` Amit Tomer
2020-05-15 18:41       ` Amit Tomer
2020-05-17 11:56     ` Amit Tomer
2020-05-17 11:56       ` Amit Tomer
2020-05-17 16:42       ` André Przywara
2020-05-17 16:42         ` André Przywara
2020-05-17 17:12         ` Amit Tomer
2020-05-17 17:12           ` Amit Tomer
2020-05-17 21:30           ` André Przywara
2020-05-17 21:30             ` André Przywara
2020-05-18  3:06             ` Amit Tomer
2020-05-18  3:06               ` Amit Tomer
2020-05-18  6:17               ` Manivannan Sadhasivam
2020-05-18  6:17                 ` Manivannan Sadhasivam
2020-05-18  8:29                 ` André Przywara
2020-05-18  8:29                   ` André Przywara
2020-05-18  9:48                   ` Andreas Färber
2020-05-18  9:48                     ` Andreas Färber
2020-05-14 16:10 ` [PATCH v1 9/9] arm64: dts: actions: Add uSD support for Cubieboard7 Amit Singh Tomar
2020-05-14 16:10   ` Amit Singh Tomar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.