Re: [PATCH 2/4 v4] dt-bindings: memory: Add numeric LPDDR compatible string variant

From: Rob Herring
Date: Thu Sep 15 2022 - 09:45:10 EST


On Wed, 14 Sep 2022 17:32:20 -0700, Julius Werner wrote:
> This patch allows a new kind of compatible string for LPDDR parts in the
> device tree bindings, in addition to the existing hardcoded
> <vendor>,<part-number> strings. The new format contains manufacturer and
> part (revision) information in numerical form, such as lpddr3-ff,0201
> for an LPDDR3 part with manufacturer ID ff and revision ID 0201. This
> helps cases where LPDDR parts are probed at runtime by boot firmware and
> cannot be matched to hardcoded part numbers, such as the firmware on the
> qcom/sc7280-herobrine boards does (which supports 4 different memory
> configurations at the moment, and more are expected to be added later at
> a point where the boot firmware can no longer be updated to specifically
> accomodate them).
>
> Signed-off-by: Julius Werner <jwerner@xxxxxxxxxxxx>
> ---
> .../memory-controllers/ddr/jedec,lpddr-props.yaml | 10 ++++++++++
> .../memory-controllers/ddr/jedec,lpddr2.yaml | 8 +++++---
> .../memory-controllers/ddr/jedec,lpddr3.yaml | 12 ++++++++----
> 3 files changed, 23 insertions(+), 7 deletions(-)
>
> Changelog:
>
> - v2
> - Updated commit message to describe intended use case as an example
> - v3
> - no changes
> - v4
> - no changes
>


Please add Acked-by/Reviewed-by tags when posting new versions. However,
there's no need to repost patches *only* to add the tags. The upstream
maintainer will do that for acks received on the version they apply.

If a tag was not added on purpose, please state why and what changed.