From patchwork Tue Nov 19 05:17:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179687 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp165558ilf; Mon, 18 Nov 2019 21:45:51 -0800 (PST) X-Google-Smtp-Source: APXvYqzZiwpyxeZ1wbl6VHDSIunIO683B6hfB1bEinw/6pHVZkbrtx8Ts5cFQ8HarAd4Q7Y5BcFY X-Received: by 2002:a17:907:212a:: with SMTP id qo10mr28993596ejb.197.1574142350885; Mon, 18 Nov 2019 21:45:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574142350; cv=none; d=google.com; s=arc-20160816; b=T5ryCJlv30xTrW4w1v7Y96Gl+qpk0O0cvBD6g/mnNtrR7BowMD7CUbvlAjLZgLhRzw 6q8/VjNRYGYna0I3eXTeHM4nd3PbTyRx2RhZz2q8TkItt+vWzITrhMdHtuAigv694w/7 gkFz/KK/D8a7UpIzeTKfRTHV2D47+e6qNY4cMXNS0fI2DwSsxE3AwwwoGwvXk45c7uZj kIKcZt6cRavRzUBRK5EGx1CjytGTyX/nKS7qtvl65Asa+KZKBDJobimBNXurUwFtxgDI HMV0TwV1DOWqKdBqoOaTg2OW6raoUoiVYxB2cMmn3oxFOcF/flT2UBVu94ccdY/EiCAX 80hQ== 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=HP8PWzicHN4h8QQYAZcxEm8g6Kzesu7SQSGqXfC2z6qgBitQ5zpR0B5cVrpr9BkGpy Ah62Pkbr2oud38FFuRCiBVK/jA6slbgHXHVWOkNjLjZSMUlcqHj0jWQQYowT/Ijs+UNu XNL1g3tMlqKvN+aTuBIkcJ5j0SeuWPwEY/LNyEWTH/fGxSV1I5uN5yGnxiidraKGasKY rCndPilz3HUZ3oEwcjWybo6Rlk7iArGkd1b8Rvc3B9I9y5mtAxaDKyawa1RoLuO9RHgh zXmijerOGnx1RPqHpuLeAJ/mEyJyklUugq0rBUhxGgIGSbrr9alH5XTGXfpRhT/8f3ZN D2Ug== 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 stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 f8si16267349ede.120.2019.11.18.21.45.50; Mon, 18 Nov 2019 21:45:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-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 stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730214AbfKSFps (ORCPT + 15 others); Tue, 19 Nov 2019 00:45:48 -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 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@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 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;