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

Rob Herring
2023-11-16T19:30:29Z

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@nxp.com>
> ---
> 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@kernel.org>