Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7864ybp; Thu, 3 Oct 2019 09:25:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqypTxtzq45nj3luQMWaA+sQBNA800yo1GnSoAJMfmft9LFULdZ5JR15VKwV8YWCG4ibc+d2 X-Received: by 2002:aa7:cb46:: with SMTP id w6mr10966624edt.238.1570119951109; Thu, 03 Oct 2019 09:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570119951; cv=none; d=google.com; s=arc-20160816; b=pcAPGml+YqK1JaRpXilw4tK/SRildbGwUo07WVc7IkpinmYJtpsA8SqiFraksnZuXr hhll/5hOVZ3X34UaSgLALBTT+GLCdTGwjRKt6v+9FRC9XSWfygvGpGiMyHGe190GoPXV iZkfJyLE/ufqdcfbllKx2rTmEiwxah5+tKvR+MK9GMvZydj9IQANwQF3iOWN/sgZqwO4 NG0d01EAIVt3MoVrd8omReUlA3Sq4MYcvwoTuOyJbAgIAwWJboJzQ8dY4srs0pflGNga 5HUy1e3iSiNgphdDcQ1oFty0Df6iyvORp3XXKUHsROXypBeTkGFSuKfa2ZTHcDlE49KD u3CA== 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:dkim-signature; bh=SGHII7qbAb1qN9p+qykbwY439YYsMKZefJb17SdqEqw=; b=qJUOjvxWp7T2vPJdfP1tNrFZbiubh3HMJbTy5lPwa0L9QrS1a5zfHbEt8ExWIc5cOS NZu6ZI8J4p1MVDDQckHFNKQXVe/nNKS/LSTQ9xLt0VEM0x73x8FRX6fRpscO9cIsM8yX qajtaACJC+3rYqdfuuvkaafNTV8jKUQeozoy5e++xqb/T/4J6LPhRR0OlwpButMuXGi3 MDMzgnTdXhckh4RpfSOrRRWRi648AtMwIN1/PQg+MZWmBhA1saEi8qdIABjBZNiIwFb+ QWEKosIlSyqq0A0I2idQLcGvJKwj3F04Yy0a0HbeaKi5JVkc1tnA5HbFOZeqNYctWyHt sVUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DaDfyAqe; 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 k6si1875590edb.235.2019.10.03.09.25.25; Thu, 03 Oct 2019 09:25:51 -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=@kernel.org header.s=default header.b=DaDfyAqe; 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 S2390173AbfJCQVi (ORCPT + 99 others); Thu, 3 Oct 2019 12:21:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:49940 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390160AbfJCQVg (ORCPT ); Thu, 3 Oct 2019 12:21:36 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3425821783; Thu, 3 Oct 2019 16:21:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570119695; bh=ynYx037q2k8foXoI60jbKLN69/59PWUHOAgkDPUJ1Ok=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DaDfyAqe0GAfFudHZqOAcpTLJsehblxP3qd722v6568sMXNEC2CPiPbcr6E48MD4Q hwnngyPBzkrXlk3umhAIKup/F7dghwM+9c7o0ZYiSpxH0L93aB0zuP9O9EdYzM7g5z ewdb9xtvV4G5kBpfY0G/uEsNcL44antCHkqxJOFs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marek Szyprowski , Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 4.19 120/211] ARM: dts: exynos: Mark LDO10 as always-on on Peach Pit/Pi Chromebooks Date: Thu, 3 Oct 2019 17:53:06 +0200 Message-Id: <20191003154514.603976927@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191003154447.010950442@linuxfoundation.org> References: <20191003154447.010950442@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Marek Szyprowski [ Upstream commit 5b0eeeaa37615df37a9a30929b73e9defe61ca84 ] Commit aff138bf8e37 ("ARM: dts: exynos: Add TMU nodes regulator supply for Peach boards") assigned LDO10 to Exynos Thermal Measurement Unit, but it turned out that it supplies also some other critical parts and board freezes/crashes when it is turned off. The mentioned commit made Exynos TMU a consumer of that regulator and in typical case Exynos TMU driver keeps it enabled from early boot. However there are such configurations (example is multi_v7_defconfig), in which some of the regulators are compiled as modules and are not available from early boot. In such case it may happen that LDO10 is turned off by regulator core, because it has no consumers yet (in this case consumer drivers cannot get it, because the supply regulators for it are not yet available). This in turn causes the board to crash. This patch restores 'always-on' property for the LDO10 regulator. Fixes: aff138bf8e37 ("ARM: dts: exynos: Add TMU nodes regulator supply for Peach boards") Signed-off-by: Marek Szyprowski Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 1 + arch/arm/boot/dts/exynos5800-peach-pi.dts | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index 57c2332bf2824..25bdc9d97a4df 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -437,6 +437,7 @@ regulator-name = "vdd_ldo10"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; regulator-state-mem { regulator-off-in-suspend; }; diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index d80ab9085da19..7989631b39ccf 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -437,6 +437,7 @@ regulator-name = "vdd_ldo10"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; regulator-state-mem { regulator-off-in-suspend; }; -- 2.20.1