Re: [PATCH 2/4] dt-bindings: dma: fsl-edma: Add fsl-edma.h to prevent hardcoding in dts

From: Rob Herring
Date: Thu Nov 16 2023 - 14:30:34 EST



On Tue, 14 Nov 2023 10:48:22 -0500, Frank Li wrote:
> 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@xxxxxxx>
> ---
> include/dt-bindings/dma/fsl-edma.h | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
> create mode 100644 include/dt-bindings/dma/fsl-edma.h
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>