Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da795ec2 authored by Shawn Lin's avatar Shawn Lin Committed by Ulf Hansson
Browse files

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: default avatarShawn Lin <shawn.lin@rock-chips.com>
Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 0dafa60e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -9,7 +9,7 @@ Device Tree Bindings for the Arasan SDHCI Controller


Required Properties:
Required Properties:
  - compatible: Compatibility string. Must be 'arasan,sdhci-8.9a' or
  - 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.
  - reg: From mmc bindings: Register location and length.
  - clocks: From clock bindings: Handles to clock inputs.
  - clocks: From clock bindings: Handles to clock inputs.
  - clock-names: From clock bindings: Tuple including "clk_xin" and "clk_ahb"
  - clock-names: From clock bindings: Tuple including "clk_xin" and "clk_ahb"
+1 −0
Original line number Original line Diff line number Diff line
@@ -217,6 +217,7 @@ static int sdhci_arasan_remove(struct platform_device *pdev)


static const struct of_device_id sdhci_arasan_of_match[] = {
static const struct of_device_id sdhci_arasan_of_match[] = {
	{ .compatible = "arasan,sdhci-8.9a" },
	{ .compatible = "arasan,sdhci-8.9a" },
	{ .compatible = "arasan,sdhci-5.1" },
	{ .compatible = "arasan,sdhci-4.9a" },
	{ .compatible = "arasan,sdhci-4.9a" },
	{ }
	{ }
};
};