Message ID | 20230724075833.2763190-5-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp1650266vqg; Mon, 24 Jul 2023 01:22:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlFKV1OSptf9yVVkljuH6KWZCZBHOTM8nHXEwqf89PUgnpkH2WCDAk0ow+QzIha4TmTSFE5z X-Received: by 2002:a05:6e02:19cb:b0:345:79eb:e001 with SMTP id r11-20020a056e0219cb00b0034579ebe001mr10620377ill.19.1690186959660; Mon, 24 Jul 2023 01:22:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690186959; cv=pass; d=google.com; s=arc-20160816; b=n2RhOYUbrrL73rc+IY8LpYiKqSF+Bw7hm4amfEtrTCLZSBfJOG+aTJCs3Unaeq8DHD TDtcWlb7qfM4cQ6P7j8137RGLGKEkuwOKuY27SY30oORNx45wXN2RMAZZDvX64w+kOsq l6fhLaB2hi1x1d+U8hM1Cj6O6V6FOHKhJEzgNUV44mE2YgeiNM4dXMCX6zXj9OTSzH50 Qh0aPxPVApOgE9634eZjJkSfrtuvks4pHCvu7+MWc07SN6P/9NVR4gUqhLL7g8XY/9Hz m0e2tnvTTySA7mUJR+JmhAT9ACjqlQrF9GZe9nIeLeQTfw8AY2/am73T82+9ngcvjPUJ EtBQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8SbtTu4p8caZd5D3AyWQHECe/owVBVwmtCG8zdm6C0U=; fh=fxAKlS55iznUoooh+OAfsPZSvS8MQJQEdZVKYrKBZp4=; b=u2KF/Fa74zIhNA3kCHmOf0xTn3YZwhKntlZEYpapiToBbStdcVApMBJbIKnnU5rtwi VJnK5Z7OjOGMFaPVT8SNFSoZn7g21XUvyUcoNTNJPnX6raYQsF6+/sH2wDK+XbPD/7Tt l4fsoj1qIbu35mefXV/8Dp+lAmDSWyFKB4GvlWum59dStGcSl5vDD1cCBTmWgBwQFZfc QWvkOfQ4XO7XfQCdvysAQ64erzpdgk9xO+VSr6cQ/f5ozTzCKfuorjxVK3M8FsJkMSA9 GG8ffsHJ5rzl4K+1DXmy1RS8fMIL/GB7bjoZWArL+4BltVjWGp2KwEs887goz01SHH61 Q7Jw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=gtLBI1pu; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020a63f218000000b005578994f212si8350654pgh.425.2023.07.24.01.22.26; Mon, 24 Jul 2023 01:22:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=gtLBI1pu; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230431AbjGXHyf (ORCPT <rfc822;kautuk.consul.80@gmail.com> + 99 others); Mon, 24 Jul 2023 03:54:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231322AbjGXHyZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 24 Jul 2023 03:54:25 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2084.outbound.protection.outlook.com [40.107.105.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85313E6E; Mon, 24 Jul 2023 00:54:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fpbBKCzON2nJCXRjd9abQ9g56BKlvEGrNBKEChBgi6Js6gph7j04m7aug/UJcDK2ziO6eecIoMz0i7P1giJQQzVXtGeoapK3tJ4JEyBUpH3gi6A1ttYpny+8+o4AVqZi3/gU7nr2grfV7zc7060HmfNIBlyt84f9AIucUP3+FaPmBBauMO4YllU6Kk25oix0iZRM1RShDVfjGbMJx6NeIv0+8aKMdFKtfoVSshzojCFDLm7rlJCjcXkPhVnGwyDawSCJHzZ90XmZsD0BCz5rR5eIDHYG3kViMMqlGM+DF/6/QjK9HC3usnEieOaSaAqudk4JT1uBAHjLU20Vvrwzww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8SbtTu4p8caZd5D3AyWQHECe/owVBVwmtCG8zdm6C0U=; b=FqW8ae5dCWJvLahegXLbj9Tb9Kqp9M2MQu1PVJnCKdYlTGWrJ7vdMzKnv5BsWM7EN0lmhHnj8bIGsu1kfApDLKhISer2K54JtRtYkzArry056LytQAjTTtv3pzD+AaL8/HiY8fFLk0FFgNbFJrvjbz5Kotj/mKBCdTZsrNdc0KqZb7qmEUW1RgUJoWeYvNV/9OXuqvg/LU/LfIexq1l15tdurRBUR4rQVfmTwKA2kE3LCvENlQlfuIZhUxFfwjV1wHf0DG5hA3r1xDYb18rXjchPW2t1w31f65dWL/GQ6N94N65vVe1H8a9tQfBsqU3sHXVkInUwZWhLE6qqbEi7OA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8SbtTu4p8caZd5D3AyWQHECe/owVBVwmtCG8zdm6C0U=; b=gtLBI1putbDVCwktMaoyL+m6shH3dMsvQnXIEoro4sJ9jTdxli1AaMnxk7U9jynF01ol/EgWkGgdVRSAFTYXsUjbMv0mqzUIrARZ26bHxO9II/QZ8i9OPVY+eLhaGxZa2zK0shIPQopto2WwuJFljWApOrD0BvbUWOxNJOIseTA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DUZPR04MB9794.eurprd04.prod.outlook.com (2603:10a6:10:4e0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.31; Mon, 24 Jul 2023 07:54:09 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::5d6a:ec53:f2a8:5b97]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::5d6a:ec53:f2a8:5b97%6]) with mapi id 15.20.6609.032; Mon, 24 Jul 2023 07:54:09 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>, Jacky Bai <ping.bai@nxp.com> Subject: [PATCH V2 04/10] arm64: dts: imx8ulp: add cpuidle node Date: Mon, 24 Jul 2023 15:58:27 +0800 Message-Id: <20230724075833.2763190-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230724075833.2763190-1-peng.fan@oss.nxp.com> References: <20230724075833.2763190-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR01CA0191.apcprd01.prod.exchangelabs.com (2603:1096:4:189::6) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DUZPR04MB9794:EE_ X-MS-Office365-Filtering-Correlation-Id: 9c84c4e8-17f0-475a-b2b9-08db8c1b2944 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9g1UlB5kw6kCeP9nTJvDxDdk7BBY2yDDFZa1ibkYAN9c7FBGu7ODiZsuAutt9lvKsn9LFJtGGQQ7VrRA1qazJMjHKnXjp96CJXrPqZOlKDmEjwxoQBjNRPeSBoQBmNrSlkHrLVWVkKdMfEZxzpHybTx7IgENJOrG8jg/QY6vlK2ESHbmuAV0UFER04OuMRTyDRj96J7wu8eXQlMLg7Lab8+YqpZf7+FcihDc/iisBPfWtGlgF5l8Xdy0e6++bBAbxV0R4SEf4vU23KzCOMS9S82EKfpqwkEKfVFQxFPCBUd62RobggIKb1CpcJcG9Xydyfl9oCV3VLmdmW0BaNRI4vQhzMQz4nyNsUR1fjFssmHGHVGExhemIL+0yw3/l19c5AaV9q6zF5u8ZomDgld/PrVGbljZWFwnxcRinxt63rjFQ44zmhOTdtFK5F9m4zPFNbbsDK6/Gvyicquz6ZeQ4+Zi10oUYQym1LsESRfE2v9rGd8AJThBIP42LUJsOeAyr1j1W6gSospb1lWSQkVEuGeY0VoIxVYY/yIRIiOpW/0pcx6+iR91/nLev+O0dxCiUMX614u6foiOkutFcXJQ3n+EOETRls6menBDJLy7OCZc868dAMo4U6dYPv6MRvhb4QzGHEYdWqJKYSHLamLv4w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(39860400002)(376002)(366004)(136003)(346002)(451199021)(6512007)(6486002)(52116002)(6666004)(478600001)(54906003)(186003)(2616005)(6506007)(1076003)(26005)(2906002)(41300700001)(66556008)(4326008)(5660300002)(316002)(8676002)(8936002)(66946007)(66476007)(38350700002)(38100700002)(86362001)(83380400001)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IEvarb4cpCL9Ec4kocUg2joewm56qTEhQCkb1QVs2vrBlUzktemFyFlkF5C7PK2v1+Uff4TN/NrBFvlpX05olxInANvsm4s9nZ4TVIDp8TGD3coDt80MXaeo/6X8PaZ9fbnorTc6QYt+Cs3hZjTmzAfJ8aeEup60fnRlOEYNyLXBcUPg+Z1b8SCCQQctJDsZDVrux/nNcXJtZF+zLuJK3m2fS3erhqzYMYHDvuJHcyZXW04MZqedQ8I5omxjMM8B1UV5t1UYynpKmxbq4t3o2JNtPF0xv4ddSkaolunvSu1RkvxOMKNV1/q+QdETwy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+7zep/lO4yJv36Lfki3uH6McSRN5VkWW2n8czF1H/77VNCMficqE8zSxvVQGqTApXY9aGF6dsoYUNl4S8GlQeSxo0uV57aNRUte0d7NGX84GAq2xpgsHhiSqI+T5ryeIulsVQ4bM4s4sjbbrHPhPfF3eWw099vMvnny5F6+5obDzAjhXyV9wi2GL/B3FZip22JVspRAJd52JO4SMTFAX5fOKdx X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9c84c4e8-17f0-475a-b2b9-08db8c1b2944 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2023 07:54:08.9620 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gYc3Bes1GVNxR5LF+90RQQO9AnO60Zl9/Qzxm4w9W4kCp6Ods6p3xOjFIuxxJuoCpD9taLSsf0Twcv222WvS+g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DUZPR04MB9794 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772289481138171459 X-GMAIL-MSGID: 1772289481138171459 |
Series |
arm64: dts: imx8ulp: add more nodes
|
|
Commit Message
Peng Fan (OSS)
July 24, 2023, 7:58 a.m. UTC
From: Peng Fan <peng.fan@nxp.com> Add cpuidle node and enable cpuidle for dual cores. The HW mode in Arm Trusted Firmware is SoC Application Power Domain Sleep mode. Signed-off-by: Jacky Bai <ping.bai@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index 8891b4dc3bea..17cbe526a5b0 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -40,6 +40,7 @@ A35_0: cpu@0 { reg = <0x0 0x0>; enable-method = "psci"; next-level-cache = <&A35_L2>; + cpu-idle-states = <&cpu_sleep>; }; A35_1: cpu@1 { @@ -48,6 +49,7 @@ A35_1: cpu@1 { reg = <0x0 0x1>; enable-method = "psci"; next-level-cache = <&A35_L2>; + cpu-idle-states = <&cpu_sleep>; }; A35_L2: l2-cache0 { @@ -55,6 +57,19 @@ A35_L2: l2-cache0 { cache-level = <2>; cache-unified; }; + + idle-states { + entry-method = "psci"; + + cpu_sleep: cpu-sleep { + compatible = "arm,idle-state"; + arm,psci-suspend-param = <0x0>; + local-timer-stop; + entry-latency-us = <1000>; + exit-latency-us = <700>; + min-residency-us = <2700>; + }; + }; }; gic: interrupt-controller@2d400000 {