dmaengine: ste_dma40: Get LCPA SRAM from SRAM node
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 16 May 2023 12:55:32 +0000 (14:55 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 16 May 2023 17:30:19 +0000 (23:00 +0530)
commit5a1a3b9c19ddeddc6b0c2ea1da7fbe6624c04c7e
tree0f3e37a1c587de91cce9604cd2f266fe7d5bc404
parent4f080c77ec53ec619304c0bbee5f6762fe3207a0
dmaengine: ste_dma40: Get LCPA SRAM from SRAM node

Instead of passing the reserved SRAM as a "reg" field
look for a phandle to the LCPA SRAM memory so we can
use the proper SRAM device tree bindings for the SRAM.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230417-ux500-dma40-cleanup-v3-2-60bfa6785968@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig
drivers/dma/ste_dma40.c