summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/ddr
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-03-23 18:04:05 -0700
committerRob Herring <robh@kernel.org>2021-03-27 12:58:03 -0600
commitb368d9e7c9e1a201f9d0898318c4faef3e91c78e (patch)
tree1766575451a62d43a92979808219a9cff7baeaba /Documentation/devicetree/bindings/ddr
parent8657375165bc9de4d1387d94895f2e100db697e5 (diff)
dt-bindings: ddr: Add optional manufacturer and revision ID to LPDDR3
On some platforms, DDR parts are multi-sourced and the exact part number used is not know to either kernel or firmware at build time. Firmware can read identifying information from DDR mode registers at boot time but needs a way to communicate this information to kernel and/or userspace. This patch adds optional properties for this information to the existing "jedec,lpddr3" device tree binding to be used for that purpose. Signed-off-by: Julius Werner <jwerner@chromium.org> Link: https://lore.kernel.org/r/20210324010405.1917577-1-jwerner@chromium.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/ddr')
-rw-r--r--Documentation/devicetree/bindings/ddr/lpddr3.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ddr/lpddr3.txt b/Documentation/devicetree/bindings/ddr/lpddr3.txt
index a0eda35a86ee..b221e653d384 100644
--- a/Documentation/devicetree/bindings/ddr/lpddr3.txt
+++ b/Documentation/devicetree/bindings/ddr/lpddr3.txt
@@ -12,6 +12,9 @@ Required properties:
Optional properties:
+- manufacturer-id : <u32> Manufacturer ID value read from Mode Register 5
+- revision-id : <u32 u32> Revision IDs read from Mode Registers 6 and 7
+
The following optional properties represent the minimum value of some AC
timing parameters of the DDR device in terms of number of clock cycles.
These values shall be obtained from the device data-sheet.
@@ -49,6 +52,8 @@ samsung_K3QF2F20DB: lpddr3 {
compatible = "samsung,K3QF2F20DB", "jedec,lpddr3";
density = <16384>;
io-width = <32>;
+ manufacturer-id = <1>;
+ revision-id = <123 234>;
#address-cells = <1>;
#size-cells = <0>;