[PATCH 2/3] Documentation: sysfs: brcmstb-memc: Document new attributes
From: Florian Fainelli
Date: Fri Mar 24 2023 - 12:52:51 EST
Document the DDR rank, size, total size, width and type attributes.
Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
---
.../ABI/testing/sysfs-platform-brcmstb-memc | 39 +++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-platform-brcmstb-memc b/Documentation/ABI/testing/sysfs-platform-brcmstb-memc
index 2f2b750ac2fd..bc969c02b85f 100644
--- a/Documentation/ABI/testing/sysfs-platform-brcmstb-memc
+++ b/Documentation/ABI/testing/sysfs-platform-brcmstb-memc
@@ -1,3 +1,42 @@
+What: /sys/bus/platform/devices/*/ddr_rank
+Date: March 2023
+KernelVersion: 6.3
+Contact: Florian Fainelli <f.fainelli@xxxxxxxxx>
+Description:
+ Displays whether the device is single or dual rank.
+
+What: /sys/bus/platform/devices/*/ddr_size
+Date: March 2023
+KernelVersion: 6.3
+Contact: Florian Fainelli <f.fainelli@xxxxxxxxx>
+Description:
+ This field specifies the size of each DRAM device in the first
+ (or only) rank
+
+What: /sys/bus/platform/devices/*/ddr_total_width
+Date: March 2023
+KernelVersion: 6.3
+Contact: Florian Fainelli <f.fainelli@xxxxxxxxx>
+Description:
+ This field specifies the total data width of all DRAM devices
+ (in each rank)
+
+What: /sys/bus/platform/devices/*/ddr_type
+Date: March 2023
+KernelVersion: 6.3
+Contact: Florian Fainelli <f.fainelli@xxxxxxxxx>
+Description:
+ This field specifies DRAM technology type. Possible values:
+ DDR2, DDR3, DDR4, GDDR5, GDDR5M, LPDDR4.
+
+What: /sys/bus/platform/devices/*/ddr_width
+Date: March 2023
+KernelVersion: 6.3
+Contact: Florian Fainelli <f.fainelli@xxxxxxxxx>
+Description:
+ This field specifies the data width of each DRAM device.
+ Possible values are: x8, x16, x32
+
What: /sys/bus/platform/devices/*/srpd
Date: July 2022
KernelVersion: 5.21
--
2.34.1