OSDN Git Service

of: address: Add support for the parent DMA bus
authorMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 1 Apr 2019 08:56:44 +0000 (10:56 +0200)
committerRob Herring <robh@kernel.org>
Wed, 10 Apr 2019 21:33:47 +0000 (16:33 -0500)
commitf83a6e5dea6cf71d39c6b70a07cbe99b4ef48fe1
tree773797721d7faffa0054dc42421db2667a2d761e
parent95835a8d473ee650d5fd13ff223f1cfd568b1bdd
of: address: Add support for the parent DMA bus

Some SoCs have devices that are using a separate bus from the main bus to
perform DMA.

These buses might have some restrictions and/or different mapping than from
the CPU side, so we'd need to express those using the usual dma-ranges, but
using a different DT node than the node's parent.

Now that the generic interconnect bindings are available, we can model an
interconnect with the reserved name "dma-mem" for those use-cases.

Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/address.c