[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <170016302591.3079151.39706037865284534.robh@kernel.org>
Date: Thu, 16 Nov 2023 13:30:26 -0600
From: Rob Herring <robh@...nel.org>
To: Frank Li <Frank.Li@....com>
Cc: Frank.li@....com, krzysztof.kozlowski+dt@...aro.org,
dmaengine@...r.kernel.org, joy.zou@....com, shenwei.wang@....com,
krzysztof.kozlowski@...aro.org, robh+dt@...nel.org,
festevam@...x.de, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, imx@...ts.linux.dev, vkoul@...nel.org,
peng.fan@....com, shawnguo@...nel.org
Subject: Re: [PATCH 2/4] dt-bindings: dma: fsl-edma: Add fsl-edma.h to
prevent hardcoding in dts
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@....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@...nel.org>
Powered by blists - more mailing lists