Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp328079imm; Mon, 9 Jul 2018 02:30:10 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcce9SMhqiqbx8Bueco/dUebUpTBU075OFK1upvP9OzhFolp3AXdSLDlEQvxAlnFTmYpgnn X-Received: by 2002:a63:9856:: with SMTP id l22-v6mr18616665pgo.208.1531128610230; Mon, 09 Jul 2018 02:30:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531128610; cv=none; d=google.com; s=arc-20160816; b=uBHOx5SELnd3qmbzaU0lPf6Cf6B4DcE48clVeNAPZ5U79dQWabUgdjjS1cjepmhkxW S/pm2woUu9eREaLQCqRoWWQr9PJikXeCRPMF42GeSJZUmr9AIbwi4xO8LcjCs9gXhOIa oFLBwj0mv8CAPb72XAJHl/gYeEJGOh56lT2aOxqKuj6CJXWTOXTFtzuXZlvKCv/NeA9m yaJIipE4CFLoyTvLH8NGBxXAx6fjZ18g9J783HhOH/aPnyA6FKDpLL9RRn/6IQFCThYm D50EPxar9hhIs84S3L2frAqBR+8LJIjB6kWVc8zBxdcvuCNlVSq7zGyEwccc5ySStxYa 8OFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature :arc-authentication-results; bh=P5AvwFfCiq3/Maor2i1ec2K5nDvrBotulSHP5gLYtvY=; b=0ACarfZi0lokgAFDFd5JN5Jmf3OpQ6qakIHju46+rbsn7rQdlgRSmTqvHGz7jPIAaw juHNw0vNtYI/l3TT4ngYrSYF0jE0qj7YWItIWu7onwI6zZMl+pfYSh9piUDjz2EVvHAB 1K2fc1XLxCg3/rZr6/w1jyiMwCsv95eahRfpJBmL9GdKWqYVkfskXpZFwJxxIdMJo9zM Lx7MXPwSAqx51sx2HeMdn439QBsNHYhTx6VKrF+nbLw5iX3xDdr+zUuKSVWv2Qmexvry JAZDgyJG4P8/+vXOdvIW3a+U1nSSjv/rLzO8b/rhya3hFBbVmbHrakY3PtUjM+bcP6Sb j0Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kde.org header.s=users header.b=C5hep2eT; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i14-v6si12346530pgp.155.2018.07.09.02.29.55; Mon, 09 Jul 2018 02:30:10 -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=@kde.org header.s=users header.b=C5hep2eT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932528AbeGIJ3G (ORCPT + 99 others); Mon, 9 Jul 2018 05:29:06 -0400 Received: from letterbox.kde.org ([46.43.1.242]:57574 "EHLO letterbox.kde.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932366AbeGIJ3E (ORCPT ); Mon, 9 Jul 2018 05:29:04 -0400 X-Greylist: delayed 391 seconds by postgrey-1.27 at vger.kernel.org; Mon, 09 Jul 2018 05:29:03 EDT Received: from archbox.localdomain (p5097754f.dip0.t-ipconnect.de [80.151.117.79]) (Authenticated sender: bshah) by letterbox.kde.org (Postfix) with ESMTPSA id 1F647280A2E; Mon, 9 Jul 2018 10:22:31 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kde.org; s=users; t=1531128151; bh=P5AvwFfCiq3/Maor2i1ec2K5nDvrBotulSHP5gLYtvY=; h=Date:From:To:Subject:From; b=C5hep2eT/QfJrl1RnmZCoyhOOOZslqdjWCgdxFwYWyDz9CEmMspEP0AjUTtk+hm65 lSuwrFF4LVlMnpEdvk5Of7UomdwY6G8pOz403+xUkGq0SCditPvz1S6u0HMkp51nVS kzmqf19ecRWDR4co3V65dv7zxZO+UpggYFDOKdFNThbK8L7OV6WCmseiwL0n9Ow3fk ludJ7O46LS+An58Ki8w19wthKBdF+J63BPaHDYVXxKklNgFIgGaT86V1sjTvq+UIer MW/xQzVW3wFits49ZEGLx1yme/wKmf9rG/a9xMQLv/qj0ZRgzfk37pVp1IaZMeXwpy 6OQKMFEKp9I7w== Date: Mon, 9 Jul 2018 14:46:28 +0530 From: Bhushan Shah To: 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 , Bjorn Andersson Subject: [PATCH] ARM: dts: qcom: msm8974-hammerhead: increase load on l20 for sdhci Message-ID: <20180709091628.GA8854@orion> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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 --- 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