aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/mmc
diff options
context:
space:
mode:
authorLoic Pallardy <loic.pallardy-ext@stericsson.com>2012-08-06 11:12:29 -0400
committerChris Ball <cjb@laptop.org>2012-12-06 13:54:48 -0500
commit188cc0424e9bd7733ee3e412da6df2cf42701061 (patch)
tree72d597f27c132e8a0a472dfeaa8d7e6bea90b1c0 /Documentation/mmc
parent53d8f97462b0bbb51150f4d6bc2fd45336a008b9 (diff)
mmc: core: Extend sysfs to ext_csd parameters for RPMB support
Extend current sysfs access to ext_csd rpmb parameters (RPMB partition size) and rel_sector information. Signed-off-by: Loic Pallardy <loic.pallardy@stericsson.com> Reviewed-by: Namjae Jeon <linkinjeon@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Johan Rudholm <johan.rudholm@stericsson.com> Acked-by: Krishna Konda <kkonda@codeaurora.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'Documentation/mmc')
-rw-r--r--Documentation/mmc/mmc-dev-attrs.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/mmc/mmc-dev-attrs.txt b/Documentation/mmc/mmc-dev-attrs.txt
index 22ae8441489f..0d98fac8893b 100644
--- a/Documentation/mmc/mmc-dev-attrs.txt
+++ b/Documentation/mmc/mmc-dev-attrs.txt
@@ -25,6 +25,8 @@ All attributes are read-only.
25 serial Product Serial Number (from CID Register) 25 serial Product Serial Number (from CID Register)
26 erase_size Erase group size 26 erase_size Erase group size
27 preferred_erase_size Preferred erase size 27 preferred_erase_size Preferred erase size
28 raw_rpmb_size_mult RPMB partition size
29 rel_sectors Reliable write sector count
28 30
29Note on Erase Size and Preferred Erase Size: 31Note on Erase Size and Preferred Erase Size:
30 32
@@ -65,6 +67,11 @@ Note on Erase Size and Preferred Erase Size:
65 67
66 "preferred_erase_size" is in bytes. 68 "preferred_erase_size" is in bytes.
67 69
70Note on raw_rpmb_size_mult:
71 "raw_rpmb_size_mult" is a mutliple of 128kB block.
72 RPMB size in byte is calculated by using the following equation:
73 RPMB partition size = 128kB x raw_rpmb_size_mult
74
68SD/MMC/SDIO Clock Gating Attribute 75SD/MMC/SDIO Clock Gating Attribute
69================================== 76==================================
70 77