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

From: Rob Herring
Date: Mon Sep 12 2022 - 17:38:05 EST


On Wed, 07 Sep 2022 16:29:12 -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
>

Acked-by: Rob Herring <robh@xxxxxxxxxx>