]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: dma: uniphier-xdmac: switch to single reg region
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 1 Apr 2020 03:21:50 +0000 (12:21 +0900)
committerVinod Koul <vkoul@kernel.org>
Wed, 15 Apr 2020 16:17:23 +0000 (21:47 +0530)
commit52de21b3488f4becd2b183c3bf42dd9e9742cd5c
tree091b5f5253bf2773a5150595b0969056f4361e40
parentbed905d4605aead9d99febe1a6dce042bd80cd16
dt-bindings: dma: uniphier-xdmac: switch to single reg region

The reg in the example "<0x5fc10000 0x1000>, <0x5fc20000 0x800>"
is wrong. The register region of this controller is much smaller,
and there is no other hardware register interleaved. There is no
good reason to split it into two regions.

Just use a single, contiguous register region.

While I am here, I made the 'dma-channels' property mandatory because
otherwise there is no way to determine the number of the channels.

Please note the original binding was merged recently. Since there
is no user yet, this change has no actual impact.

Fixes: dbc19759df4f ("dt-bindings: dmaengine: Add UniPhier external DMA controller bindings")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200401032150.19767-1-yamada.masahiro@socionext.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/dma/socionext,uniphier-xdmac.yaml