summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2016-04-19 16:21:16 -0700
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-19 18:35:30 -0700
commit7cc9ec9f2a3a92def752ed31253fa0b89484b39f (patch)
tree72c1db13a7ab37219484b8cb7e1b36d5fe67f4bf /Documentation
parent84e6857d3d454a427b72a07476e4b7a5b9a1361b (diff)
Revert "mmc: core: Remove MMC_CLKGATE"
This reverts commit 9eadcc0581a8ccaf4c2378aa1c193fb164304f1d. Clock gating is needed for Qualcomm Platforms hence reverting this upstream patch. Change-Id: I96ac0c1c7627e8e5c2d18782e2fc08608f0a7f91 Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/mmc/mmc-dev-attrs.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/mmc/mmc-dev-attrs.txt b/Documentation/mmc/mmc-dev-attrs.txt
index caa555706f89..189bab09255a 100644
--- a/Documentation/mmc/mmc-dev-attrs.txt
+++ b/Documentation/mmc/mmc-dev-attrs.txt
@@ -72,3 +72,13 @@ Note on raw_rpmb_size_mult:
"raw_rpmb_size_mult" is a mutliple of 128kB block.
RPMB size in byte is calculated by using the following equation:
RPMB partition size = 128kB x raw_rpmb_size_mult
+
+SD/MMC/SDIO Clock Gating Attribute
+==================================
+
+Read and write access is provided to following attribute.
+This attribute appears only if CONFIG_MMC_CLKGATE is enabled.
+
+ clkgate_delay Tune the clock gating delay with desired value in milliseconds.
+
+echo <desired delay> > /sys/class/mmc_host/mmcX/clkgate_delay