Message ID | 20230625124238.4071717-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:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp6896039vqr; Sun, 25 Jun 2023 05:47:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ54AiMLoxdPTSwTpjuJ29Y+IubMIpJJwhRBfsW0IpNUOUS1E0LOsgd/pkU1qEEF4+N1HnQs X-Received: by 2002:a05:6a20:7fa9:b0:126:1f70:30e6 with SMTP id d41-20020a056a207fa900b001261f7030e6mr2593801pzj.20.1687697261650; Sun, 25 Jun 2023 05:47:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687697261; cv=pass; d=google.com; s=arc-20160816; b=XuQBz2kbpEMOGAQ6QbWzti/7PTi0MFFqL38IW1Nvjpu6e6LimLiNBsjbUoNixJiVfh /VRSgBZ5MN6pcR+X5CUTtFctO81nGj+xbnP3VZdaSX8TVuehMRWd2qMloXHVV0URNGjR A9IxEtbt6jPqHjoVvPSm5RnOBQ4SHkisRO+M+wgntuT0K0n6vOVhY2UZSv/NPIfgQxNX UAsKAA7vqVC744XnAOiPtTiTXz5j3Ic9Ou7QCusTPZC+kCTiEXOuxYLmTubfr9LGBzn1 T4wXCFsb+AcL4TfQ5Y6bDWAHvWAs00+q7EvdUGR5ycxb3U7F9jaEZ4oB+cW7qI+3OOJr rvpg== 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=d2yrT/CURC+jRUKMLj+94rdL66vKQu1nKsRdF8mplJ4=; fh=5lilEAYXvjOYLXGzObUG1rcCOVke5jHE6aXSQ1TdON8=; b=Vf8mT357Fu1xL5wbApW8XtNCNkinctvXtx1zIpccX5s2dguKQ/Q1dW+p4X/+AcwVBH VhRGdEN6YJ6lw9OW4yiG2zpSLfglJOUAth6ROS3R81xQ8RZudPY9E34ZEXT7g595omOT wEE5zdjM/E7x8BLLP1jwQbo0acpnSUIWBx/rBidpV9GkRLUzMTX3jR/543z75thHsYop Rpi/4j5D1eplu7P7UPgfxYSFQKzXDb67AXZjg29oeuc68AW7xPYh6P4bUYQRAJ9fgFZ3 /43N7AMBSpOmKvEegOqueimLk8FKwA3DwY0DU41G5mHutGIv47GBGQwyJwUfTt74reO8 SFpQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=WaIlvmqN; 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 u1-20020a170902e5c100b001b243a20f0fsi3289643plf.504.2023.06.25.05.47.29; Sun, 25 Jun 2023 05:47:41 -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=WaIlvmqN; 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 S232263AbjFYMiR (ORCPT <rfc822;duw91626@gmail.com> + 99 others); Sun, 25 Jun 2023 08:38:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232268AbjFYMiO (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 25 Jun 2023 08:38:14 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2048.outbound.protection.outlook.com [40.107.22.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF871103; Sun, 25 Jun 2023 05:38:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rz+LGjPP7SdwfO9IPyayn6PCW+OhzGTpzdLRvDx6fKTXV1K3TWwHsqHX+5xTS1tmLEXfmKCDMbpMcf6NT47tfkxXYK/c2QBY6ZC12ARhGjrCgmJwypHCe0gk3SNS1ZF0VXXxkfVHw/rPcgydxzWvSHxpB0d7SxwuCsL6WMiFyvung70h8pvtGYxEJBkDjz5s2m9MH98WsSfDPthEE+dtwqaBWOfmjGDOUwL+VLUtgle0s6AI6pAHVUupuS2lhhQcPhWr7PoYIHlkmS5oWuizkouYGxRYq7QvdDu+s/qTJ0EVA0Oa4iujvBuG14mCKktDi+2iHbdYz25g2XkRrFjiVQ== 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=d2yrT/CURC+jRUKMLj+94rdL66vKQu1nKsRdF8mplJ4=; b=JWZWRLdFflgdjr8fHZF5BEvLHx9PD441znFUqyQhFaMJ/5InU218eoQ2hB9Mhor8U74rpl+zP3/CGGOCx1gvTEcYLpF8xxL4JwrVGdwplsqSWhxwVVAzNvhSHCx0Fh0efvlxX4wA0ipSb7Y7QATT+J1Kkny0sP1gBNd1dcTtt87kLjxQBi4bbIw6xq8QXCZPDlEVcxKFtMc/wkXPfD9fklglrVkGal2f3zPqqu+4y8L3nWg0GlrD+x5dI6MZpc3ZbrGEwuY8hamWi/txivFOn+nb+jrqSJAsMPnGcgnxH0GdbXmfGrJFAgHrpVFrXZ/+dk9ruu5HznwpP7ImKCpJBQ== 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=d2yrT/CURC+jRUKMLj+94rdL66vKQu1nKsRdF8mplJ4=; b=WaIlvmqNEBAy8skg8j38hu8B6Z3uAo1lEv+rwwe/pUDSU7NVC2KBhKpasvJgzVZIpudi5dYUWv4CGQWYodSD3yWGwQvsfkN+bfVz1S+yjBXcUwJm9vg+n+6KneU9WBkPCAGrXXTIy2QAUk2vebatB3imHHrffCeeK/ine7uDkSA= 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 AS4PR04MB9314.eurprd04.prod.outlook.com (2603:10a6:20b:4e5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Sun, 25 Jun 2023 12:38:03 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::efff:43d6:6f46:eea]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::efff:43d6:6f46:eea%7]) with mapi id 15.20.6521.026; Sun, 25 Jun 2023 12:38:03 +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 04/10] arm64: dts: imx8ulp: add cpuidle node Date: Sun, 25 Jun 2023 20:42:32 +0800 Message-Id: <20230625124238.4071717-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230625124238.4071717-1-peng.fan@oss.nxp.com> References: <20230625124238.4071717-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR01CA0111.apcprd01.prod.exchangelabs.com (2603:1096:4:40::15) 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_|AS4PR04MB9314:EE_ X-MS-Office365-Filtering-Correlation-Id: b026594d-4c18-45d2-6523-08db757904bc 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: i1OzeYYtVdZA2eHrri8PLHj7FIL/N38LZUsUgivQtlWUzL3Yl8J0FTRPLE8++2nbVsdDM0uSZUqVKUMiQXGPanGGKDGQu2CJ2jt9YOG+1j8QBH4wzShWVa0QjkpqQs7xxnVtIGnyj3+ArYK0au4F+4TagAVgme+OvhmbwnuSzt+nQFXKqc0LenHzBa31Ewhvc/BPU6rhRM2YVDoJ6xARyn0aRO8N8NkJPkdIqwtt55WJp3p5GEJU3od1W2AjeHUSuJu6U6ZFC8nzgwVz2TpgMlUZl5xiZ+mgrRC40sX/HbHAvZ4igh0Tb0tOfX8l2xdsHs6yeptah5fICHqDSWvpJK5IHNAZWx5aBb6NayMLMtgXAZM/y8I5jVV9Wr27Bw+8WOVerPzJoTYGg1RzTRB6lXSB9ODDu08IJrBEL/Q/ANF3occ18g48cWOu0Ca1BOKzJ8FldhShY2EjZ8CXZ0h7Q7sKw28ejCWRGCL/zi+Nmdd3G7jQ+XejpW60qLLOZnd2pvVsnUrH4TrTQBkDILOXJz8rIIgUdBY8rPChvjusM+4nS804LNQ/7Kux2wJMpzDw1qEXnlNyW0h/Sh/CJ3/x8PdKVS8mvF57CgPzMX6OOV8ci7hbWrif3Tln8PuKsKNblXdwSCE2IvYDAd7+9yTegg== 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)(346002)(136003)(376002)(366004)(39860400002)(451199021)(5660300002)(4326008)(66946007)(66556008)(66476007)(478600001)(316002)(8676002)(8936002)(2906002)(54906003)(86362001)(41300700001)(6486002)(52116002)(186003)(6512007)(6506007)(1076003)(26005)(38100700002)(38350700002)(6666004)(83380400001)(2616005)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uXSxJV1yu40cCe8Qx5MZGy0S21x94arUVyY2BU85SHirhloY10KND0IN3U0xGENL5ZQgD4PIaIXEu6CQOOX2w/UeJ5I5mebGdwx1c/rBfyTa6TUplmkGNBo8mx1ILd7u4KoovMURDfaNmLNcZ4yybLj3zJTINXf8IUdWGvJAi6MbtxLXwuqXTaDUbTVu6qpt4Du95nmeuvKgUo/RxUETF3PsAD3zsN8+B74VoVsnbsRmddSJYfQ4m/jkxYcHjEbZ84FQob/00D1KexR389iQs5XqTrrkF035fUAKiBQ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KUhh/f2IyoK/3M4ZyK53x2A6FD0tTb/JTn+QfcI70yzDpJQEaHqAWE9WaREQH57qeqPYXpa0OnqkXaljorBQ6xHVA8lIVpePurgxtIcpQA95L0yvqBmfyxfTw4JZlvRW+uMzgBt/N6d62sbOyaJ8TziadkKi29Tl4TMOcK0nsZlVFYK38+BeDccN1sjAzJfcUi0JcNHKC76I71H8eLjz7CjPQHMdZ42U1he81J X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b026594d-4c18-45d2-6523-08db757904bc X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2023 12:38:03.5977 (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: EuJTzbby4aGaHcXt7uoWQcwdQr6UQ51HbGeAroIalPuv9nwrQcUtG8eSxppIX2beb9Xowt3POIsT/4M03jy8sA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9314 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769678844197118419?= X-GMAIL-MSGID: =?utf-8?q?1769678844197118419?= |
Series |
arm64: dts: imx8ulp: add more nodes
|
|
Commit Message
Peng Fan (OSS)
June 25, 2023, 12:42 p.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 fd30475a561d..16906c20bce9 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 {