]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dt-bindings: dma: fsl-edma: Add fsl-edma.h to prevent hardcoding in dts
authorFrank Li <Frank.Li@nxp.com>
Tue, 14 Nov 2023 15:48:22 +0000 (10:48 -0500)
committerSasha Levin <sashal@kernel.org>
Fri, 15 Mar 2024 14:48:13 +0000 (10:48 -0400)
commitfb2f43ed48ddd80aef4437e720398a15274dc47a
tree6cdc7033b67668b4c4be7fde72dfbc343401f77d
parent62e5ae5007ef14cf9b12da6520d50fe90079d8d4
dt-bindings: dma: fsl-edma: Add fsl-edma.h to prevent hardcoding in dts

[ Upstream commit 1e9b05258271b76ccc04a4b535009d2cb596506a ]

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: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231114154824.3617255-3-Frank.Li@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Stable-dep-of: a79f949a5ce1 ("dmaengine: fsl-edma: correct max_segment_size setting")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/dt-bindings/dma/fsl-edma.h [new file with mode: 0644]