[PATCH v3 01/13] dt-bindings: memory: snps: Convert the schema to being generic

Rob Herring robh at kernel.org
Wed Oct 5 06:12:22 PDT 2022


On Fri, 30 Sep 2022 02:41:09 +0300, Serge Semin wrote:
> At the current state the DW uMCTL2 DDRC DT-schema can't be used as the
> common one for all the IP-core-based devices due to the compatible string
> property constraining the list of the supported device names. In order to
> fix that let's detach the common properties definition to the separate
> schema. The later will be used by the vendor-specific controller
> implementations to preserve the DT-bindings convention defined for the DW
> uMCTL2 DDR controller. Thus the generic DW uMCTL2 DDRC DT-bindings will be
> left with the compatible property definition only and will just refer to
> the detached common DT-schema.
> 
> Signed-off-by: Serge Semin <Sergey.Semin at baikalelectronics.ru>
> 
> ---
> 
> Changelog v2:
> - This is a new patch created on v2 cycle of the patchset. (@Krzysztof)
> 
> Changelog v3:
> - Create common DT-schema instead of using the generic device DT-bindings.
>   (@Rob)
> ---
>  .../snps,dw-umctl2-common.yaml                | 75 +++++++++++++++++++
>  .../snps,dw-umctl2-ddrc.yaml                  | 57 ++------------
>  2 files changed, 81 insertions(+), 51 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/memory-controllers/snps,dw-umctl2-common.yaml
> 

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



More information about the linux-arm-kernel mailing list