Ver Fonte

ARM: ux500: Add a vmmc regulator through DT for the poped eMMC for href

Add a node in DT for the proper regulator which means we can move away
from the mmci platform data which currently holds the corresponding OCR
mask.

The mmci driver can then calculate the OCR mask based on the voltages
supported by the regulator, instead of relying on the platform data.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Ulf Hansson há 11 anos atrás
pai
commit
e1a309a4fa
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      arch/arm/boot/dts/ste-href.dtsi

+ 1 - 0
arch/arm/boot/dts/ste-href.dtsi

@@ -154,6 +154,7 @@
 			bus-width = <8>;
 			cap-mmc-highspeed;
 			non-removable;
+			vmmc-supply = <&db8500_vsmps2_reg>;
 			pinctrl-names = "default", "sleep";
 			pinctrl-0 = <&sdi2_default_mode>;
 			pinctrl-1 = <&sdi2_sleep_mode>;