Skip to content
Commit fb2f43ed authored by Frank Li's avatar Frank Li Committed by Sasha Levin
Browse files

dt-bindings: dma: fsl-edma: Add fsl-edma.h to prevent hardcoding in dts



[ Upstream commit 1e9b0525 ]

Introduce a common dt-bindings header file, fsl-edma.h, shared between
the driver and dts files. This addition aims to eliminate hardcoded values
in dts files, promoting maintainability and consistency.

DTS header file not support BIT() macro yet. Directly use 2^n number.

Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231114154824.3617255-3-Frank.Li@nxp.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Stable-dep-of: a79f949a ("dmaengine: fsl-edma: correct max_segment_size setting")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 62e5ae50
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment