From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753583AbcFMQVW (ORCPT ); Mon, 13 Jun 2016 12:21:22 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:38300 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751992AbcFMQVU (ORCPT ); Mon, 13 Jun 2016 12:21:20 -0400 Subject: Re: [PATCH v2 2/2] ARM: dts: sd_600eval: Fix eMMC lockup issue To: Bjorn Andersson References: <1465582795-30266-1-git-send-email-srinivas.kandagatla@linaro.org> <1465582795-30266-2-git-send-email-srinivas.kandagatla@linaro.org> <20160612044736.GS1256@tuxbot> Cc: Andy Gross , Rob Herring , David Brown , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, Parth Pancholi From: Srinivas Kandagatla Message-ID: <575EDD7C.8010504@linaro.org> Date: Mon, 13 Jun 2016 17:21:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <20160612044736.GS1256@tuxbot> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/06/16 05:47, Bjorn Andersson wrote: > On Fri 10 Jun 11:19 PDT 2016, Srinivas Kandagatla wrote: > >> From: Parth Pancholi >> >> 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: rewrote the change log] >> Tested-by: Girish Sharma >> Signed-off-by: Parth Pancholi > > If I read the msm-3.4 tree correctly most (perhaps all) 8064 devices > should have this setup. > I agree, we should patch other boards as well with the same value. > Acked-by: Bjorn Andersson thanks, srini > > Regards, > Bjorn > >> --- >> arch/arm/boot/dts/qcom-apq8064-arrow-sd-600eval.dts | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm/boot/dts/qcom-apq8064-arrow-sd-600eval.dts b/arch/arm/boot/dts/qcom-apq8064-arrow-sd-600eval.dts >> index 7df0108..39ae2bc 100644 >> --- a/arch/arm/boot/dts/qcom-apq8064-arrow-sd-600eval.dts >> +++ b/arch/arm/boot/dts/qcom-apq8064-arrow-sd-600eval.dts >> @@ -1,6 +1,7 @@ >> #include "qcom-apq8064-v2.0.dtsi" >> #include "qcom-apq8064-arrow-sd-600eval-pins.dtsi" >> #include >> +#include >> >> / { >> 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 = ; >> bias-pull-down; >> regulator-always-on; >> }; >> -- >> 2.8.3 >>