From patchwork Fri Jun 10 18:19:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 9170263 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DC51B6048F for ; Fri, 10 Jun 2016 18:22:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4975281F9 for ; Fri, 10 Jun 2016 18:22:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C97282833F; Fri, 10 Jun 2016 18:22:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7E1AE281F9 for ; Fri, 10 Jun 2016 18:22:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bBR35-0006tW-NS; Fri, 10 Jun 2016 18:20:51 +0000 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bBR2u-0006il-Us for linux-arm-kernel@lists.infradead.org; Fri, 10 Jun 2016 18:20:41 +0000 Received: by mail-wm0-x236.google.com with SMTP id k204so3007872wmk.0 for ; Fri, 10 Jun 2016 11:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WBVMknSbBiuN/qX/3n2KesTPxXDgYFa2iCtRii8df2A=; b=hlUtZ3HMxZVS8G6fyjuNdIHkpBu/U/7R5y9woFUl/Ge1xr64FMGASa+5peuqA3qXdU eMGoSKZKvIcH/mR4LECzEOzIX1Q/e2cbJ+VLHXnnLolfqJUNhfgLKUyiTSTLVKEJOa4/ np7Ie9tAULWBjYaX4rpJbansrVFeAwB1Q1m5Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WBVMknSbBiuN/qX/3n2KesTPxXDgYFa2iCtRii8df2A=; b=CcLm4lh5IBGtB9AvDkJlvLR631bQVThBuhBUPRIXQ8mqNv3LbWgAZrO92Sx00vUO4Q PryU+wmgn/V62xbAtIeSadQiefBWZEL8C3u58DwKGFOrENXaQe6BS1e68vmdvaoKu/Fb K9f0caHQDfUCWUhZa7Ung7EiKPedBSNXzf/Ya0t/NBbW4L9OzklH0vs/+vflC4wVnGzP zpe7Md/b1SE9gcXZmFWcYTPXPmyGT4OlmABtIVb9smqModkSVd9yx6r5irCHYisWkRS+ LWkU0GEYg1ORIDlNcTNp7iis5KVlL2si7WR58OGrgIFvW957mv+ykdoHKfEUWKS0/NFB EWhg== X-Gm-Message-State: ALyK8tJ56nyx2qH1MDZGqpuaIph1bBa76xVydSYbNq8BFOu7bzXREnzGCwki9mfAn2cJX2d+ X-Received: by 10.194.74.104 with SMTP id s8mr3484569wjv.20.1465582819263; Fri, 10 Jun 2016 11:20:19 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id x128sm345573wmf.6.2016.06.10.11.20.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jun 2016 11:20:18 -0700 (PDT) From: Srinivas Kandagatla To: Andy Gross Subject: [PATCH v2 2/2] ARM: dts: sd_600eval: Fix eMMC lockup issue Date: Fri, 10 Jun 2016 19:19:55 +0100 Message-Id: <1465582795-30266-2-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1465582795-30266-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1465582795-30266-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160610_112041_180097_FCA2E974 X-CRM114-Status: GOOD ( 13.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Parth Pancholi , David Brown , Rob Herring , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Bjorn Andersson --- 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; };