From patchwork Fri Nov 22 10:26:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 179971 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp24494ilf; Fri, 22 Nov 2019 02:42:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzR9vIem/Dydjig7LIHPigi6vqmsCB6jBED5lpZA5oGfLvDqIPCgAfD3X3QqQxhILNHEsWs X-Received: by 2002:a50:f783:: with SMTP id h3mr210701edn.168.1574419332918; Fri, 22 Nov 2019 02:42:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419332; cv=none; d=google.com; s=arc-20160816; b=DYHWkGhuX5Ar5WlMnyGTace1jG9WcgxsJUQieZhjPzhxTElg6uexFT6HfRQmVY9gH1 ItmEA+MmzdjrVHm1D4/sf9VlyMChd9wWpsEkLJBYwL7OxHfBBRrr0USEgOQJRwpUgwQZ KMXUoxdRi4ZmDL/SOJ7eeqgJs0jaLaQ1ernK21j1uQZG0YndUVN3svsdJlF7Zl5q7q33 1UeMTmZpTRCaQzufJsrag6HSVEmjgMTKR29Dvv+baXZqiJgKE0/9Q73PD2bNkrN+JZK0 wM9xp0x1c0vFRfoFtxIHswhWBY9dx3XE7IlZJ5zichAQ5EEpVh8eUKKEcnIYlg3ZySHX 7GvA== 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=TRGhSoB7SgG7gGeAehDYzx1vpFdM0cM/0I8qe4fRXQM=; b=YEJCPERaB7tjZhZ1XMa7zZmPTKxrmunAvtra8VixEZl1IDIPXZVb9vdlZ7QL4/66+z g7TQUDmfr/tvZu3a/dMYjK7zpq8Uicyyv81qDV3Dvi1O2IcjyMRT8Mqdz9bfB6NMM4Cp M/s0n0XhanYzR572pPAS4K1xwp5IR38SwLsG2tMmVZo6W7nR1v4dkCk9pCJ1MewMMj+U kVD8OOKFk/wd0k58BIPcTiRGSbeISGsknij1mvkyw1K3JqLfQCmoqK+pz/MfsIcHewpv lI2HrKbRRO3vcSeIg0Qp/R7O4NUJ9G+Z2XfbwI20xlMTHAnqCKXPyz4XhONPhokpRsDa 04rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="B4e/HCGh"; 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 k24si2288976ejk.280.2019.11.22.02.42.12; Fri, 22 Nov 2019 02:42:12 -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="B4e/HCGh"; 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 S1727895AbfKVKmI (ORCPT + 26 others); Fri, 22 Nov 2019 05:42:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:46956 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729079AbfKVKmF (ORCPT ); Fri, 22 Nov 2019 05:42:05 -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 C4DFC20707; Fri, 22 Nov 2019 10:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419324; bh=BPCOPpeQbZWj52xinWEfuf+g4VQnSwbdAi1/ET2hRTQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B4e/HCGhzl4gkvkeVTkSvabJbon0O9bFyhO+vRWiE4O2zWuc5KCdfnuStaxvXMZW3 XYqmIRl1ES+i813DKpPHONa+u4W7QXZyP7GOqq6trd6ifs0ATSxRXVK3N3xz9Dzhrc P7AFyAoHuU7uu3s22QGU5G3aMqMGCKIEjVI/H4RA= 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.9 028/222] ARM: dts: exynos: Fix regulators configuration on Peach Pi/Pit Chromebooks Date: Fri, 22 Nov 2019 11:26:08 +0100 Message-Id: <20191122100841.192788835@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@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 8b754ae8c8f7d..c9d379b1a1669 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -302,6 +302,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; @@ -323,6 +324,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; @@ -333,6 +335,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 1f90df2d7ecd8..ae58b8d6f6144 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -302,6 +302,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; @@ -323,6 +324,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; @@ -333,6 +335,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;