mmc: sdhci-of-at91: introduce driver for the Atmel SDMMC
authorludovic.desroches@atmel.com <ludovic.desroches@atmel.com>
Wed, 29 Jul 2015 14:22:47 +0000 (16:22 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Aug 2015 09:25:53 +0000 (11:25 +0200)
Introduce driver for he Atmel SDMMC available on sama5d2. It is a sdhci
compliant controller.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/sdhci-atmel.txt [new file with mode: 0644]
drivers/mmc/host/Kconfig
drivers/mmc/host/Makefile
drivers/mmc/host/sdhci-of-at91.c [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt b/Documentation/devicetree/bindings/mmc/sdhci-atmel.txt
new file mode 100644 (file)
index 0000000..1b662d7
--- /dev/null
@@ -0,0 +1,21 @@
+* Atmel SDHCI controller
+
+This file documents the differences between the core properties in
+Documentation/devicetree/bindings/mmc/mmc.txt and the properties used by the
+sdhci-of-at91 driver.
+
+Required properties:
+- compatible:          Must be "atmel,sama5d2-sdhci".
+- clocks:              Phandlers to the clocks.
+- clock-names:         Must be "hclock", "multclk", "baseclk";
+
+
+Example:
+
+sdmmc0: sdio-host@a0000000 {
+       compatible = "atmel,sama5d2-sdhci";
+       reg = <0xa0000000 0x300>;
+       interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>;
+       clocks = <&sdmmc0_hclk>, <&sdmmc0_gclk>, <&main>;
+       clock-names = "hclock", "multclk", "baseclk";
+};
Simple merge
Simple merge
Simple merge