diff options
author | Arindam Nath <[email protected]> | 2011-05-05 12:19:01 +0530 |
---|---|---|
committer | Chris Ball <[email protected]> | 2011-05-24 23:53:45 -0400 |
commit | 49c468fcf878d2c86e31920cf54aa90c88418a66 (patch) | |
tree | d8088bf8fb1a011f05ebbdefef49f2a6f4739432 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 758535c4e3cdd2b5b09565d9651aaa541aac3de8 (diff) |
mmc: sd: add support for uhs bus speed mode selection
This patch adds support for setting UHS-I bus speed mode during UHS-I
initialization procedure. Since both the host and card can support
more than one bus speed, we select the highest speed based on both of
their capabilities. First we set the bus speed mode for the card using
CMD6 mode 1, and then we program the host controller to support the
required speed mode. We also set High Speed Enable in case one of the
UHS-I modes is selected. We take care to reset SD clock before setting
UHS mode in the Host Control2 register, and then re-enable it as per
the Host Controller spec v3.00. We then set the clock frequency for
the UHS-I mode selected.
Tested by Zhangfei Gao with a Toshiba uhs card and general hs card,
on mmp2 in SDMA mode.
Signed-off-by: Arindam Nath <[email protected]>
Reviewed-by: Philip Rakity <[email protected]>
Tested-by: Philip Rakity <[email protected]>
Acked-by: Zhangfei Gao <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions