Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp143612imm; Tue, 31 Jul 2018 15:30:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcABv+eyO87uxpi+jEJFcxO8bco31N6SBGUaMYMUWrvPRSJE5lcT9SPs/zGteWN9zEKtNLo X-Received: by 2002:a62:be03:: with SMTP id l3-v6mr23990371pff.138.1533076208363; Tue, 31 Jul 2018 15:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533076208; cv=none; d=google.com; s=arc-20160816; b=szr1Imz87nmHTesUN4hh43pBbV2wDPvhD6hBQ0fhVueLgPMBqyceWT0Vsx71vLszfb FF8MzTP7R53WxbeNQSucG8alGQyKZes0nB1ZPUvxJlmYJ/TH0vAdj/xLHnJ81u1sWKSu 4smqPk8HZ8LddQ9tb1xtRUnTMlqAOO0cRTaXYOITsTZfqgefcaSUTveQs2X+fma2AUHs 6bgI/j6jDg+5qvQNe6xt754D8NG9fR0sGDu958wXIlh2mONIAEz0oZBHEM0Pe4jHZn5A vqRHDHk1aM+vGrmUI5kFyru1qIWFeXy+sTPd0lc45sWsyrnaJr3vyB5lyjGYtp9Sz+XR 1mzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=tmbtfbzI6puP3QSpGYOfeeH32qqFkX4qrmc2EsmofsM=; b=RWegIoyHgScipgEhiH5cWX1QJv8WbLp3FwVntFpO+eLgQseJX2GecFc57nvARliavk 7M0sI3ELpW3lcV/v0FAZjaz5idpPAzSe+rktOEmAbY5IGcQPNDHjSBhJ+Xce0mNRxLS2 WrwLt4RWIY+5ESYr2dttdRH7POMO+fkvtzeKgTs3CEJUXI9Vnz8zjfn4hP40GGC4TxQA FD1UmbwyQ0Q4OIcN12iYVDVnYVLSHtWdc58rqktzJpniKpdtIfOeyvz7doreTdkLfx5s LsoKU11H6HADDgKmrYChbzAbrgT2J2F/aeCMrwpX+tUqbEk1XK3Dg6Q9Yd9QoO616yd8 C1OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qf74dvWi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x37-v6si13875613pgl.544.2018.07.31.15.29.47; Tue, 31 Jul 2018 15:30:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qf74dvWi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732472AbeHAALJ (ORCPT + 99 others); Tue, 31 Jul 2018 20:11:09 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:41895 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732244AbeHAALJ (ORCPT ); Tue, 31 Jul 2018 20:11:09 -0400 Received: by mail-pl0-f67.google.com with SMTP id w8-v6so7785272ply.8 for ; Tue, 31 Jul 2018 15:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=tmbtfbzI6puP3QSpGYOfeeH32qqFkX4qrmc2EsmofsM=; b=Qf74dvWiX9R3H0sqkdWIbUozChe8XjyxRtz7Mb4MMHrGydsuMAYtufmO3sABYjiS/J WBbSba1iEslQMh6bFRI5qKhBcRtrD+X+qHzb648LU+449O0SX5OSbTfAOy/9ZMI7Rqav E8vbFgwiG8XGqbbqzzYxS4staSU/pAVlbpS0c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=tmbtfbzI6puP3QSpGYOfeeH32qqFkX4qrmc2EsmofsM=; b=F0+bTqy3eKRaNQO6+OahqU1s0FNCSeX4WNLfpXJQ/U2rSfAfU4h+uFuRyCq2H2BHnZ 94DQlhcbIif6CJn+zZZtHLgb0FKsyf1mWd8MQBbeiDzNnC1pSF1m3hbwNfsA2shwT/oW 8YamRxw28cZQwO3jOpcMoTfGy60tbJ2FFUDxAlHj+EsRti0HR0ra5/p+JW0Jr1VLLg89 nH4fSpmy0OwdCGscor9+1S9AeO2JuJ37c+RbAik+mCmAt8uDURM4R+xd/yPRcSwzZQnR bSWt00lmUdebN0CKdjDhc7cpGXbPvaK53qzM2t3O1GGtJomuOLjSyMJWLakrg2HggbgR NKBA== X-Gm-Message-State: AOUpUlG1yFp0IPK/xufuS0Go3G7x+yydNofXJ+dlIMQG9DalgTILCzyx +TsdnlJPblg0yt1fxy03Wo7P6Q== X-Received: by 2002:a17:902:70cc:: with SMTP id l12-v6mr22328486plt.132.1533076119830; Tue, 31 Jul 2018 15:28:39 -0700 (PDT) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id 2-v6sm27791062pfs.58.2018.07.31.15.28.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Jul 2018 15:28:39 -0700 (PDT) Date: Tue, 31 Jul 2018 15:29:28 -0700 From: Bjorn Andersson To: Bhushan Shah Cc: Andy Gross , David Brown , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Brian Masney Subject: Re: [PATCH] ARM: dts: qcom: msm8974-hammerhead: increase load on l20 for sdhci Message-ID: <20180731222928.GA24465@builder> References: <20180709091628.GA8854@orion> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180709091628.GA8854@orion> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 09 Jul 02:16 PDT 2018, Bhushan Shah wrote: > The kernel would not boot on the hammerhead hardware due to the > following error: > > mmc0: Timeout waiting for hardware interrupt. > mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== > mmc0: sdhci: Sys addr: 0x00000200 | Version: 0x00003802 > mmc0: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000200 > mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000023 > mmc0: sdhci: Present: 0x03e80000 | Host ctl: 0x00000034 > mmc0: sdhci: Power: 0x00000001 | Blk gap: 0x00000000 > mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007 > mmc0: sdhci: Timeout: 0x0000000e | Int stat: 0x00000000 > mmc0: sdhci: Int enab: 0x02ff900b | Sig enab: 0x02ff100b > mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000 > mmc0: sdhci: Caps: 0x642dc8b2 | Caps_1: 0x00008007 > mmc0: sdhci: Cmd: 0x00000c1b | Max curr: 0x00000000 > mmc0: sdhci: Resp[0]: 0x00000c00 | Resp[1]: 0x00000000 > mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 > mmc0: sdhci: Host ctl2: 0x00000008 > mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x70040220 > mmc0: sdhci: ============================================ > mmc0: Card stuck in wrong state! mmcblk0 card_busy_detect status: 0xe00 > mmc0: cache flush error -110 > mmc0: Reset 0x1 never completed. > > This patch increases the load on l20 to 0.2 amps for the sdhci > and allows the device to boot normally. > > Signed-off-by: Bhushan Shah > Suggested-by: Bjorn Andersson > Tested-by: Brian Masney Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts > index 4dc0b347b1ee..c2dc9d09484a 100644 > --- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts > +++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts > @@ -189,6 +189,8 @@ > regulator-max-microvolt = <2950000>; > > regulator-boot-on; > + regulator-system-load = <200000>; > + regulator-allow-set-load; > }; > > l21 { > -- > 2.17.1 >