summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-props.yaml
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2022-09-30 15:06:04 -0700
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-10-18 13:05:06 -0400
commit686fe63b22800cff6a7f6981fb5ef62ce56b964b (patch)
tree5302650f50f550854ce2ac57ed3fc592c8ba454a /Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-props.yaml
parentb7178cd53ff954b031bf96aed322ab185e0e7f58 (diff)
downloadlinux-stable-686fe63b22800cff6a7f6981fb5ef62ce56b964b.tar.gz
linux-stable-686fe63b22800cff6a7f6981fb5ef62ce56b964b.tar.bz2
linux-stable-686fe63b22800cff6a7f6981fb5ef62ce56b964b.zip
dt-bindings: memory: Add numeric LPDDR compatible string variant
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 accommodate them). Signed-off-by: Julius Werner <jwerner@chromium.org> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220930220606.303395-2-jwerner@chromium.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-props.yaml')
-rw-r--r--Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-props.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-props.yaml b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-props.yaml
index 02700ac3c387..4114cfa8de67 100644
--- a/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-props.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr-props.yaml
@@ -15,6 +15,16 @@ maintainers:
- Krzysztof Kozlowski <krzk@kernel.org>
properties:
+ compatible:
+ description:
+ Compatible strings can be either explicit vendor names and part numbers
+ (e.g. elpida,ECB240ABACN), or generated strings of the form
+ lpddrX-YY,ZZZZ where X is the LPDDR version, YY is the manufacturer ID
+ (from MR5) and ZZZZ is the revision ID (from MR6 and MR7). Both IDs are
+ formatted in lower case hexadecimal representation with leading zeroes.
+ The latter form can be useful when LPDDR nodes are created at runtime by
+ boot firmware that doesn't have access to static part number information.
+
revision-id:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: