]> git.ipfire.org Git - thirdparty/linux.git/commit
dt-bindings: dma: dma40: Prefer to pass sram through phandle
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 16 May 2023 12:55:31 +0000 (14:55 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 16 May 2023 17:30:19 +0000 (23:00 +0530)
commit4f080c77ec53ec619304c0bbee5f6762fe3207a0
treee2005c5fb7586804792e444d9528e4133e4e5d1b
parentac9a78681b921877518763ba0e89202254349d1b
dt-bindings: dma: dma40: Prefer to pass sram through phandle

Extend the DMA40 bindings so that we can pass two SRAM
segments as phandles instead of directly referring to the
memory address in the second reg cell. This enables more
granular control over the SRAM, and adds the optiona LCLA
SRAM segment as well.

Deprecate the old way of passing LCPA as a second reg cell,
make sram compulsory.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230417-ux500-dma40-cleanup-v3-1-60bfa6785968@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/dma/stericsson,dma40.yaml