From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1E68C43387 for ; Fri, 11 Jan 2019 14:25:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BEF2B2177B for ; Fri, 11 Jan 2019 14:25:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547216709; bh=5/C7Cv1lh3c40q0kPGnDPdKJtKPeptl+urnWepQqc+s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=0Eo/+7BvvYSB34CwWmTIIpPdg7F44CQXohU4o7krNPXTk5/C5KRNMUayz5PjG6qNJ Ng6CtjG9GI/qOsii+FBEHAL3A/iOs6q4mID8nIfK5IGgIRLRyo35gmPOwPBP5nb2iJ 4w1GOiPGvkBy9E3xiOO8m5REd5S6Oy9xhfvSWmlA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730186AbfAKOSl (ORCPT ); Fri, 11 Jan 2019 09:18:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:35172 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729027AbfAKOSk (ORCPT ); Fri, 11 Jan 2019 09:18:40 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 6783B2177B; Fri, 11 Jan 2019 14:18:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547216319; bh=5/C7Cv1lh3c40q0kPGnDPdKJtKPeptl+urnWepQqc+s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NChA/FvCKJ94OAw/rTkwNi83rHtVKTsSSqBRe3Yuzc31SU52X2QERoBzvNRpaQ3lx UXeTFGEbImfVehrjHZQTyIHuCRDx/Pg+HdwXorl3WnZrbo7Wkw94OkCElwl3lS+8jY 0vNy5AKvoYBr9XaJx7majkPZRJM06+p/CZgPjIvk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Anson Huang , Fabio Estevam , Shawn Guo , Sasha Levin Subject: [PATCH 4.4 57/88] ARM: imx: update the cpu power up timing setting on i.mx6sx Date: Fri, 11 Jan 2019 15:08:26 +0100 Message-Id: <20190111131054.736892894@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190111131045.137499039@linuxfoundation.org> References: <20190111131045.137499039@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 1e434b703248580b7aaaf8a115d93e682f57d29f ] The sw2iso count should cover ARM LDO ramp-up time, the MAX ARM LDO ramp-up time may be up to more than 100us on some boards, this patch sets sw2iso to 0xf (~384us) which is the reset value, and it is much more safe to cover different boards, since we have observed that some customer boards failed with current setting of 0x2. Fixes: 05136f0897b5 ("ARM: imx: support arm power off in cpuidle for i.mx6sx") Signed-off-by: Anson Huang Reviewed-by: Fabio Estevam Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- arch/arm/mach-imx/cpuidle-imx6sx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/cpuidle-imx6sx.c b/arch/arm/mach-imx/cpuidle-imx6sx.c index 3c6672b3796b..7f5df8992008 100644 --- a/arch/arm/mach-imx/cpuidle-imx6sx.c +++ b/arch/arm/mach-imx/cpuidle-imx6sx.c @@ -97,7 +97,7 @@ int __init imx6sx_cpuidle_init(void) * except for power up sw2iso which need to be * larger than LDO ramp up time. */ - imx_gpc_set_arm_power_up_timing(2, 1); + imx_gpc_set_arm_power_up_timing(0xf, 1); imx_gpc_set_arm_power_down_timing(1, 1); return cpuidle_register(&imx6sx_cpuidle_driver, NULL); -- 2.19.1