devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] sunxi: Add DT representation for the MBUS controller
@ 2018-04-03 13:29 Maxime Ripard
  2018-04-03 13:29 ` [PATCH 1/7] dt-bindings: Add a dma-parent property Maxime Ripard
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Maxime Ripard @ 2018-04-03 13:29 UTC (permalink / raw)
  To: Mark Rutland, Rob Herring, Frank Rowand, Chen-Yu Tsai,
	Maxime Ripard
  Cc: devicetree, Thomas Petazzoni, Arnd Bergmann, dri-devel,
	Paul Kocialkowski, Yong Deng, Robin Murphy, Dave Martin,
	linux-arm-kernel

Hi,

We've had for quite some time to hack around in our drivers to take into
account the fact that our DMA accesses are not done through the parent
node, but through another bus with a different mapping than the CPU for the
RAM (0 instead of 0x40000000 for most SoCs).

After some discussion after the submission of a camera device suffering of
the same hacks, I've decided to put together a serie that introduce a
property called dma-parent that allows to express the DMA relationship
between a master and its bus, even if they are not direct parents in the DT.

Let me know what you think,
Maxime

Maxime Ripard (7):
  dt-bindings: Add a dma-parent property
  dt-bindings: bus: Add binding for the Allwinner MBUS controller
  of: address: Add parent pointer to the __of_translate_address args
  of: address: Add support for the dma-parent property
  drm/sun4i: Rely on dma-parent for our RAM offset
  clk: sunxi-ng: sun5i: Export the MBUS clock
  ARM: dts: sun5i: Add the MBUS controller

 Documentation/devicetree/bindings/sunxi-mbus.txt | 35 ++++++++++++++-
 Documentation/devicetree/booting-without-of.txt  | 10 ++++-
 arch/arm/boot/dts/sun5i.dtsi                     | 11 ++++-
 drivers/clk/sunxi-ng/ccu-sun5i.h                 |  4 +--
 drivers/gpu/drm/sun4i/sun4i_backend.c            | 28 ++++++++---
 drivers/of/address.c                             | 43 +++++++++++++----
 include/dt-bindings/clock/sun5i-ccu.h            |  2 +-
 7 files changed, 111 insertions(+), 22 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sunxi-mbus.txt

base-commit: 4a3928c6f8a53fa1aed28ccba227742486e8ddcb
-- 
git-series 0.9.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2018-05-31 12:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-03 13:29 [PATCH 0/7] sunxi: Add DT representation for the MBUS controller Maxime Ripard
2018-04-03 13:29 ` [PATCH 1/7] dt-bindings: Add a dma-parent property Maxime Ripard
2018-04-03 13:29 ` [PATCH 2/7] dt-bindings: bus: Add binding for the Allwinner MBUS controller Maxime Ripard
2018-04-03 13:29 ` [PATCH 3/7] of: address: Add parent pointer to the __of_translate_address args Maxime Ripard
2018-04-03 13:29 ` [PATCH 4/7] of: address: Add support for the dma-parent property Maxime Ripard
2018-04-03 13:29 ` [PATCH 5/7] drm/sun4i: Rely on dma-parent for our RAM offset Maxime Ripard
2018-04-03 14:56   ` Daniel Vetter
2018-04-03 13:29 ` [PATCH 6/7] clk: sunxi-ng: sun5i: Export the MBUS clock Maxime Ripard
2018-04-09 21:23   ` Rob Herring
2018-04-03 13:29 ` [PATCH 7/7] ARM: dts: sun5i: Add the MBUS controller Maxime Ripard
2018-04-03 16:03 ` [PATCH 0/7] sunxi: Add DT representation for " Rob Herring
2018-04-09  9:22   ` Maxime Ripard
2018-05-31 12:52     ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).