ARM: dts: sd_600eval: Fix eMMC lockup issue
authorParth Pancholi <parth.pancholi@einfochips.com>
Fri, 10 Jun 2016 18:19:55 +0000 (19:19 +0100)
committerAndy Gross <andy.gross@linaro.org>
Mon, 27 Jun 2016 22:36:53 +0000 (17:36 -0500)
This board locks up if we stress test the eMMC, as the regulator s4 is
unable to supply enough current for all the peripherials attached to it.
As this supply is wired up to most of the peripherials including DDR,
it resulted in such lockup.

This patch fixes this issue by setting s4 regulator correctly with
Auto power mode.

Reported-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
[Srinivas Kandagatla: rewrote the change log]
Tested-by: Girish Sharma <girish.sharma@einfochips.com>
Signed-off-by: Parth Pancholi <parth.pancholi@einfochips.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-apq8064-arrow-sd-600eval.dts

index 7df0108cec393fd2e13c7257c62a1b348f8fcbeb..39ae2bc8cb084a288873812c9530cff7e402a959 100644 (file)
@@ -1,6 +1,7 @@
 #include "qcom-apq8064-v2.0.dtsi"
 #include "qcom-apq8064-arrow-sd-600eval-pins.dtsi"
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/mfd/qcom-rpm.h>
 
 / {
        model = "Arrow Electronics, APQ8064 SD_600eval";
@@ -82,7 +83,8 @@
                                s4 {
                                        regulator-min-microvolt = <1800000>;
                                        regulator-max-microvolt = <1800000>;
-                                       qcom,switch-mode-frequency = <3200000>;
+                                       qcom,switch-mode-frequency = <1600000>;
+                                       qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;
                                        bias-pull-down;
                                        regulator-always-on;
                                };