All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] dmaengine: Fix DMA on current allwinner SoCs, add A64 support
@ 2017-08-30 23:36 ` Stefan Brüns
  0 siblings, 0 replies; 69+ messages in thread
From: Stefan Brüns @ 2017-08-30 23:36 UTC (permalink / raw)
  To: linux-sunxi
  Cc: devicetree, dmaengine, Vinod Koul, linux-arm-kernel,
	linux-kernel, Maxime Ripard, Chen-Yu Tsai, Rob Herring

The latest generation of allwinner SoCs (e.g. H3, H5, A64) have some significant
differences to older SoC generations (e.g. A23):

- different register location for the clock autogating register (offset 0x28 vs 0x20)
- different field offset for the src/dest burst length fields in the channel
  configuration register
- additional burst lengths and widths

This is the second change to the implementation of the DMA controller (first change
being the addition of the clock autogating register in the A23). To differentiate
between the different generations, the patch adds an enum value to the OF config
data.

The A83t uses the same register layout as the A23, so this series also fixes the missing
clock gating setting for the A83t.

The A64 is register compatible to the H3, but supports less channels and has a different
set of endpoints. Add a new compatible string to the device tree and the driver.

Stefan Brüns (3):
  dmaengine: sun6i: Correct DMA support on H3
  arm64: allwinner: a64: Add device node for DMA controller
  dmaengine: sun6i: Add support for Allwinner A64

 .../devicetree/bindings/dma/sun6i-dma.txt          |   1 +
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi      |  13 ++
 drivers/dma/sun6i-dma.c                            | 135 +++++++++++++++------
 3 files changed, 109 insertions(+), 40 deletions(-)

-- 
2.14.1

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

end of thread, other threads:[~2017-09-11 22:01 UTC | newest]

Thread overview: 69+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-30 23:36 [PATCH 0/3] dmaengine: Fix DMA on current allwinner SoCs, add A64 support Stefan Brüns
2017-08-30 23:36 ` Stefan Brüns
2017-08-30 23:36 ` Stefan Brüns
2017-08-30 23:36 ` [PATCH 1/3] dmaengine: sun6i: Correct DMA support on H3 Stefan Brüns
2017-08-30 23:36   ` Stefan Brüns
2017-08-30 23:36   ` Stefan Brüns
2017-08-31 14:51   ` Maxime Ripard
2017-08-31 14:51     ` Maxime Ripard
2017-09-01  3:04     ` Stefan Bruens
2017-09-01  3:04       ` Stefan Bruens
2017-09-01  3:04       ` Stefan Bruens
2017-09-01 13:35       ` Maxime Ripard
2017-09-01 13:35         ` Maxime Ripard
2017-09-01 14:42         ` Brüns, Stefan
2017-09-01 14:42           ` Brüns, Stefan
2017-09-01 14:42           ` Brüns, Stefan
2017-09-01 14:51           ` taskboxtester
2017-09-04  6:50           ` Maxime Ripard
2017-09-04  6:50             ` Maxime Ripard
2017-09-04  6:50             ` Maxime Ripard
2017-08-30 23:36 ` [PATCH 2/3] arm64: allwinner: a64: Add device node for DMA controller Stefan Brüns
2017-08-30 23:36   ` Stefan Brüns
2017-08-30 23:36   ` Stefan Brüns
2017-09-11 22:00   ` Rob Herring
2017-09-11 22:00     ` Rob Herring
2017-09-11 22:00     ` Rob Herring
2017-08-30 23:36 ` [PATCH 3/3] dmaengine: sun6i: Add support for Allwinner A64 Stefan Brüns
2017-08-30 23:36   ` Stefan Brüns
2017-08-30 23:36   ` Stefan Brüns
2017-08-31 11:44   ` Code Kipper
2017-08-31 11:44     ` Code Kipper
2017-08-31 14:52   ` Maxime Ripard
2017-08-31 14:52     ` Maxime Ripard
2017-08-31 14:52     ` Maxime Ripard
2017-08-31 16:35     ` [linux-sunxi] " Code Kipper
2017-08-31 16:35       ` Code Kipper
2017-08-31 16:35       ` Code Kipper
2017-09-01  0:31   ` Andre Przywara
2017-09-01  0:31     ` Andre Przywara
2017-09-01  0:31     ` Andre Przywara
2017-09-01  1:19     ` Stefan Bruens
2017-09-01  1:19       ` Stefan Bruens
2017-09-01  1:19       ` Stefan Bruens
2017-09-01 22:32       ` André Przywara
2017-09-01 22:32         ` André Przywara
2017-09-02  0:38         ` Stefan Bruens
2017-09-02  0:38           ` Stefan Bruens
2017-09-02  0:38           ` Stefan Bruens
2017-09-02  2:02         ` Stefan Bruens
2017-09-02  2:02           ` Stefan Bruens
2017-09-02  2:02           ` Stefan Bruens
2017-09-03 23:14           ` André Przywara
2017-09-03 23:14             ` André Przywara
2017-09-03 23:14             ` André Przywara
2017-09-01  6:04     ` Maxime Ripard
2017-09-01  6:04       ` Maxime Ripard
2017-09-01  6:04       ` Maxime Ripard
2017-09-01 22:35       ` André Przywara
2017-09-01 22:35         ` André Przywara
2017-09-01 22:35         ` André Przywara
2017-09-04  7:04         ` Maxime Ripard
2017-09-04  7:04           ` Maxime Ripard
2017-09-04  7:04           ` Maxime Ripard
2017-09-04  8:14           ` André Przywara
2017-09-04  8:14             ` André Przywara
2017-09-08 14:39             ` Maxime Ripard
2017-09-08 14:39               ` Maxime Ripard
2017-09-08 14:57               ` Andre Przywara
2017-09-08 14:57                 ` Andre Przywara

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.