Re: [PATCH] sdhci: expose the SDCLK frq in sys ios

2011-10-20 Thread Giuseppe CAVALLARO
On 10/20/2011 9:38 AM, Adrian Hunter wrote: > On 20/10/11 09:31, Giuseppe CAVALLARO wrote: >> Hello Adrian >> >> On 10/20/2011 8:22 AM, Adrian Hunter wrote: >>> On 19/10/11 16:45, Giuseppe CAVALLARO wrote: This patch is to expose the SDCLK frequency in the ios /sys entry. For example

Re: [PATCH] sdhci: expose the SDCLK frq in sys ios

2011-10-20 Thread Adrian Hunter
On 20/10/11 09:31, Giuseppe CAVALLARO wrote: > Hello Adrian > > On 10/20/2011 8:22 AM, Adrian Hunter wrote: >> On 19/10/11 16:45, Giuseppe CAVALLARO wrote: >>> This patch is to expose the SDCLK frequency in the ios /sys entry. >>> >>> For example, if the max clk for a normal speed card is 20MHz >>

Re: [PATCH] sdhci: expose the SDCLK frq in sys ios

2011-10-19 Thread Giuseppe CAVALLARO
Hello Adrian On 10/20/2011 8:22 AM, Adrian Hunter wrote: > On 19/10/11 16:45, Giuseppe CAVALLARO wrote: >> This patch is to expose the SDCLK frequency in the ios /sys entry. >> >> For example, if the max clk for a normal speed card is 20MHz >> this will be reported in /sys/kernel/debug/mmc0/ios in

Re: [PATCH] sdhci: expose the SDCLK frq in sys ios

2011-10-19 Thread Adrian Hunter
On 19/10/11 16:45, Giuseppe CAVALLARO wrote: > This patch is to expose the SDCLK frequency in the ios /sys entry. > > For example, if the max clk for a normal speed card is 20MHz > this will be reported in /sys/kernel/debug/mmc0/ios instead of > the real SDCLK frequency (calculated as Baseclock /

[PATCH] sdhci: expose the SDCLK frq in sys ios

2011-10-19 Thread Giuseppe CAVALLARO
This patch is to expose the SDCLK frequency in the ios /sys entry. For example, if the max clk for a normal speed card is 20MHz this will be reported in /sys/kernel/debug/mmc0/ios instead of the real SDCLK frequency (calculated as Baseclock / divisor; divisor used for programming the Clock Control