Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1432387AbdDYQ6X (ORCPT ); Tue, 25 Apr 2017 12:58:23 -0400 Received: from mail-sn1nam01on0055.outbound.protection.outlook.com ([104.47.32.55]:19404 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1432352AbdDYQ6Q (ORCPT ); Tue, 25 Apr 2017 12:58:16 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=nxp.com; From: Leonard Crestez To: Shawn Guo , Sascha Hauer CC: Leonard Crestez , Fabio Estevam , Anson Huang , Peter Chen , , , "Rafael J. Wysocki" , Viresh Kumar , Subject: [PATCH] ARM: dts: imx6sx-sdb: Remove cpufreq OPP override Date: Tue, 25 Apr 2017 19:57:59 +0300 Message-ID: <89cc7192100bdc9ce546bf6000446e629457ebc1.1493138693.git.leonard.crestez@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131376130944615367;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(39410400002)(39380400002)(39850400002)(39400400002)(39860400002)(39840400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(53936002)(50466002)(6666003)(4326008)(5660300001)(189998001)(104016004)(36756003)(50986999)(33646002)(85426001)(38730400002)(86362001)(48376002)(105606002)(106466001)(81166006)(118296001)(8656002)(8936002)(8676002)(305945005)(54906002)(77096006)(356003)(5003940100001)(50226002)(47776003)(2906002)(7416002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR0301MB1191;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;MX:1;A:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD010;1:6opxsU7qhahKv4AnhD7Wdz52ddZ8auO73nsNJthnUhXmjQacfrah7SoMyzA06kyBOvZQuf4UA8n4mrl3ty7RQCwiFOS1oxwJhx9AFBXgn6SJvuGmD5QsQKyK8IJJ7WTxVMEJnHCL7l1ClzalEu4XidwH+ECidLyvp9GaCOylGFjLQZenTC9u6xNj/cIIf7w6BjAuDx/tD4HzrLzItrLRy6nGvJzDAfnjFZtEVvOEHem1j4ZSkK1IYH/XFSG/0FiG8bVeb9b6KP3bed7uTLF7yggQZA4FIbmhIBt5gTO5nwuLW3br7D9X/jp2MusrhHK1l42Y6BXuqnAHDd6ngM4iAOfH9qK9DcG3iuAh7q72Wsj52URv8kcv8NqVS0fSxLatgUhawljzFViRZgFZ0nj0yt9tQwn2WTAZTEV2aGTr0qQccygm3nlQeKeSR2OsLamCTz26N7NgBW1CVNkEgifRVp9+cMFIHKZni/Lm/wUnl8tK0zaMThxF4OeqP72EhNPmd4iWuzgU378tt90kKl4eXTfdEsYbHOHBuRRWSYVv1QD5rudOSit+7dO4JWdPNJXgaX9+zbydGLSQUe8wHx0FT0PmtBwNU93pNCHwcQTKQnTdB3fGz2B8lcQ4Qd+wST+c MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f2cb8c78-0aa8-4f13-d770-08d48bfc434c X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:BY1PR0301MB1191; X-Microsoft-Exchange-Diagnostics: 1;BY1PR0301MB1191;3:2W1Tkio9jS++Xl0Kv9DO/kUk10MPOfibMfpEGjWclNK3Q9TxHRltBmXTXWWcqrLrRmB+2npjXH9YOsLA2zYtQ4RDGl+PVXCoZslIm9VCA7sJRTCckruRTa1MTZEyVolNHcueCtezKK85dAHu52mlYWymZUGfLLi9qvA4Aayzy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X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095135)(601004)(2401047)(13023025)(13024025)(13018025)(13015025)(13017025)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(6055026)(6096035)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(20161123565025)(20161123556025)(20161123563025)(20161123561025);SRVR:BY1PR0301MB1191;BCL:0;PCL:0;RULEID:(400006);SRVR:BY1PR0301MB1191; X-Microsoft-Exchange-Diagnostics: 1;BY1PR0301MB1191;4:raH3mPTt498U7yC3DqfPEZ+h119bBo87xHPEAeftzZGDW4agBd/tmdVHBdezF59moU1QucbE5vvL6lB6AxSCX4uUPVQRuobDfJ50KmBlgs8ynBG+GuViQEX2LwzlHrE9l69xSATw95hGHM/ebgqGE8eJX4IsKcuob++AnCshWjuWKEcDbjfLTVtJFBsF/V96ULfoMvuWv8oAsINvz1LuOQ68nkwAEKk6zCh2QEudtuD5LbTgqSC5tUb8C4jd4GPs0judPKVef3rVgRziQsteSUBDOkom6Jz5SUYuCp6V5PeFs0XfkQ43oh8qgFTy0tMpgTCT2lt+41otJA7MlYq0AClOS+WYWT67alOWkGXdbPfcdRieB3TQHyQbOcyqMjdXgWVY2+ZGcxLxGCddRTkdAkSq1ZVFsnnAu2dTMb3Li7nkGz/mr4HUnH8eLHMPF4tIkT1JWSiEC8u4jZheR9H2tFRT6BzWV42tsny1U9b18SA6oyQKZBoW0uGsTRAuMndV9kWVpnpv79zITdY/IOZOiw4B432uISSRbHQF3WhN4910NiRn9rx8n9hPGDVumMRHbeQHoP/dnZoUL6aFMLr3W7BqP2lyAjVKWQv7MDazmBGE+Qzzl+3W2Qvp58Y3Yw36U86TSBtDkaBhVmGtTCrUQ4NGiajqp9wKQTXzWiRxZ0bcQkxYp+B7eBlzLij6OWBFtRrZG1Vags1rYAgjVy+2bOKimxtqIQub7ff2iAol2dV7hIVGwCAe2Kxe/VX9IcALRaSBQMEiiz+g6QyR88M7Mgi6AU1yCPi2c+H7f+33v/9uaVhsclOX+I/bIqqKIPwwuvvR4QKrc+CV2x5mf9Ftnvp5HHqThOGek7jZJ8jAxrFGswpspHSAFlUd44dGzjSYrpJmX2ZEQU/a7vatH9dZYw== X-Forefront-PRVS: 0288CD37D9 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR0301MB1191;23:5iQO/maZHLdngpeg52L7VEMT8AmAtebEFmCB/gC?= =?us-ascii?Q?7A8yoYmJagrk9xZgJ2sPplrkym9qpKdJkhwvmDMyos4ta7AWRjpwPRanPuWo?= =?us-ascii?Q?GyjJFDF6hB6Qy0AEMZbs5dmM6josCxGl0RlpWPIDKZbfhNB6o+aAtyiYrDJQ?= =?us-ascii?Q?lLgDx/s2CACPgN3PY8za3BTVmVhykt/k/RmVAeud3+vmwPSyBS8ydR+LQJ+p?= =?us-ascii?Q?3PTnHdsW5rHrWlYmWWzK+C8ZjW6DJsYmM35UybCfjLGBl8W8RpzUydVkdv00?= =?us-ascii?Q?R/mHhOOkhfow7lQhcNp/EQtcq0SEiCGMHB7UZvNDPoVU1GIyfScdnuoLJFZI?= =?us-ascii?Q?4nMPSfE71+NHCDbEOmAOFz5Zu4mU2YBWifJ73pJwe68ZqaBepyPve1pKQRof?= =?us-ascii?Q?oiordwYauDvpMFlNlS0QbphXQLTcfwF1SAlCuys+xT3bXhzSROUMj5Wc7Zr9?= =?us-ascii?Q?3vgzrSq1KFIrRgZifRf0XLXnkhm9mJl8oPp1rWDwHqDEA6H1asPXYEOPDwaK?= =?us-ascii?Q?2yrLQmgAW7KGz3GjYZMUh49/h2i14NZoBx3YDlR4PZn77U5SyGr8WqgOjeJb?= =?us-ascii?Q?6o2bQlVZh8jM6NoixftWpbI4F+6WzbJB1pxsgFBXv/UAO2PftoAuK9+UnhWm?= =?us-ascii?Q?p6x5cNyLmpAc61OTXwSlOAfqk/mF+n0g5ACAxocjWP7WPYb9h4BHw6PMBiKQ?= =?us-asc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wUT789OiIOcV33nypUd4Oo4DUv5QwErG2hW9nT8042IMGJAfHOmfRddYWaymNexNxTKnuwyn;5:noSMH1GUN7VH3VcWl/yTC8HS20BowyXI7w0l1+KchUzQjsq7kIMd6dnDq/nni+4mTd53Z1J80zuNd8/M6YW6hZ170pFwn9PSt6GJyi7rJD8mJUC/PpUeuTQL0UhkJvmCDtyJit3FSVyk8qXXxtohIOq/rX9vMmCytWq2ojEJCv3/RMb799hgxW5L+gkpFDER;24:uYRru4XsJB07N6eJKqwHjWZpT2f6kTe4IB0p+ISlUIStfqmbBrBVEsYjMwYFz04GPFcRR8Cll3UFxsE+4zV6RQnMSXHOKOoYPaqpgnBDb1I= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY1PR0301MB1191;7:4udNnLIP1ieRFLAmRkjNfeq3qwscRZ9mdnwvnYG3bucxOvUN2CJgQed2po9KPxMFlFY34pKjAVhwJaXX9RBDEyqjb3+BP/rMYuLCCbIUwXfL6RDNjPQ0+VLLv1gfZWgFqhHxiuIj0XHlI1d1bOKF3MHMzECDq4ASTW4F6rNjc9l5iz6fNVDaVVxxw0Z9bdny5tJH09gpgMqJlHJ3oaUCHvaX7AwkxJAGGYacOLd7imN3SVHgzbKBOouh6lv6Qw0byjoO+7wRpFz7buRNux3Lev56Z53Da2n1b8IRfr8OjR8MjZpN+ozc1BQmHTrU+XmK7NZmTKRWKGw+ksxDOb5DFg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2017 16:58:14.1495 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB1191 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1776 Lines: 58 The board file for imx6sx-dbg overrides cpufreq operating points to use higher voltages. This is done because the board has a shared rail for VDD_ARM_IN and VDD_SOC_IN and when using LDO bypass the shared voltage needs to be a value suitable for both ARM and SOC. This was introduced in: commit 54183bd7f766 ("ARM: imx6sx-sdb: add revb board and make it default") This only only applies to LDO bypass mode, a feature not present in upstream. When LDOs are enabled the effect is to use higher voltages than necesarry for no good reason. Setting these higher voltages can make some boards fail to boot with ugly semi-random crashes, reminiscent of memory corruption. These failures happen the first time the lowest idle state is used. Remove the OPP override in order to fix those crashes. Signed-off-by: Leonard Crestez --- It's not clear exactly why the crashes happen. Perhaps waking up from idle draws more power than is available? Removing this override is a correct change anyway so maybe there is no need to investigate deeper. arch/arm/boot/dts/imx6sx-sdb.dts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts index 5bb8fd5..d71da30 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts @@ -12,23 +12,6 @@ model = "Freescale i.MX6 SoloX SDB RevB Board"; }; -&cpu0 { - operating-points = < - /* kHz uV */ - 996000 1250000 - 792000 1175000 - 396000 1175000 - 198000 1175000 - >; - fsl,soc-operating-points = < - /* ARM kHz SOC uV */ - 996000 1250000 - 792000 1175000 - 396000 1175000 - 198000 1175000 - >; -}; - &i2c1 { clock-frequency = <100000>; pinctrl-names = "default"; -- 2.7.4