Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp13476731ybl; Sun, 29 Dec 2019 12:50:24 -0800 (PST) X-Google-Smtp-Source: APXvYqw+e6GlHhOLyEcuqoVLRE4lrS66OYGkA65REiE0qUdXeADhFDHTNQtl2kJ98h/uEE9/2E/J X-Received: by 2002:a9d:1b26:: with SMTP id l35mr28123865otl.307.1577652624210; Sun, 29 Dec 2019 12:50:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577652624; cv=none; d=google.com; s=arc-20160816; b=pIL0MDqrFTkJfIsMj/ojSSNR8A6B9iS8Jrmt7qw2HwLsM5ZTiXHcZ5R1eEa8s6lQuF wmCRl9Zi69rp+V4gbilT6ygh8B0u7wziWgziYn/Go4o9CgieBDfjWrmhNHzFtzbUgjGy 8JDbew3cuPQvgEHeY1vVP+ILdci0fBtH2fpiv/xWCEqxOQqXBiRdAjxmt0OOYxv4GWBb K3P58vEIFkja29n5RAYwGCThm4TgERrZ2ANfwLEz2RbX4xeoItse1RHUBdJV3FsJQfsI NiwEExNEvphKox6KUObHTc61ybH8dg7y8dzpCiBxtLm2P97+QNFb1hDYTXSbXmBxn5QO SNOg== 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=bUpc0hIizq2Rm9l49sE29D6ZVfZcCEM4djjRq8JjU6Y=; b=oUm9GR/JkXmqlH+6Be3enC+NgavLl0se7JcAjdDdeZOnFo09EZSccLxrv9D9p7mdRO zLDvuMpTUF/HsNvnX+ybIDHk+AsRHaGwmkSt3rj8NmO6Z9/l1KgXpjEs/GuPxLFEwZIt 7c8SfxkQLc2xWkzCzWID8efCJlowfGqancYy+/ThTiKf/GgIN2817kw2B299YkNML08B aDkQCOqWss76vex35NM8knCs9CnfBBCRs5/+sWcvq/5DqJhbaevORkzeJjdSvRiwtJem ri7fW6pI76GTV40FG/MxPhr4oBRRtoxd3VZh+RoEInaWbdUOdB4cj+dpc5CXYJTnTt7p aPSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gizibf0J; 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 o206si20190781oih.143.2019.12.29.12.50.13; Sun, 29 Dec 2019 12:50:24 -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=gizibf0J; 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 S2387561AbfL2SA7 (ORCPT + 99 others); Sun, 29 Dec 2019 13:00:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:46682 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733119AbfL2R4r (ORCPT ); Sun, 29 Dec 2019 12:56:47 -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 C3545206DB; Sun, 29 Dec 2019 17:56:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577642206; bh=0nUNyXPoYafTdQXudVrzpPw+mdKPYbF1L5kWj5KLvd8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gizibf0J8Qts/FM6rfwNXkflY7EyMBg/kivyoq12XHLtC2dpJ1DqOYx70BFs2kl6V taDKchhQhFAEMIhOUeFY7Xf8y2No0mTMYIyypPxDEDHzkedo/LgkQpAS3z/PhvVmNp p+DHY9E833gTjrfEBAwUyNA6cbyTYTM87kEw8T5o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Merlijn Wajer , Pavel Machek , Sebastian Reichel , Tony Lindgren , Sasha Levin Subject: [PATCH 5.4 387/434] ARM: dts: Fix vcsi regulator to be always-on for droid4 to prevent hangs Date: Sun, 29 Dec 2019 18:27:20 +0100 Message-Id: <20191229172727.935086290@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229172702.393141737@linuxfoundation.org> References: <20191229172702.393141737@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: Tony Lindgren [ Upstream commit ddb52945999dcf35787bf221b62108806182578d ] In addition to using vcsi regulator for the display, looks like droid4 is using vcsi regulator to trigger off mode internally with the PMIC firmware when the SoC enters deeper idle states. This is configured in the Motorola Mapphone Linux kernel sources as "zerov_regulator". As we currently don't support off mode during idle for omap4, we must prevent vcsi from being disabled when the display is blanked to prevent the PMIC change to off mode. Otherwise the device will hang on entering idle when the display is blanked. Before commit 089b3f61ecfc ("regulator: core: Let boot-on regulators be powered off"), the boot-on regulators never got disabled like they should and vcsi did not get turned off on idle. Let's fix the issue by setting vcsi to always-on for now. Later on we may want to claim the vcsi regulator also in the PM code if needed. Fixes: 089b3f61ecfc ("regulator: core: Let boot-on regulators be powered off") Cc: Merlijn Wajer Cc: Pavel Machek Cc: Sebastian Reichel Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin --- arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi index d1eae47b83f6..82f7ae030600 100644 --- a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi +++ b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi @@ -160,12 +160,12 @@ regulator-enable-ramp-delay = <1000>; }; - /* Used by DSS */ + /* Used by DSS and is the "zerov_regulator" trigger for SoC off mode */ vcsi: VCSI { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-enable-ramp-delay = <1000>; - regulator-boot-on; + regulator-always-on; }; vdac: VDAC { -- 2.20.1