Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp129336ybc; Mon, 18 Nov 2019 21:49:07 -0800 (PST) X-Google-Smtp-Source: APXvYqxAo8+4hjYce8T7ZtbbuHz+4dseWm6ARDs2+/3OacHQuNEv3w343jA7rYxWf5x50tr6TIwK X-Received: by 2002:a17:906:344c:: with SMTP id d12mr31136378ejb.227.1574142547246; Mon, 18 Nov 2019 21:49:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574142547; cv=none; d=google.com; s=arc-20160816; b=QNY5WTz8qzIeSZPZ7WM6veHh4vXvurh9a7l90P/eeu/SX23YBtAwoHnnKdNKBGSLs/ HlB2mLzxeQ0/RWdUPR3kswYWTdEUt7coT8Dqlm9dxufrfX3AqKhFDd7A4VQeBdlzhELS mcdTwt1+sYJ0/Sf8Ru3cKan/0+Lf/AAROWzLhN4xP2U4EltkPGdl67SxyuWLSP8azK+/ JPyo1bhEioinCRZHVi/6+3XHWZqd1Tmyku9DCUnwUIEaKGsVtUShbH9es0G3ud25dwn9 v8YGDwT/Lm+a9VCMk+QlVDApTwkKypTWm+yvArjYwhXHY9cUnyFHWPBieFq/AJj0A3E6 OO3g== 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=UHAjfwpcYG0JKWAdPLEmwnyuq+QPaplRxRDHiAgm5tI=; b=TZEHH0e926nL64swzhKGZpr18PSlXigr0yMhqgB3WKbQv/pOsl1ERgYQQkg4OGo6Yq 0AJ3M+TeyE6mSnW/GiuQoTPrjDdK4TWr10Y6/+2n6NKGk1Scqv9sLPOJdmwGprRPbsDI DzrfVpFFH14bLGtFndV6rpOKy/ntp9OkzgkkRycHPIn/CJbrALFOskVLSksXwlQYgGTb tnuKJFAzi8y/MvCngUdHZ3+EfNYnB92u3FRlcGrcqQ6Wr0jfMBtM/5PEUjzAMze5he6w 3WPf/By4Y1hCD4uZxZG2iq1Ga0vyC0jCKZaZ0nVNiN4wlzBQtMb7RnHGHmN3unN9fOt4 AUAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Poaom7iu; 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 b47si15646235edc.129.2019.11.18.21.48.43; Mon, 18 Nov 2019 21:49:07 -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=Poaom7iu; 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 S1730200AbfKSFpt (ORCPT + 99 others); Tue, 19 Nov 2019 00:45:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:41524 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730982AbfKSFpp (ORCPT ); Tue, 19 Nov 2019 00:45:45 -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 8B6E92082F; Tue, 19 Nov 2019 05:45:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574142344; bh=gQc1TgP91Eg1fBE2eP6CQ+0ionmH6FlDG3R33s8qABo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Poaom7iuWaa9vyumom/6gTe/DRAlzjpxhw+KvvkJZC/WCk2xWOB4oAXHHuVL4ibmT zdFgspYoMwKc/doVtFVM305GNjfvelHluWsscj4n+j6dE3uoFF1Ejdvz4w0pVxMyY4 hrHOoK+0QVPPZC/i/EJBgp5TL0t9JjVjlHeSrV9g= 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.14 050/239] ARM: dts: exynos: Fix regulators configuration on Peach Pi/Pit Chromebooks Date: Tue, 19 Nov 2019 06:17:30 +0100 Message-Id: <20191119051307.357970632@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191119051255.850204959@linuxfoundation.org> References: <20191119051255.850204959@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 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(+) diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index 7ccee2cfe4812..442161d2acd57 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -301,6 +301,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; @@ -322,6 +323,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; @@ -332,6 +334,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 0900b38f60b4f..58af2254e5212 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -301,6 +301,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; @@ -322,6 +323,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; @@ -332,6 +334,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; -- 2.20.1