From patchwork Tue Nov 19 05:14:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179636 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp148982ilf; Mon, 18 Nov 2019 21:26:44 -0800 (PST) X-Google-Smtp-Source: APXvYqwaAAT54ohXTDVZ95x5JzyXgkCQvH579UJ8/SpKcMpg4HhAjzLisi4Rk5md2xppt5Nh98hn X-Received: by 2002:a17:906:8697:: with SMTP id g23mr33012605ejx.177.1574141204771; Mon, 18 Nov 2019 21:26:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574141204; cv=none; d=google.com; s=arc-20160816; b=IKoywYuXhyd5Zt1zo0dxZo4eW8cY4QHsiWX5DzVtlb14He/8Pj021Byhcrt4knKyqz vdVjzOlTZhbSVRPl4hG8IIFoN3kkfsLj/jdFPvXRhJQTsT7Gmceww7j3qIX7iMw+woEr ZvjIfgC3/q2TAbWTf8cvFYsgW/OIV3yJE0cKMKX6p8RiBMau7KBc81Kt22HXnapiIuzf IGscfNZ9RMA6a7RY1zgRzcvSNIBEy5D/i7vHpxBJ/p93Aek5GADiHCXh7hRepYZid5kB MXXZOnJTKEBAMCSYBLmZDv7iYFR0FzOF5Ok+Lc7sqbCZkbjsHg1wQ5tZmWf9aDadLNPU DYyw== 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=e0Sv6vYQUeq1Iwe4QZCEJSsGoDYCNg02T705gsH3dUo=; b=x0nFkuTkPDFtPoQLgmBkAJUTZLpexQ8NQS01p5Rj0fS+kTqG4a3LgMEHaP+GVOTcoN WU8hXvkG/c4S4qv50G6Jqy52JB47j0ggqiQUsDlEgIQWdiSQ+AOkapnaj25XyjygQOPG dk8CkhXbAhrWDpArFJM1mnWICzgcJJKqsyUnr/2Xc9vrvCWwIcURFv/jGkuSLyNCEfHj ki7onEp6tje9JBO34NDxT0HO5wzYCO6dSoT7CWjMwQH2pXYeTiUvDPT8R5RWk8e6YfLr slcpZoPXIW8nUo/HfL4Vvvnls6Ax87F2XVbvZzJP4bVO3/lVJudqLqSr0lkQ6ePuKH3N 2yeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=s56o69Zi; 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 i7si14948473eda.375.2019.11.18.21.26.44; Mon, 18 Nov 2019 21:26:44 -0800 (PST) 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=s56o69Zi; 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 S1728599AbfKSF0j (ORCPT + 26 others); Tue, 19 Nov 2019 00:26:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:44728 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728583AbfKSF0g (ORCPT ); Tue, 19 Nov 2019 00:26:36 -0500 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 0EB222230F; Tue, 19 Nov 2019 05:26:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574141195; bh=XkpVBslqKuTdE5Rwg3WUgngD4asXjVjBos72JgaNb94=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s56o69ZiMR3N62byG1haS/ECq/W9nj8RVQQM+iODjigVhRMzLRr8YJnlPBq1DZVIc qeuSAjo6SwmmM8YP3LK1YEvgO0VK2ywSIPS2/iEFH3E8T6WWNqgbpc0tkUQ6D9l+oE V4gpQ1ki+FfO3EcT9Tf88KuGlqeV4dOUQswJzros= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marek Szyprowski , Tomasz Figa , Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 4.19 077/422] ARM: dts: exynos: Fix regulators configuration on Peach Pi/Pit Chromebooks Date: Tue, 19 Nov 2019 06:14:34 +0100 Message-Id: <20191119051404.521809984@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191119051400.261610025@linuxfoundation.org> References: <20191119051400.261610025@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marek Szyprowski [ Upstream commit f8f3b7fc21b1cb59385b780acd9b9a26d04cb7b2 ] Regulators, which are marked as 'on-in-suspend' seems to be critical for board operation, thus they must not be disabled anytime. This can be only assured by marking them as 'always-on', because otherwise some actions of their clients might result in turning them off. This patch restores suspend/resume operation on Peach-Pit Chromebook board. It partially reverts 'always-on' property removal done by the commit mentioned in the Fixes tag. Fixes: 665c441eea3d ("ARM: dts: exynos: Remove unneded always-on for regulators on Peach boards") Signed-off-by: Marek Szyprowski Tested-by: Tomasz Figa Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 3 +++ arch/arm/boot/dts/exynos5800-peach-pi.dts | 3 +++ 2 files changed, 6 insertions(+) -- 2.20.1 diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index 25bdc9d97a4df..769d60d6c9006 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -312,6 +312,7 @@ regulator-name = "vdd_1v35"; regulator-min-microvolt = <1350000>; regulator-max-microvolt = <1350000>; + regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; @@ -333,6 +334,7 @@ regulator-name = "vdd_2v"; regulator-min-microvolt = <2000000>; regulator-max-microvolt = <2000000>; + regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; @@ -343,6 +345,7 @@ regulator-name = "vdd_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 7989631b39ccf..492e2cd2e559e 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -312,6 +312,7 @@ regulator-name = "vdd_1v35"; regulator-min-microvolt = <1350000>; regulator-max-microvolt = <1350000>; + regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; @@ -333,6 +334,7 @@ regulator-name = "vdd_2v"; regulator-min-microvolt = <2000000>; regulator-max-microvolt = <2000000>; + regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; @@ -343,6 +345,7 @@ regulator-name = "vdd_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend;