Re: [PATCH v3 01/13] dt-bindings: memory: snps: Convert the schema to being generic
From: Rob Herring
Date: Wed Oct 05 2022 - 09:12:46 EST
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@xxxxxxxxxxxxxxxxxxxx>
>
> ---
>
> 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@xxxxxxxxxx>