]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mmc: sdhci-of-arasan: Add the support for sdhci-5.1
authorShawn Lin <shawn.lin@rock-chips.com>
Tue, 11 Aug 2015 07:57:05 +0000 (15:57 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 27 Aug 2015 12:50:54 +0000 (14:50 +0200)
This patch adds the compatible string in sdhci-of-arasan.c to
support sdhci-arasan5.1 version of controller. No documented
controller IP version is found in the TRM, so we use ths version
of command queueing engine integrated into this controller by arasan
to specify our controller.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/arasan,sdhci.txt
drivers/mmc/host/sdhci-of-arasan.c

index 7e9490313d5add1f0fddf1327a3901625b1d6d55..da541c3631f81880c6e87b62e8ca2cb133d1aec4 100644 (file)
@@ -9,7 +9,7 @@ Device Tree Bindings for the Arasan SDHCI Controller
 
 Required Properties:
   - compatible: Compatibility string. Must be 'arasan,sdhci-8.9a' or
-                'arasan,sdhci-4.9a'
+                'arasan,sdhci-4.9a' or 'arasan,sdhci-5.1'
   - reg: From mmc bindings: Register location and length.
   - clocks: From clock bindings: Handles to clock inputs.
   - clock-names: From clock bindings: Tuple including "clk_xin" and "clk_ahb"
index ef5a7d241323a8e788e5f28dd4c2298272d02384..75379cb0fb354e7aa7749852ced8fca5973d435e 100644 (file)
@@ -217,6 +217,7 @@ static int sdhci_arasan_remove(struct platform_device *pdev)
 
 static const struct of_device_id sdhci_arasan_of_match[] = {
        { .compatible = "arasan,sdhci-8.9a" },
+       { .compatible = "arasan,sdhci-5.1" },
        { .compatible = "arasan,sdhci-4.9a" },
        { }
 };