Skip to content

Commit da795ec

Browse files
shawn1221storulf
authored andcommitted
mmc: sdhci-of-arasan: Add the support for sdhci-5.1
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>
1 parent 0dafa60 commit da795ec

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Documentation/devicetree/bindings/mmc/arasan,sdhci.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Device Tree Bindings for the Arasan SDHCI Controller
99

1010
Required Properties:
1111
- compatible: Compatibility string. Must be 'arasan,sdhci-8.9a' or
12-
'arasan,sdhci-4.9a'
12+
'arasan,sdhci-4.9a' or 'arasan,sdhci-5.1'
1313
- reg: From mmc bindings: Register location and length.
1414
- clocks: From clock bindings: Handles to clock inputs.
1515
- clock-names: From clock bindings: Tuple including "clk_xin" and "clk_ahb"

drivers/mmc/host/sdhci-of-arasan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ static int sdhci_arasan_remove(struct platform_device *pdev)
217217

218218
static const struct of_device_id sdhci_arasan_of_match[] = {
219219
{ .compatible = "arasan,sdhci-8.9a" },
220+
{ .compatible = "arasan,sdhci-5.1" },
220221
{ .compatible = "arasan,sdhci-4.9a" },
221222
{ }
222223
};

0 commit comments

Comments
 (0)