From patchwork Mon Aug 7 01:54:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Tang X-Patchwork-Id: 9884309 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 BDF5160360 for ; Mon, 7 Aug 2017 02:27:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E9C126E1A for ; Mon, 7 Aug 2017 02:27:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 725BA26E5D; Mon, 7 Aug 2017 02:27:54 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C2DCF26E1A for ; Mon, 7 Aug 2017 02:27:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=T2zLCilA0rByiTnOuBMPzl7MLDOggafrb+4EOdx7YBA=; b=CBGliSK9X6IRgd fHzx3uRVFjZ0OsTzbJaZMHOsBDUm9cgZu2Yp+9SFGvZbQ6BRqvdm5LfwZngZNDw/LZI1/eOEN+rZX 6j2y9nawWdKSvC16NBc3E2NA0c7kix/NZaV3Kzh5y3IElUxLsvgdOPTK4sGfR+JptDAETbO9ihNxy 3BMIHBnRuUQ3dJk13ajyZgbpRXaKNl61XuttfG6mugdyezTLU1EueAdCSofDqSq3GU/IDkOyJPmNz v+bSB7Ud3bBK/vt0zdC76SSZokYyOAKR0rBJp9SF3NZwWRE7fNWDFO4A0aMJhhLOh7xlvc6C9ONW7 OsnZQMGWtY3KqKzlB13w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1deXln-0001Kn-93; Mon, 07 Aug 2017 02:27:51 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1deXlk-0001Gr-LH for linux-arm-kernel@bombadil.infradead.org; Mon, 07 Aug 2017 02:27:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fLoobx+jz1okY9YVFeWk8fNu+VncY/PVnZ8DT2m0uMY=; b=V8ZpOC6mB/8rdvfqLP+iONuh3 7WT/5fxBJjAEKAW7xRZo1piMG/voUBIuYi5D2UCFOd2hyhEo1XqCl+vcJVbBqpP+C5sxMK+Id22lB ULOK6rYyLK/3PUzNw8X7F7N6qDRqNRjXpOARGL5ErTs7cJLZOVS9Zf/S3dGKKe4ikw2DqT1gaXQJA av1ZkIk/BUC800hdnqjzrJ5jN8zFFaPIJ0uxO73qcw0cgatZu4DSu5YdmgH1xpXtf2sfjiMD0P9x8 fVXTsqmuVC/QAgKfXAquYnq+A6Zxyg87S5YAFb/GjzBEZNvAs9mFnTxOay0YPSs++5MTW3HDygI6l cTduN+77g==; Received: from mail-by2nam01on0087.outbound.protection.outlook.com ([104.47.34.87] helo=NAM01-BY2-obe.outbound.protection.outlook.com) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1deXWP-0006oN-Ck for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2017 02:12:00 +0000 Received: from CY1PR03CA0008.namprd03.prod.outlook.com (2603:10b6:600::18) by DM2PR0301MB0909.namprd03.prod.outlook.com (2a01:111:e400:501c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1320.16; Mon, 7 Aug 2017 02:11:23 +0000 Received: from BN1AFFO11FD019.protection.gbl (2a01:111:f400:7c10::140) by CY1PR03CA0008.outlook.office365.com (2603:10b6:600::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1320.16 via Frontend Transport; Mon, 7 Aug 2017 02:11:23 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD019.mail.protection.outlook.com (10.58.52.79) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1304.16 via Frontend Transport; Mon, 7 Aug 2017 02:11:22 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v772BChw024720; Sun, 6 Aug 2017 19:11:19 -0700 From: To: Subject: [PATCH 2/2 v2] arm64: dts: ls208xa: add cpu idle support Date: Mon, 7 Aug 2017 09:54:39 +0800 Message-ID: <1502070879-14106-2-git-send-email-andy.tang@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1502070879-14106-1-git-send-email-andy.tang@nxp.com> References: <1502070879-14106-1-git-send-email-andy.tang@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131465454832717856; (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)(39840400002)(39860400002)(39450400003)(39850400002)(39380400002)(39410400002)(39400400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(2950100002)(54906002)(356003)(6916009)(2351001)(5660300001)(36756003)(5003940100001)(6666003)(33646002)(47776003)(2876002)(104016004)(76176999)(50986999)(305945005)(77096006)(8656003)(50226002)(105606002)(8676002)(86362001)(106466001)(8936002)(97736004)(81156014)(81166006)(38730400002)(48376002)(86152003)(85426001)(498600001)(189998001)(68736007)(53936002)(4326008)(626005)(50466002)(2906002)(110136004); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0909; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1AFFO11FD019; 1:6BPgNcPJ21ilV22kWdAW5tKrr/nIbUhAC07ZIla4C?= =?us-ascii?Q?1po9hewuxmGRlkMfOZQl6KR9iSLGCkeLmZr8lYPYxm5L2zVY4P+i85PLGAr5?= =?us-ascii?Q?gWC2Ur+DuT0I0ng2QKLsnzq3opwkTxjY7DSTF17C4rJjM14wSVqwJA83VWtR?= =?us-ascii?Q?lq/9Fqu5ql3J87sAkRId23zPCXGahG/cysfHYTTLLErxTb8lwliptX1L8Cdt?= =?us-ascii?Q?kQvVS5REtWrmiFMV73wcVk5UQORrIS4jQ0a22qk0255Ke7m2xGaOsN3tPTe6?= =?us-ascii?Q?Ck71aFomCHCKF2naBBrTRjPaKdl4qmWlJAvJVQDavs6fXiZpFn980xL95sV9?= =?us-ascii?Q?CqPwAVTu0aVbugTnLQhpduWaaV2w8BMyTTP5tMDEqmHqMLVexWhbcF47mOPD?= =?us-ascii?Q?UKDUWHSWMc8dQLKHko+tJDtQRB3+5jW24n20lkDlAB48e6999mFc7hnX2a5E?= =?us-ascii?Q?/ebkPoUBQ4s8JyjVp+W5Zqy8wkQH0PJ2LxjeaY7Hlj5vI6RDy08rp/ZPfUhp?= =?us-ascii?Q?hxrW+97z4AqmFE7LakVavcQZVMapLrb/DHQPOqEEKnn908wFKZd0+SwEJHs2?= =?us-ascii?Q?ZmkkpCSAbyDo8o7/QT4OMxam0jbXZLnIFRZx8bAxoM/pk/bwe+r1Vi2kWxYN?= =?us-ascii?Q?q2rh1OMh9ZlvzvuIYSp9yRQQDQv5s6kr70O9UEYMUK/nl9VSCJbwXjxN9RBP?= =?us-ascii?Q?sE23zfDwGu0oTq55eF1JVzSFkgNlOs6tcrBKJm+y987Wanh9Ie5hsDRt35tW?= =?us-ascii?Q?yF9MY8s6GsAonGppeMF+fop/zC7/XRIXRcNQz6Xy5jULVaJUszSgoRaLrV6N?= =?us-ascii?Q?CkV0cAyRtmmO8+dAeWW6udEkCNgZObP9741vkQomHvDBADDQKwHJ9kkvHv/X?= =?us-ascii?Q?yhbFB6kkDBGHMz+FsXi1p5ZtSLFKbNE29eaNG2K4w+EdDRgaNg+y0PNsyk6O?= =?us-ascii?Q?V2NiyNEVNJ+f/p8p1Y/DkOLRoZjbgkiwdEb92kPPM0rQ1auoyiBgcyn427bk?= =?us-ascii?Q?TQ=3D?= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b31a04d3-7952-4b42-0518-08d4dd3999ee X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM2PR0301MB0909; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0909; 3:OM6T1C/BDEcFloVI4AB5AGv2NwTcppaVIhXON7KUbMNxlWoMMbvaYM+nehoJ9Qu2NaMoLJBCE3irsYxxau/MMaciysh9hZkxicsFEixATUBfF58Wjmr7vRHvzoUnGnJSRyaTRMyoiIvn/NYIpJw17I8BS4sZetRa4e6aUStTYW8KQuTAL2ioXqtus/Dk4StnSDaKpma8P5AmI+wNk9KsgR/LsDNICr6hHoYSWBOgLP5vceaSpQqCmC5X6vRvxsocCbCu3R3zM/bXqBI3jf5LovgN4KB6snjgwImpUJUSXTjnvvFTT6APmjVrL3uPB81/01UtPrsZPqCOoatRsjLTuhtY5BlNvIzFUrke5KWqSBw=; 25:MqBbaRnF2Mcp5g8QlW3oHlRRFD5wXNiibK+0+G/4k6SnK46cfcAaagtkPI0wWqdS9ODdd6HaVvw0PHbs/UDUKQXkyQCum5j1YAnFA1TfogSZ2A68bz/81ad9IZTTZ1p+sEOYJEywPLE9MsyvP53NUdPHQ84k/0VosJCK7olZUkFiF6A0/mqepflTqOwmWAYd/Gf3jalgxTDcS+rt1JusDXJ/nEJtT987UmRwv6wTyd2y6vJ554iorZDPBQ15YXDW6AFvY/LmViiuLDL5neomFen+8bA7fmhFCNQvPapDH1uy7CKTCaegHW/JPdPWD6lVGWUFYa6tr0PVqZx5c/EF8w== X-MS-TrafficTypeDiagnostic: DM2PR0301MB0909: X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0909; 31:TmCfIRiS5JFVcPmDYV78KkI1U0AcbwMZ8B+oTxkCLdBu2yJ+8jL3S4n4L0rIn92e/n0H0ucgIhMwOjuGJp6xROI88eCSFoHakyZwkvw+2MjLWq92lFe8Ok19fJPVbJdhOsi2RF/P9FZibioUIEU4VT3PqsvoC3v5quXUbc4LTrBQ0aN2DHdzTubdU0Srl7hqcxT5Lm0LyaC/ca8VXP9wY3T0gaN+aPdLo0ao5uUm9K8=; 4:ZtkirSOnujZjWur+iu6znNkfXIoRI+nkfDHXzHr2hr8ygbqCwQXplAxR8/09GReGghRPfGRDMakV3xQnGNNRFCbVaRHq/cjI9wws9DdTH1YLHA6mlUFZmgT2hhHIYxrYf/LLK6FpITYIMCtwjq4QU1rdZ7QhbOuhDiZcP5BtrbNy43xjyGpgZbQAB4MVZDQTccb6LaRrDa6mHaeA5Q0q9RoVExJZXbU27zdvcCat9xZwYTS9mmAnRPkGHmv3L7JFW31hfOiBwE91WoNz8lgG3RzMFLg92e91J7JLtyAyRfc= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(8121501046)(13018025)(5005006)(13016025)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123565025)(20161123556025)(20161123559100)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123563025)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR0301MB0909; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR0301MB0909; X-Forefront-PRVS: 0392679D18 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0909; 23:cI7au/6h8zBZsKtUAL4Mvn7Uwrx7zvDnkNHmdIz?= =?us-ascii?Q?FPeDyC1gNbI0T1MG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3Tye5lRcVT5VZ+bpQ18fQWyf8Of9rq/MpPxu/5llnVT5xctJTrDqE4QWB0As2jlFdneOtFKEd90PHEvTUg=; 7:piXh08NNKMrQx6yekcxp9DCFqMRsuRglzFWk0PX39v68VZUI28FEWNY7rkNwngFqONf39fsDcgOepLpg13bEu5bZRKjh9iZjZIk7CYIA7aNQjbNLepVHoK26OUHq533G0b/HkO+4u37NoTSgJl7h+/avkGm+xeP0eswcdcuW7jWvNHh7MhLWyKuOxkUzSz0D0EbDwdhvIgMyZOvA10gSWCsBVtmsmPU7kDNgL1EbW/E= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2017 02:11:22.9753 (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: DM2PR0301MB0909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170807_031157_774342_D046F50A X-CRM114-Status: GOOD ( 15.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Yuantian Tang , catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, 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 From: Yuantian Tang ls208xa supports another cpu idle state which is pw20 which saves more power when cpu is idle. It was implemented through psci firmware. Signed-off-by: Tang Yuantian --- v2: - add ls2080a support and update the commit message accordingly arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 17 +++++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi | 17 +++++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 5 +++++ 3 files changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi index d789c68..8d73930 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi @@ -53,6 +53,7 @@ compatible = "arm,cortex-a57"; reg = <0x0>; clocks = <&clockgen 1 0>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster0_l2>; #cooling-cells = <2>; }; @@ -62,6 +63,7 @@ compatible = "arm,cortex-a57"; reg = <0x1>; clocks = <&clockgen 1 0>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster0_l2>; }; @@ -70,6 +72,7 @@ compatible = "arm,cortex-a57"; reg = <0x100>; clocks = <&clockgen 1 1>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster1_l2>; #cooling-cells = <2>; }; @@ -79,6 +82,7 @@ compatible = "arm,cortex-a57"; reg = <0x101>; clocks = <&clockgen 1 1>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster1_l2>; }; @@ -87,6 +91,7 @@ compatible = "arm,cortex-a57"; reg = <0x200>; clocks = <&clockgen 1 2>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster2_l2>; #cooling-cells = <2>; }; @@ -96,6 +101,7 @@ compatible = "arm,cortex-a57"; reg = <0x201>; clocks = <&clockgen 1 2>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster2_l2>; }; @@ -105,6 +111,7 @@ reg = <0x300>; clocks = <&clockgen 1 3>; next-level-cache = <&cluster3_l2>; + cpu-idle-states = <&CPU_PW20>; #cooling-cells = <2>; }; @@ -113,6 +120,7 @@ compatible = "arm,cortex-a57"; reg = <0x301>; clocks = <&clockgen 1 3>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster3_l2>; }; @@ -131,6 +139,15 @@ cluster3_l2: l2-cache3 { compatible = "cache"; }; + + CPU_PW20: cpu-pw20 { + compatible = "arm,idle-state"; + idle-state-name = "PW20"; + arm,psci-suspend-param = <0x00010000>; + entry-latency-us = <2000>; + exit-latency-us = <2000>; + min-residency-us = <6000>; + }; }; &pcie1 { diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi index 5c695c6..6aa319d 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi @@ -53,6 +53,7 @@ compatible = "arm,cortex-a72"; reg = <0x0>; clocks = <&clockgen 1 0>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster0_l2>; #cooling-cells = <2>; }; @@ -62,6 +63,7 @@ compatible = "arm,cortex-a72"; reg = <0x1>; clocks = <&clockgen 1 0>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster0_l2>; }; @@ -70,6 +72,7 @@ compatible = "arm,cortex-a72"; reg = <0x100>; clocks = <&clockgen 1 1>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster1_l2>; #cooling-cells = <2>; }; @@ -79,6 +82,7 @@ compatible = "arm,cortex-a72"; reg = <0x101>; clocks = <&clockgen 1 1>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster1_l2>; }; @@ -88,6 +92,7 @@ reg = <0x200>; clocks = <&clockgen 1 2>; next-level-cache = <&cluster2_l2>; + cpu-idle-states = <&CPU_PW20>; #cooling-cells = <2>; }; @@ -96,6 +101,7 @@ compatible = "arm,cortex-a72"; reg = <0x201>; clocks = <&clockgen 1 2>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster2_l2>; }; @@ -104,6 +110,7 @@ compatible = "arm,cortex-a72"; reg = <0x300>; clocks = <&clockgen 1 3>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster3_l2>; #cooling-cells = <2>; }; @@ -113,6 +120,7 @@ compatible = "arm,cortex-a72"; reg = <0x301>; clocks = <&clockgen 1 3>; + cpu-idle-states = <&CPU_PW20>; next-level-cache = <&cluster3_l2>; }; @@ -131,6 +139,15 @@ cluster3_l2: l2-cache3 { compatible = "cache"; }; + + CPU_PW20: cpu-pw20 { + compatible = "arm,idle-state"; + idle-state-name = "PW20"; + arm,psci-suspend-param = <0x00010000>; + entry-latency-us = <2000>; + exit-latency-us = <2000>; + min-residency-us = <6000>; + }; }; &pcie1 { diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index 94cdd30..205b7f7 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi @@ -118,6 +118,11 @@ interrupts = <1 7 0x8>; /* PMU PPI, Level low type */ }; + psci { + compatible = "arm,psci-0.2"; + method = "smc"; + }; + soc { compatible = "simple-bus"; #address-cells = <2>;