From patchwork Tue Aug 9 08:24:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9270625 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8C92460839 for ; Tue, 9 Aug 2016 08:35:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7520820265 for ; Tue, 9 Aug 2016 08:35:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69B95280F4; Tue, 9 Aug 2016 08:35:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E8E3620265 for ; Tue, 9 Aug 2016 08:35:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bX2UO-0000y1-5T; Tue, 09 Aug 2016 08:34:20 +0000 Received: from mail-co1nam03on0061.outbound.protection.outlook.com ([104.47.40.61] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bX2UI-0000uk-OK for linux-arm-kernel@lists.infradead.org; Tue, 09 Aug 2016 08:34:15 +0000 Received: from BN3PR0301CA0023.namprd03.prod.outlook.com (10.160.180.161) by SN1PR0301MB2063.namprd03.prod.outlook.com (10.163.227.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Tue, 9 Aug 2016 08:33:52 +0000 Received: from BL2FFO11FD026.protection.gbl (2a01:111:f400:7c09::185) by BN3PR0301CA0023.outlook.office365.com (2a01:111:e400:4000::33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.549.15 via Frontend Transport; Tue, 9 Aug 2016 08:33:52 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) 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; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD026.mail.protection.outlook.com (10.173.161.105) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.557.8 via Frontend Transport; Tue, 9 Aug 2016 08:33:52 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u798XnE4024219; Tue, 9 Aug 2016 01:33:49 -0700 From: Peter Chen To: Subject: [PATCH 1/1] ARM: mach-imx: pm-imx6: add missing BM_CLPCR_BYP_MMDC_CH0_LPM_HS setting for imx6ul Date: Tue, 9 Aug 2016 16:24:43 +0800 Message-ID: <1470731083-26213-1-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131152052328200105; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(50226002)(8666005)(81156014)(104016004)(81166006)(305945005)(8936002)(92566002)(189998001)(5003940100001)(48376002)(356003)(68736007)(110136002)(4326007)(50466002)(2906002)(7846002)(8676002)(97736004)(87936001)(50986999)(86362001)(106466001)(229853001)(2351001)(105606002)(586003)(77096005)(47776003)(19580395003)(85426001)(36756003)(33646002)(11100500001)(19580405001)(69596002)(7059030)(15760500001)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0301MB2063; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD026; 1:4+TQclXArIjyzGJ8lafmQ7+aDhHd+8CjnYlUrmUC9Vdx7BPoEAiRbcR2+xMx2dDx42G/5llBZaaCXhT/vTQnAwxtaqqzWzSOTfiQaprWCM2GWnIKFEC7Fpb2NhTompE+5PjWSLrA1if+0Q+ecF33gEFoV9YXAelxJmpGERhxNsI0YGub5p2RfGnmIwceH4g5b6bHM0Tmybhwh6e/unDg/02AVPJWGn37LvvriDSgSRx4N6+KNYiVsVtMl53zUEW2gOQ6J6GBNcCIyWz/H8kvanf5WAWPI2wbv3npxRyfEoYNlAYCZ2q45rfdtkFbuAWXhTz+4wF5l+icsXJwTQO1FU3uEDFTJWizjgVpaiA/gHLKpgZw8OQsBqWfM3u5l4EOuQPq+H0uygEh776uJ2t7EPnQ95KYfb5p8rW23Kkg0k9MqjRXaKh8Mxd6qdp8PQwNOaj1dGc81SKkb11J2S+Md80Sgs6dih1JdXr7zZo54dDWbJB3YiNvM+QNguXd//NuhWKDSGsZWlVQoVlf3MROSoHIR7ErZ21ivMbQSnm3QAcTPwTWz3I7EBkv3oCNh88MvqS14K5634EZOUA8SFFoglNYc1r3P8c9w8KIUSTL7ADFUKxkEQ+QeFkwhby8o6Sd MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 0dbbc88a-263b-46bf-9640-08d3c02fe50a X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB2063; 2:H0DZIj9quzSoSoTJmrrfVO/76zq/JiYxj96OGiEOAZnN/0kCh4cLxA6j4pbKXeYXYVkDAO2X8vuyWdrSbfZb1CKDXt5hItBFIMS97j71jxrVZOwxsX2tkfbwB1ZUCg9E9ZwuFs7KmaDpTKeQaN5v79rNzPmVV3Hb7xBIZ7NM/AkEH3yzDy4pj4kjEe5k5U5q; 3:N4iY+dQtPtIeX8Cz+ZtR1GqNLNxpN9EtGR+UnjzWalhDiqgg0doobtl3unfr10cYt7/7kHNvUbRzh+VoG9GsUtwcadVy2W080Ea8d03RL/VJ0W0oel1ADFuhHydNqav24pUWX8nMiEWimEa3sUNdKGw0zcOrhJCtGpYZNRG9X8cD67XbpHZOLEQfUuT2Z1A42fG8BSxbMgR9upom+OqxXupwg5z8syiIv4kKkTsZpa8= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB2063; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB2063; 25:JoSLJR9bcUnGBsdrIV6THkSn3eQNECimB9atYBqg2W9Pi3hAxZkeDcp9YgRyafgGpoOCc7V09O9OdjcXZxVjtt+/cdHfkMFTXAaK7jaOy5PpuEdiiAj3btb8uWDEkpWES17OIv66EaSa1Jg9/hkNK6CNbl5Fy/QlOROaOaCORPubpurnxmgeQXUu+XDRwh6Yj+d7PKTiG5H0ZQ4s08zOgafZIIho5RiIEOV67RGL0uXiJDmy7m7rjYMCtn5LG1zJXqzo/XD853IG1ryK7WcwSWIjaxfgtQLQAFx7WkF7ENk4u1fMFEItcEnKbW1BMBCW64kVbs0vEjHh2pZOjD859kQ1MFpTKyZD9wApOxaTyb7sLqqrN/VT0ZPjr2Gt6RdoiAz1v5QSlS7W+C2eF//C8BUTjIaaLHSygDoTUz5wyYfhMM09xWKnKVzyH34boe9McDJQIec2oTnvdhoAksYWp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WlFvuRqQQzOuJ4EPnD21XRgfeFIW9Mbc4XcST3TF+JQ3RWGfPNJdRe85My8wKzII3 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(13023025)(13017025)(13018025)(13024025)(13015025)(3002001)(10201501046)(6055026); SRVR:SN1PR0301MB2063; BCL:0; PCL:0; RULEID:(400006); SRVR:SN1PR0301MB2063; X-Forefront-PRVS: 0029F17A3F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0301MB2063; 23:qVjh3WDSLqUNNJFH/q0csRqF96JB9qPKz7NKn1R?= =?us-ascii?Q?sDf7+TNyIzetYsksfpuv+F5K/iBSeErxpYTKZzkKITEbB3TC1Ikw/Q39AgwY?= =?us-ascii?Q?Znoy/Pln/OBoQrMG35lX12TRrm584FDk2Q3+nrgyAlA537jxWAHjXjhozP+X?= =?us-ascii?Q?jMjLyvCu2IhV0XRxmqqDte+kcjhqNl3w5iMeZem5NRwt7oXnsokx60D9U38W?= =?us-ascii?Q?Qrr3rH68yE5zngqJEynyusRdgrtFK2GQrxcFGj27uH3x1WPeKLp8wCRhbRgP?= =?us-ascii?Q?sVC6+jhwf/n4VLERlG9fx+JsAjzNpb1q+in64Nhf8S/BSiv0IoevYZgsnzhL?= =?us-ascii?Q?HOsEAZdJg2qUgglBMQkwcxubqhCpvBq8aFpZl20rxx4612dn5g0hqTeTxAmu?= =?us-ascii?Q?h8Q2aIbh5jdPbrBaw3mK5ca23kYWTcQ+rSy8RimIOQccssHkE+FsXziOTPqv?= =?us-ascii?Q?Tm2MMt8dKa3uRAG7FwhaR4KCFvq3g8+0Wd8YJWu3LWtM6RAbuXqUXkWRBj5i?= =?us-ascii?Q?hnCe9UXf9V1pDlbm/GSReMrkh7cJJf0mBva/x0HzKLjj6NDLSfvSoOW4x7cN?= =?us-ascii?Q?seEaFqCN5MQrikAG50M8fdERKUQJNs0jjQEurJgcbAIhbzIXczk7QAyAy6Au?= =?us-ascii?Q?27pnv6s5KT2AUK64lxjfVDlW2fE1TLm9fhdBmHvqFrOguigh8zrCWIiljafW?= =?us-ascii?Q?s8DIVmvr9xXoNtx1YYEpgBPDmd8+YUvrHz0/5eP0XwSQFi/CRn+eqixgm3Lv?= =?us-ascii?Q?4LoKeTEW+s3u7ZuPK1SaTE73BxPCrhBaDut9jYzpDEDpLdEmkE9wDxm+KnB6?= =?us-ascii?Q?Dby63M+6yjKWx+VEY7QDxK+d40dRzomwSvPg0S761kB7jKW/1EPMQ+hGJhY0?= =?us-ascii?Q?rk+iloHrgsim6z8atPu32rrGIXbFzjE7BA61iFhVAdAqCn0QXD0RqFcLhAP/?= =?us-ascii?Q?1PE4sl+nCEj0Qee0KzhOuhlEUnwZZOq/B4RYsAzGZJ38aF2UpONFATPbd9qw?= =?us-ascii?Q?GbGYuYj4X2KmY0aJ1kDfmC18dmuyS4hdZecSKhEjM5QUe24F+r4p51diys/K?= =?us-ascii?Q?2sIJu06Qfl/rlYRP+tqCsSJhVzq5vRrM8Av4GADftuI0OPpdLlvFO9q6jSjA?= =?us-ascii?Q?o36TzkuKfhMZlPFTp8+KrEc0qKKhcoKXpH+0newvGOx7efQNOZgQqew=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB2063; 6:96ncTcf4P5AQ/GWblzisHtSN85678PQAzYJOcb5/oyoxrTzzo6OKLFKUJUrNxtoS92F7iZXPTumBL5quei9t/p06R0DbUhcmB81zGkCNC6X5yTKV52YabJo6BVk1hxNlWw/xd//wI5f4sL43LZRuCnmcWjeyqoPLyG6MVf5o6/ehNUYUWrFwUpSjUbLOmueIPUKWMJrkg6SAMDLL76mhL0uuNRThjcKjX1nU4Y2MEAhBp2zaX9rckpH4/62XS5KAbUl2UtR2WXysaRnpMRO+BtZuH06c8h8PJ+mlUWOAg0I=; 5:GmNiXev7VROssdCe7fPs8wt41p6/iaGe/q/pfIuj5Ko42tV0pBrKnUXs8RMTJX1cx1fhanEwGaRnt8jykg9EPWx1o89ayEoJ4+4cblllXBqxHu3PkjCwv7zSmm/8RPWuTuyIn2fPt5x8OxQJV5lGLdhe2+9KHjMwPpCUes16zoY=; 24:kncHKuRn30TKq4M11dusJruvOvJ3c2oafrmTH+AbP/Ws9Csmf+AQKhsQ9zDguOPM0t3vDjjXnZrnKZJAwsSUlbFeGpHqiKAXuM3SbQpCRqA=; 7:ByjwC1P+Xudb9+orDZ5cjEkhOznOPA8cFCBeyQBzeVDWe4kWUJ42W3tLk333b6akeTEZme9ksb9q9gq0pRX63iM2/IJ8aPBSkANOAK9qOamOkSjwa+V3Eu/76zH/93rEG+ggFIjvzPy3jR17wVP43kf8pRVFfQDxjr3h6Ti3hUvsO62Yc5d/KsK6OaporLQqUzBcn2ZCIUUUFhsPP9h+4ywFy1D9N+4EMMffcTeiDz0/EPpZkxptRUvM+spOGTQO SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Aug 2016 08:33:52.5703 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB2063 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160809_013414_884244_D2A3F5A5 X-CRM114-Status: UNSURE ( 8.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Chen , Anson Huang , stable@vger.kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP There is a missing BM_CLPCR_BYP_MMDC_CH0_LPM_HS setting for imx6ul, without it, the "standby" mode can't work well, the system can't be resumed. With this commit, the "standby" mode works well. Cc: Anson Huang Cc: Fixes: ee4a5f838c84 ("ARM: imx: add suspend/resume support for i.mx6ul") Signed-off-by: Peter Chen --- arch/arm/mach-imx/pm-imx6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/pm-imx6.c b/arch/arm/mach-imx/pm-imx6.c index 58924b3..67bab74 100644 --- a/arch/arm/mach-imx/pm-imx6.c +++ b/arch/arm/mach-imx/pm-imx6.c @@ -295,7 +295,7 @@ int imx6_set_lpm(enum mxc_cpu_pwr_mode mode) val &= ~BM_CLPCR_SBYOS; if (cpu_is_imx6sl()) val |= BM_CLPCR_BYPASS_PMIC_READY; - if (cpu_is_imx6sl() || cpu_is_imx6sx()) + if (cpu_is_imx6sl() || cpu_is_imx6sx() || cpu_is_imx6ul()) val |= BM_CLPCR_BYP_MMDC_CH0_LPM_HS; else val |= BM_CLPCR_BYP_MMDC_CH1_LPM_HS;