From patchwork Wed Aug 29 05:00:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10579531 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 45ECB139B for ; Wed, 29 Aug 2018 05:05:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2AC592A816 for ; Wed, 29 Aug 2018 05:05:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1EE522A8BE; Wed, 29 Aug 2018 05:05:28 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 8A3C02A816 for ; Wed, 29 Aug 2018 05:05:27 +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: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:In-Reply-To:References: List-Owner; bh=GukyZ5ooVvweVWeZDMjYpnN0hmO9guN/NchIh5F8Ruc=; b=mPOM9va6ccKlc3 rrW1O9tLV4uGUlOH9mNuR/e4SUZ2VW0idwysfnhedwTBtyIe2gLq9P/40tW7M0h7XYn9e3cfluj75 967VgOSh0x69VvTTN5pcKYRgL65OpbiyyjFzDJMxcZmXoGrNR6v051BQKF0R59j63DrXaqZZnUw+I JI4nJy3wUkZGZ3aGEruJ2CB8VjwgDs5Tnd11c2s3vfI2YQKLMok3id2uVaFDykkkbx8DaoFOOpCM8 7vpGG1aD9BuWc4F2kC7H3x84/6chHvTjGENizCasSj/15iJCW0CsaVb35BKUzsOU6rWtiLL4zxdDt vNhBj7w5JJ+i1rMa1p+Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fusfQ-0001ra-NO; Wed, 29 Aug 2018 05:05:20 +0000 Received: from mail-db5eur03on062f.outbound.protection.outlook.com ([2a01:111:f400:fe0a::62f] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fusfM-0000gl-Vc for linux-arm-kernel@lists.infradead.org; Wed, 29 Aug 2018 05:05:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NQVZmfkLTJiMHJeMSXKLFfkEY12ik0TxmHWt0ClUDoU=; b=DaAH2jaRFlxNn5lMyh71c81xdsSX2ZqBFdOjE7XFJ15INqqIVDRfeYuWru7mszqCjXbz9LkLl9h0uj8siAgEoNCD5KBVJ4NCfifXk9XrRokpxO3f/mc19RW3W9gLO9Zninthw6GGWmjyvfB4OjYT74zOg2shoA/F5faFpBAGEdw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by AM6PR0402MB3909.eurprd04.prod.outlook.com (2603:10a6:209:1b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.17; Wed, 29 Aug 2018 05:04:58 +0000 From: Anson Huang To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: imx7s: enable cpuidle driver Date: Wed, 29 Aug 2018 13:00:46 +0800 Message-Id: <1535518847-24417-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK0P153CA0023.APCP153.PROD.OUTLOOK.COM (2603:1096:203:18::35) To AM6PR0402MB3909.eurprd04.prod.outlook.com (2603:10a6:209:1b::32) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0d9344c8-a7c9-4e41-5445-08d60d6cf9f6 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR0402MB3909; X-Microsoft-Exchange-Diagnostics: 1; AM6PR0402MB3909; 3:VovRm8LaNTj1bytlhfWizwj/QqLHN4Wp9HoX5FgzVGEiI157sxuhujy89CJjFp9F09KeoyYHWtLH+nu4oNuTgLtouAwkNJLvVM0ZSfy4f1kvm/PJTSQABX1SM+CdK87uzZflGtI8ND52aP98nE7NRYOsx+TAtvL+HmC0yk3z9PSStEQXW2Ab1rlUqS14ClyP3kQogMs9sVN1hOUK/k0ANFNo/VJ28XZOPHBscDBUr6lh89ar1qrLr/RY2+CIq6Ue; 25:rq742ZkaocREw4VGoh8JevFZDOozXKIrI8q+2r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EmytZEs2/5m8VJmgqcSHjqdTRt7ANPx57M3OB1veCgdIn8/9H6TrVY7N9AO1yT; 4:ljhTObFxY4rnWUN7pxlcWIu2mqYrGFvtSthSu1rqXKk2d5zYB6RcXJqxyBFAdlWOQYXRgYkkvol81TfvHxakTUEZKlU23aI/Cta8g/zMN/3B6V5/iIqwKUPix0oOjbWkeqVrdQH9+r9Lzu7mPx2JPXw+wXygIXRMOpcjHYv5gFtTwJJQH5sVi6rW2e4anPkuFmbGrfaPf5pV+IWVD8kbm5eh8FucjDh0y91WdKi6+HhAsCqP7G3wlmcITbfxVoN0BC/pj7S0xgYOMDUqAnKkT+2YPex/y0XcMUjYrJ5ZZ3n3KwWSD9BXk5ciMCgbMabS X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(823301075)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016); SRVR:AM6PR0402MB3909; BCL:0; PCL:0; RULEID:; SRVR:AM6PR0402MB3909; X-Forefront-PRVS: 077929D941 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(396003)(39860400002)(136003)(366004)(346002)(199004)(189003)(97736004)(66066001)(50466002)(36756003)(68736007)(48376002)(86362001)(105586002)(305945005)(47776003)(6486002)(7736002)(14444005)(106356001)(25786009)(956004)(2616005)(486006)(575784001)(476003)(5660300001)(50226002)(16586007)(81166006)(6666003)(8676002)(81156014)(6506007)(8936002)(53936002)(4326008)(26005)(386003)(52116002)(51416003)(186003)(6116002)(6512007)(3846002)(316002)(16526019)(2906002)(478600001)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0402MB3909; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM6PR0402MB3909; 23:kRKw+lt12WLGYasbWiraG+l4UCExBzg6Pn4x/X+?= l8GdP89A1qH9wwpgz/jYjBz6Dpcs2IR41spMcEUe0krBpgG5TcaZvdWr+ZA5kz7toydUb0rL9M/gW2t+M8acFvNwaNgfIRiYg5N9LfT/mGHJ34/qACnQL9FRSFu8LCnJEYHen5Cy5kB58i5oD/TKGgEO0ejGv8r5UAZRqwjf1LGZ/XcuxwHOX6IEHlaskmFyUX37rcFyK1s9SSyjVNHc4u41xKWr1fJ2dhIH44cF75z7gB4NZnY08TVVjV69Yyh/EimSNspT7d3F3g/4XguyaMfAy4jombAOq3rgsaSGgGEo0qqiDoHK2xFaOnsUCgLCkJJjF1B1aciEvOi4tlSPFlACIh8ZjITv2TPwSALPxax/aaYAsi922tqoSTZUgB5j2deNFOtFzdMISR8CeqtLjB9XidSEgt+d7E+BiszHPmALGzcP0ITyNSLTy90uQdAoaZs3A7++FOonDl31WRiDIl262DOFeucB+9brsobj8wmn9ktfR/zcmUctfBeEhwtLJ02AihTl6IwPfBy2AxdjG7mpeXfCwPTQZ/atxr5OgwFS/taAO2ca4mnJKpAOUgguL5UZQLWp/vK57MabQ5ytP8b6gyzErBK1PEFQDeP88+2tdsyqA9TyJrhaGn1Va9lfyvQD5Sapt+sg/Mt8yR1Oc9eZV/HGj4f4gJVRbix38PcbFJegTPJ/HSVyrTg3+WpLlYxkoBkc2HcYJcHvXGRaCypS11oIdyXNbrvpMl3M7lulbU/9fhX8j32b0/k2CuklDeYN3t187el4L9apg6vtpyPin91I0MLmSr/ei8b2hEOSHY+SdkxIcA9WfwBtKfAzYQDmOJWArbAi/km32S+0oidE3GUAAv7wrwBh+ghb0Dm/br0cacOb2FgV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SE7nzFgV/3Z4kMvaKjTHEAYJt3OoUciDylNzKwapouYWm3m3E+cPYbB31ted3o7hcDAZr3iTGg==; 5:qmd9ttAPZ3xff4UCc2TP8/MFO4jXayzEg8/2T/HKkKgsdP7NxKfxb7M1nZhMfYb2+ajHCyQ/ZKgtTDh3c8oc+OtWJV8gRIfq8FL8ugaIv75snk5yEnDjwwdddjRpUkyjs5Knv0cEC/JBmMj0DqLqDFx95gkAOTvndcnHS8LKkho=; 7:gFbp51LOMXSCiBFR3O5tI6EezC8sv128M61Cx8fZYDWZi3pPPpDn+JF2O+CwSFJXnVv0PZrxcjR9mAe9eonZoW5j1vzVrJ+/oQNXrIJZrTbT6osx0Doo3UAoZrz1298vY1HxXE8BHlEO0Pe51MUrxA7Exo3X7owsRw77N9cWLomiuWL88I3/+f9r+khrLxhcgaHYUVHfBCnUIihjMJVhj6hRTwz/6DICHmZwxQEID/XjcAUG+ecKZSpDys4oYrIK SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2018 05:04:58.7859 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0d9344c8-a7c9-4e41-5445-08d60d6cf9f6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180828_220517_168206_9706C7B4 X-CRM114-Status: GOOD ( 10.04 ) 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: Linux-imx@nxp.com 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 Enable cpuidle for i.MX7S/D using generic ARM cpuidle driver, below 2 idle states enabled: 1. ARM WFI; 2. SoC WAIT mode. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx7d.dtsi | 1 + arch/arm/boot/dts/imx7s.dtsi | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index 7cbc2ff..4d0d0f6 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -20,6 +20,7 @@ reg = <1>; clock-frequency = <996000000>; operating-points-v2 = <&cpu0_opp_table>; + cpu-idle-states = <&CPU_SLEEP>; }; }; diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 93884ce..cf5570b 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -54,6 +54,19 @@ #address-cells = <1>; #size-cells = <0>; + idle-states { + entry-method = "psci"; + + CPU_SLEEP: WAIT { + compatible = "arm,idle-state"; + arm,psci-suspend-param = <0x0010000>; + local-timer-stop; + entry-latency-us = <100>; + exit-latency-us = <50>; + min-residency-us = <1000>; + }; + }; + cpu0: cpu@0 { compatible = "arm,cortex-a7"; device_type = "cpu"; @@ -61,6 +74,7 @@ clock-frequency = <792000000>; clock-latency = <61036>; /* two CLK32 periods */ clocks = <&clks IMX7D_CLK_ARM>; + cpu-idle-states = <&CPU_SLEEP>; }; }; From patchwork Wed Aug 29 05:00:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10579533 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 164ED139B for ; Wed, 29 Aug 2018 05:05:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00D1C2A81C for ; Wed, 29 Aug 2018 05:05:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E66222A9C9; Wed, 29 Aug 2018 05:05:58 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 534DE2A81C for ; Wed, 29 Aug 2018 05:05:58 +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=kpDLlpbPtSU6Njd4lF0sXQZuYuFxTjzzWM6w9aHsrF0=; b=CL9/tFYuvJQddR nc7T+bXacWb/5eRKODzOuzZxL+GWV8f+45XJWpJLqiJ3/SgOLCehY5V95gihDzwdx/fTTBauLT4Rq SvF7uDP37Pn7XJ6ThiSYOyyoXjh8MKcSd3e+P7RRYrnJgQ/yrqOpRg+eu/189k6QdK0B33/ik8YLl xlM0UP3PxSNReb6jOKLZ8KWyegc0fw1T40hxCA6rZUf0khQvXbp5EWvuN+GyYNZrg/6kCYEgTzfDt GMl3JabhacxcKwo+7TZ+KLa9mfJ5GgZ0orQCZMyZ03vr8MFh1Dl1hzDrmKe1S9DhTO5yqCwOxU7WW Bxe7gHVFf+pxXoTHb5Ow==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fusft-000241-Cb; Wed, 29 Aug 2018 05:05:49 +0000 Received: from mail-db5eur03on062f.outbound.protection.outlook.com ([2a01:111:f400:fe0a::62f] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fusfO-0000gl-UA for linux-arm-kernel@lists.infradead.org; Wed, 29 Aug 2018 05:05:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U2kbLJQojCTKvvcDDmb/nmefeJu1HW23poNKySlhEY8=; b=cKwqxNOl3qHGFy1HfUW1HHDsPB2+Op7FTsmozfkMhSlhzf4+W9PCQ1U8SAcUqfWPgiBBgzdpfyztBeXx79y4CNZaTkCCXv4GQxPsIrnOitUaoqxHXLhbAJxR+OMaJByXtYWXi5KE6QY26p+YlLeRH3Mcy8E/7ynG00rGfR6v6vY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by AM6PR0402MB3909.eurprd04.prod.outlook.com (2603:10a6:209:1b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.17; Wed, 29 Aug 2018 05:05:02 +0000 From: Anson Huang To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ARM: imx_v6_v7_defconfig: select CONFIG_ARM_CPUIDLE by default Date: Wed, 29 Aug 2018 13:00:47 +0800 Message-Id: <1535518847-24417-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535518847-24417-1-git-send-email-Anson.Huang@nxp.com> References: <1535518847-24417-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK0P153CA0023.APCP153.PROD.OUTLOOK.COM (2603:1096:203:18::35) To AM6PR0402MB3909.eurprd04.prod.outlook.com (2603:10a6:209:1b::32) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 156cf068-108d-4e1c-fed9-08d60d6cfc35 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR0402MB3909; X-Microsoft-Exchange-Diagnostics: 1; AM6PR0402MB3909; 3:78JvZb75Lmrsl5scYMJ7I6pDkkJ92iofeCLkOUrdVxS39uOE319tu3rnFW/BA/9gBs5C/oADhb/5gdI1GrDQlxAlBkKDy6U6Pwp/7goDlCPIV282+wyJDRelMeYgJTaljII1LIQZukN+fKyV06AgkRdFc6Ipw/ZRzHGhzpBePTduUDWApKLnSCMJOSpa0CMwrNJbiN+c3E1ru2U0NZsRii3lJ8uy02aIqnBErq1jPCwxLH4b/lL9IFR8cm6Ijt+9; 25:i4kXKH+3GJl7UnxOh4nDxUWrhCmLwPxCGv4sMMTxp0xDdBqJBQLDaCl2RxDaqA50WXDKclhO3vnrIXUqVcyAwpmji278gsxy0rtzJWocaHU8tKt+gLPEWwGPKwMp40n5BZim6uutL1MHNmszXWBX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BlicsFfm+wlI3wwGsD7rZlN52hliWkXRhGYwi7gv6Wpgvc0ZdOAzTkKpv2GerPM4pr942tXXiIRGRzkG8IhyhLtFWs5Oz1/+DVzcj8TVWQqxdLnyhpXS9ovuzPenqmC3N6YZyVYp8YQk9RRsI1gJnif3q35n2JdjLurOOS2bIaOXHlgk5/fDgiKWJ/01ZWgZ+TedwuPrdFKZQR5q2pz1GHwEsa/KmZrngkXTwFq2xqk3mZgDh8XZDrK7R0+/lT34QDCTjgGnxs2Mg4Zg2q X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(823301075)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016); SRVR:AM6PR0402MB3909; BCL:0; PCL:0; RULEID:; SRVR:AM6PR0402MB3909; X-Forefront-PRVS: 077929D941 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(396003)(39860400002)(136003)(366004)(346002)(199004)(189003)(97736004)(66066001)(50466002)(36756003)(68736007)(48376002)(86362001)(105586002)(305945005)(47776003)(6486002)(7736002)(106356001)(25786009)(446003)(11346002)(956004)(2616005)(486006)(476003)(5660300001)(50226002)(16586007)(81166006)(6666003)(8676002)(81156014)(6506007)(8936002)(53936002)(4326008)(26005)(386003)(52116002)(51416003)(186003)(6116002)(6512007)(3846002)(316002)(16526019)(2906002)(478600001)(15760500003)(76176011)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0402MB3909; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.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SFJ3o5j9ipQpqOhT73A==; 5:S8cDEjD8Qgp1ErdGukybqCbkx4NsETe9tIyAee4Cl7VLMgh1Oov9iaiG1k9QhJD7Xru4zZsbu0J0b0KG5MZt9N0egarP01h3XZt+Oy69ErNq9euxPIiCYL5xtsPdNvmmR5Waqc1n1bf/bq0vnDHokn3lsPIVjWFBgiQgYp0Ozrw=; 7:5O6jnvhBgskMAEMDbwJ4hLAnQ2e7zH4zhNhQDN3eKK7ePpA6euzko4u7BDZo3mzSHEOqYZYI8y7H7b8KcBbHgZDSvcovBnFU8bfx9W7HJ5I6NsZQjuaHwWA8/N1s27IKa5MSNffxIyR1dCpivgdBbvspZa6TBr7sc27JjyNPSAxYMab2gOITZTzVE143sLWU9FjEQ3Hjgs6om2OfV+zCDh3SRo2eL/aV9ecp7S0DzhfSSgVI6MMTU9AySNiC+lbq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2018 05:05:02.5606 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 156cf068-108d-4e1c-fed9-08d60d6cfc35 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180828_220519_014923_9CC27730 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. 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: Linux-imx@nxp.com 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 Some i.MX platforms like i.MX7S/D uses generic ARM cpuidle driver and psci method to support cpuidle feature, select CONFIG_ARM_CPUIDLE by default for such platforms. Signed-off-by: Anson Huang --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index e2c1276..65df4b2 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -62,6 +62,7 @@ CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y CONFIG_CPUFREQ_DT=y CONFIG_ARM_IMX6Q_CPUFREQ=y CONFIG_CPU_IDLE=y +CONFIG_ARM_CPUIDLE=y CONFIG_VFP=y CONFIG_NEON=y CONFIG_BINFMT_MISC=m