Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2508433imm; Mon, 24 Sep 2018 05:39:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV63c2Jjxe0oE7pduq7SkjPy/BinTOLdeFcS/vaKN8Vskeal/KPUtt6XMVwzlxfPldO9HXuTD X-Received: by 2002:a63:eb53:: with SMTP id b19-v6mr9358038pgk.371.1537792768870; Mon, 24 Sep 2018 05:39:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537792768; cv=none; d=google.com; s=arc-20160816; b=M4ree0swMSAWRNDK6htmACyf0HfWe0nX1nvdmYWqlkVjPJZHNXcDoJg4j0/rjYhqOH 1ytWCq8H45WRi3sgilrfj46qsAlTaHubmBqgT+qp4MKnMOMgxjs+sWyXmZm+WVVtDx+t /3CxDNp1ftpucliRUfckFgxqPhtaCpm81HzLTnoyWRyf/q7+zQesAJBCWVqgyOGuP0pT Gf8jz3e9vaZd4XlNmMvREe3C86TTf6+rvomKWQtc0nHUJyT4BV/6bxfBiy/hcyroHPFm 8w/BCCcYY/c6bUP32SCuXO9kMnien8VvvEoW84nHYp7ZcwEsu3KtpRX36T/DpDq6Fe24 h6RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=cRGjWHqCzb0cZjLdxwlOcsNdh6ttwzXMjvFFEM/91wM=; b=wBsajrKgz6rDg1GtlqyEKcHBb+XMxRWdt2XOmOtpLGKfGfNS2UKU/EJWf4xishnNhB 9/Aw2iQdiEbae/cv8wLcqZxcxncS5qRL2egHgn+cV/hPq3uo6oxUTnxEToydLxUR7hXM hV/e34a/xERwwSYGCGVHHhzznGncYFri98SjvBo5+GLqmFwIcPIcAl3UNttIGjJ1mhpL iFx2cx32WqWC7hlnkgnGVeUbFzT2SkPIf+Ghv9xaJOyptTFbjraPrUGdYsrR+a4Tr2y8 /l5BH/EdN+srSwjC1UQYOWUC2LScUDzTkyu+ZmN8Q9MGewDw16KsWsH6G1BFdB1JFFDL /lFg== ARC-Authentication-Results: i=1; mx.google.com; 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 e6-v6si40148819pln.265.2018.09.24.05.39.13; Mon, 24 Sep 2018 05:39:28 -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; 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 S2388171AbeIXSkB (ORCPT + 99 others); Mon, 24 Sep 2018 14:40:01 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:58660 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388144AbeIXSkA (ORCPT ); Mon, 24 Sep 2018 14:40:00 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id B38A11092; Mon, 24 Sep 2018 12:38:03 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bhushan Shah , Brian Masney , Bjorn Andersson , Andy Gross , Sasha Levin Subject: [PATCH 4.18 080/235] ARM: dts: qcom: msm8974-hammerhead: increase load on l20 for sdhci Date: Mon, 24 Sep 2018 13:51:06 +0200 Message-Id: <20180924113113.090329077@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180924113103.999624566@linuxfoundation.org> References: <20180924113103.999624566@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Bhushan Shah [ Upstream commit 03864e57770a9541e7ff3990bacf2d9a2fffcd5d ] 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 Signed-off-by: Brian Masney Suggested-by: Bjorn Andersson Tested-by: Brian Masney Signed-off-by: Andy Gross Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 2 ++ 1 file changed, 2 insertions(+) --- 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 {