]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: sdhci-esdhc-imx: set actual_clock in clock setting
authorDong Aisheng <b29396@freescale.com>
Fri, 13 Sep 2013 11:11:37 +0000 (19:11 +0800)
committerChris Ball <cjb@laptop.org>
Fri, 27 Sep 2013 14:31:48 +0000 (10:31 -0400)
commite76b855956383d58232cfcf367f0ce34f149161b
tree987f6e1be14a55b961d71ff6f9e353778d4772b9
parent5f7886c5ef40c79b5811f23219167096ab578a91
mmc: sdhci-esdhc-imx: set actual_clock in clock setting

This enables access the actual_clock via sys.
root@imx6qsabreauto:~# cat /sys/kernel/debug/mmc0/ios
clock:          198000000 Hz
actual clock:   198000000 Hz
vdd:            17 (2.9 ~ 3.0 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      2 (4 bits)
timing spec:    6 (sd uhs SDR104)
signal voltage: 0 (1.80 V)

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/mmc/host/sdhci-of-esdhc.c