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)
committerVinod Koul <vkoul@kernel.org>
Thu, 21 Dec 2023 16:11:06 +0000 (21:41 +0530)
commit1e9b05258271b76ccc04a4b535009d2cb596506a
tree8dfc16cb21e92ce2a7463aacea4a4182a6609ea6
parentdc51b4442dd94ab12c146c1897bbdb40e16d5636
dt-bindings: dma: fsl-edma: Add fsl-edma.h to prevent hardcoding in dts

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>
include/dt-bindings/dma/fsl-edma.h [new file with mode: 0644]