diff options
author | Wadim Egorov <w.egorov@phytec.de> | 2018-02-13 10:44:34 +0100 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2018-02-15 10:09:23 +0100 |
commit | 83173662bdbb012c9afe02571bbedfa67354dd66 (patch) | |
tree | 4aa1712f00d85d2ed5d7eef66f6231ceaa61ec5f /arch/arm/boot | |
parent | ARM: dts: rockchip: Fix supply node for card's power on phycore som (diff) | |
download | linux-83173662bdbb012c9afe02571bbedfa67354dd66.tar.xz linux-83173662bdbb012c9afe02571bbedfa67354dd66.zip |
ARM: dts: rockchip: Support UHS mode for SD card on phyCORE-RK3288 RDK
The phyCORE-RK3288 RDK could enable SD3.0 card but need vdd_io_sd to
support the voltage range from 1.8V to 3.3V.
And we have also to add relevant UHS modes to the sdmmc node.
Let's also turn off the vdd_io_sd regulator in suspend state.
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/rk3288-phycore-rdk.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/rk3288-phycore-som.dtsi | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/rk3288-phycore-rdk.dts b/arch/arm/boot/dts/rk3288-phycore-rdk.dts index ecb26f0f6ffa..985743fa134c 100644 --- a/arch/arm/boot/dts/rk3288-phycore-rdk.dts +++ b/arch/arm/boot/dts/rk3288-phycore-rdk.dts @@ -265,6 +265,10 @@ disable-wp; pinctrl-names = "default"; pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; + sd-uhs-sdr12; + sd-uhs-sdr25; + sd-uhs-sdr50; + sd-uhs-sdr104; vmmc-supply = <&vdd_sd>; vqmmc-supply = <&vdd_io_sd>; status = "okay"; diff --git a/arch/arm/boot/dts/rk3288-phycore-som.dtsi b/arch/arm/boot/dts/rk3288-phycore-som.dtsi index 99cfae875e12..e9c9cad688cb 100644 --- a/arch/arm/boot/dts/rk3288-phycore-som.dtsi +++ b/arch/arm/boot/dts/rk3288-phycore-som.dtsi @@ -356,11 +356,10 @@ regulator-name = "vdd_io_sd"; regulator-always-on; regulator-boot-on; - regulator-min-microvolt = <3300000>; + regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-state-mem { - regulator-on-in-suspend; - regulator-suspend-microvolt = <3300000>; + regulator-off-in-suspend; }; }; }; |