summary refs log tree commit diff
path: root/Documentation/mmc
diff options
context:
space:
mode:
authorBernie Thompson <bhthompson@chromium.org>2013-02-27 12:19:17 -0800
committerChris Ball <cjb@laptop.org>2013-03-22 12:10:42 -0400
commit51e7e8b632d8e564ba494dfa61358ac1a97e4ceb (patch)
tree39af1c9f7d5811d74f2c4cdecaace84137654704 /Documentation/mmc
parente3e020f8acbd39a6feb1b6903725aaf658b0fec4 (diff)
downloadlinux-51e7e8b632d8e564ba494dfa61358ac1a97e4ceb.tar.gz
mmc: core: Add in support to expose PRV for v4 MMCs
The JEDEC MMC v4 spec defines a new PRV value in place of the original
fwrev and hwrev specified in v1. We can expose this in the kernel to enable
user space to more easily determine the product revision of a given MMC.

Signed-off-by: Bernie Thompson <bhthompson@chromium.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'Documentation/mmc')
-rw-r--r--Documentation/mmc/mmc-dev-attrs.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/mmc/mmc-dev-attrs.txt b/Documentation/mmc/mmc-dev-attrs.txt
index 0d98fac8893b..189bab09255a 100644
--- a/Documentation/mmc/mmc-dev-attrs.txt
+++ b/Documentation/mmc/mmc-dev-attrs.txt
@@ -22,6 +22,7 @@ All attributes are read-only.
 	manfid			Manufacturer ID (from CID Register)
 	name			Product Name (from CID Register)
 	oemid			OEM/Application ID (from CID Register)
+	prv			Product Revision (from CID Register) (SD and MMCv4 only)
 	serial			Product Serial Number (from CID Register)
 	erase_size		Erase group size
 	preferred_erase_size	Preferred erase size