[PATCH v2 01/15] dt-bindings: memory: snps: Replace opencoded numbers with macros

Rob Herring robh at kernel.org
Mon Sep 12 07:18:05 PDT 2022


On Sat, Sep 10, 2022 at 10:56:45PM +0300, Serge Semin wrote:
> Xilinx ZynqMP DDRC-based example contains the opencoded numerical literals
> in the IRQ lines definition. It doesn't seem justified since the
> corresponding platform has well defined ARM GIC interface. Let's replace
> the numbers with the corresponding macros then.
> 
> Signed-off-by: Serge Semin <Sergey.Semin at baikalelectronics.ru>
> 
> ---
> 
> Changelog v2:
> - This is a new patch created on v2 based on the @Krzysztof' request not
>   to have the opencoded numbers in the bindings example. (@Krzysztof)
> ---
>  .../bindings/memory-controllers/snps,dw-umctl2-ddrc.yaml     | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Acked-by: Rob Herring <robh at kernel.org>



More information about the linux-arm-kernel mailing list