[PATCH v2 1/8] dt-bindings: dma: dma40: Prefer to pass sram through phandle

Rob Herring robh at kernel.org
Thu Apr 27 10:39:49 PDT 2023


On Thu, 27 Apr 2023 14:09:56 +0200, Linus Walleij wrote:
> Extend the DMA40 bindings so that we can pass two SRAM
> segments as phandles instead of directly referring to the
> memory address in the second reg cell. This enables more
> granular control over the SRAM, and adds the optiona LCLA
> SRAM segment as well.
> 
> Deprecate the old way of passing LCPA as a second reg cell,
> make sram compulsory.
> 
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
> ChangeLog v1->v2:
> - Enumerate phandles using inner and outer maxItems as specified
>   by Rob.
> - Drop quotes around reference.
> ---
>  .../devicetree/bindings/dma/stericsson,dma40.yaml  | 36 +++++++++++++++++-----
>  1 file changed, 28 insertions(+), 8 deletions(-)
> 

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




More information about the linux-arm-kernel mailing list