mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
mmc: sdhci-spear: Add clk_{un}prepare() support
clk_{un}prepare is mandatory for platforms using common clock framework.
Since this driver is used by SPEAr platform, which supports common clock
framework, add clk_{un}prepare() support for it.
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
067bf748bd
commit
da764f97df
2 changed files with 6 additions and 9 deletions
|
|
@ -9,13 +9,10 @@ Required properties:
|
|||
Optional properties:
|
||||
- cd-gpios: card detect gpio, with zero flags.
|
||||
|
||||
If your board don't support these gpios then don't pass the entry.
|
||||
|
||||
Example:
|
||||
|
||||
sdhci@fc000000 {
|
||||
compatible = "st,spear300-sdhci";
|
||||
reg = <0xfc000000 0x1000>;
|
||||
|
||||
cd-gpios = <&gpio0 6 0>
|
||||
cd-gpios = <&gpio0 6 0>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue