mmc: sdhci: host: add new f_sdh30
authorVincent Yang <vincent.yang.fujitsu@gmail.com>
Tue, 20 Jan 2015 08:05:18 +0000 (16:05 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jan 2015 08:32:37 +0000 (09:32 +0100)
This patch adds new host controller driver for
Fujitsu SDHCI controller f_sdh30.

Signed-off-by: Vincent Yang <Vincent.Yang@tw.fujitsu.com>
Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Tetsuya Takinishi <t.takinishi@jp.fujitsu.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt [new file with mode: 0644]
drivers/mmc/host/Kconfig
drivers/mmc/host/Makefile
drivers/mmc/host/sdhci_f_sdh30.c [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt b/Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt
new file mode 100644 (file)
index 0000000..de2c53c
--- /dev/null
@@ -0,0 +1,30 @@
+* Fujitsu SDHCI controller
+
+This file documents differences between the core properties in mmc.txt
+and the properties used by the sdhci_f_sdh30 driver.
+
+Required properties:
+- compatible: "fujitsu,mb86s70-sdhci-3.0"
+- clocks: Must contain an entry for each entry in clock-names. It is a
+  list of phandles and clock-specifier pairs.
+  See ../clocks/clock-bindings.txt for details.
+- clock-names: Should contain the following two entries:
+       "iface" - clock used for sdhci interface
+       "core"  - core clock for sdhci controller
+
+Optional properties:
+- vqmmc-supply: phandle to the regulator device tree node, mentioned
+  as the VCCQ/VDD_IO supply in the eMMC/SD specs.
+
+Example:
+
+       sdhci1: mmc@36600000 {
+               compatible = "fujitsu,mb86s70-sdhci-3.0";
+               reg = <0 0x36600000 0x1000>;
+               interrupts = <0 172 0x4>,
+                            <0 173 0x4>;
+               bus-width = <4>;
+               vqmmc-supply = <&vccq_sdhci1>;
+               clocks = <&clock 2 2 0>, <&clock 2 3 0>;
+               clock-names = "iface", "core";
+       };
Simple merge
Simple merge
Simple merge