]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm64: dts: hi6220: add sd-uhs- properties into dwmmc_1
authorGuodong Xu <guodong.xu@linaro.org>
Wed, 31 Aug 2016 13:10:58 +0000 (21:10 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Fri, 2 Sep 2016 08:36:50 +0000 (09:36 +0100)
With these properties added, sd cards inserted into hikey can work at UHS
mode if they have such capability.

Note, this depends on HiKey UHS-SD support patch [1] to work properly.
If you didn't add this patch, but added sd-uhs- properties into dwmmc_1,
then sd cards cannot work. As of this post, patch [1] has been integrated
into maintainer's next branch [2].

[1]: [V4] mmc: dw_mmc-k3: UHS-SD card for Hisilicon Hikey,
 https://patchwork.kernel.org/patch/9262515/
[2]: https://git.linaro.org/people/ulf.hansson/mmc.git next
 commit a8a5b2909cfc ("mmc: dw_mmc: k3: UHS-SD card for Hisilicon Hikey")

cc: Ulf Hansson <ulf.hansson@linaro.org>
cc: Jaehoon Chung <jh80.chung@samsung.com>
cc: Jinguojun <kid.jin@hisilicon.com>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi6220.dtsi

index 63608e99cb6858cf36f1ebd4275085146d92aee9..17839db585d5c8ec16f88fc6b8b383741bdd6eb3 100644 (file)
                        card-detect-delay = <200>;
                        hisilicon,peripheral-syscon = <&ao_ctrl>;
                        cap-sd-highspeed;
+                       sd-uhs-sdr12;
+                       sd-uhs-sdr25;
+                       sd-uhs-sdr50;
                        reg = <0x0 0xf723e000 0x0 0x1000>;
                        interrupts = <0x0 0x49 0x4>;
                        #address-cells = <0x1>;