From patchwork Mon Jul 29 06:41:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13744385 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EF525C3DA61 for ; Mon, 29 Jul 2024 06:33:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc: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=ejmOzYj/SEwvjYJVdpdamQfUaNgeAhKyq6iBJKysKW8=; b=2h52eoxkmIOYlg4kwZ4jwSlic5 nEBcx+uvqzSkzbr/3dlpclbZ6vTnjVxv1HVTl53wxXtVCJssEiERRek9Ca2wpPwi0EsQJ8EAgGuzt pFpyf3FWvhqmb0z65YMNSNPLQtfnoNiiU2W26gkCQvkyCOCAs3xU6Rf3RhQb4tA7OkwRB2LsI8qvL H8VFpKTd7w7xFkwhGYkHadSzqoO6/3AhLV07XBTj6Ezo/Bc+7BDmEr2ra8xJ7MWQACbo8sFuF5ZLv xKuWdvKF6ZsyZewkbcEiGk/0SsnA53MI408ex1nWH516g/OiZdkbUSXn+2kK3ONqQoS+YjVCEXKSj odeKxYyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYJwi-0000000AAy8-2bFX; Mon, 29 Jul 2024 06:33:24 +0000 Received: from mail-vi1eur02on20601.outbound.protection.outlook.com ([2a01:111:f403:2607::601] helo=EUR02-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYJwI-0000000AAtU-1tTW for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2024 06:32:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yJLJHOce1XU1V+HZQqSpMOlSXYtcSNyP0OkSoxk3K3w6oEptvphouyPmnJDkVhpZqXIcM87qzmgEyEfOyWQ7MjojJtbQddQF6cazN3ufqvv5rCdiW3zYTO90YaOQGi3x9h5I0ZV2DjGcHaYDDotKEM8EG5HzytQB7qtGfaLhrScVhKjyO0adh0JbhPLVEn3HH9mNrduEZVs4cPHq0JAIUmoGT6lScskPflnTjhOUQX1roiom27xnru502Xs0JBQdCKgalEuBdETcqeIjaN1DsaZyqGPy6DhwtuDurLuR4BRV2rfVMqKF6lGn1JMPo9NuX4bYDOx4rZzEQymo5RM7+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ejmOzYj/SEwvjYJVdpdamQfUaNgeAhKyq6iBJKysKW8=; b=bMKanxYN94Jj/YugAseKmIMZwTLcP22ha22krYEn6AxcvwBMPeZ5r3kqplUqiKf+Q7fLItUFEaq/OD4831sASIGow/p0ay2z90Jp3YwnXgDyhgXad211rubf9Yeo2YBwjK4fVaNqBr+dKxZAMNoU66cKBEgolXRZuNtjsFCay25jtQYNES3T5JPj/TUC4t7+JwBF+FxLMXzSyLWyxtqxOImgwa/Fq7ELBgXUFIPmlroInxw2Gj8hcNXa7AX1CdXBqqyZPaqVispd/DqLOQhv95UMrGFDqh4E7FADtqPEXjLb0ulkEOBwvrB9RkBf8ZFjFsi5kPPoLYpYHit7BeDg+g== 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=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ejmOzYj/SEwvjYJVdpdamQfUaNgeAhKyq6iBJKysKW8=; b=xgiiQdH9OYFOoR8qtRQOINZcqft3n0NF3uto+j0C8Dl0y2JgU2SK39h3pXh8b+jWeKz0lkwzBJg7gY2wX1cmtpk3YeEMO3hsoIE0/TFcMI7OjKxkiVEkVoJwFN1LoRTr5IarxNrGPizs2D0F6DL2tur/wnneA1q+4rjHHbXX4/bHHsSwXq80ioFq1JU2c1S6s+fzhy39nsXbmQWovK/kZSe/0i5Cl8+QXF8AVhcE6ef5ImfCictUUsULZXGdDmOVgh6aP4rjywvaCp+lZRQbuOETf9JTpNk7DPWOli1FBPvWVv1mBZzoPLmezqJB3dY6SLL2bvKA3G68/AVWTfLhaw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by AS8PR04MB7863.eurprd04.prod.outlook.com (2603:10a6:20b:2a8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Mon, 29 Jul 2024 06:32:47 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%4]) with mapi id 15.20.7784.020; Mon, 29 Jul 2024 06:32:45 +0000 From: "Peng Fan (OSS)" To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH] arm64: dts: imx95: correct a55 power-domains Date: Mon, 29 Jul 2024 14:41:11 +0800 Message-Id: <20240729064111.2060746-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SI2PR04CA0004.apcprd04.prod.outlook.com (2603:1096:4:197::22) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|AS8PR04MB7863:EE_ X-MS-Office365-Filtering-Correlation-Id: a00fd8e5-ad88-4092-d381-08dcaf9840b2 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|7416014|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: xqoaVD+9C/zI/HdTIS/R28CCNkTLyni1gZ4TN+Tukwmw5DsXhsecvttu+rZmzcpnxcSNdhDvdPhjq7TdxmiMnmvcCko37KgfbkOBBQN2NT0i2cC6vJ4hIWMrPeZTMZi11elWhEYO5VbSk82xcWEik1ph3paMxWbPipEWYwM1QEIEmwc9qEUwFE6LiBe9KHAc+ayZsD9olwvoOBtbuLzjH+Wp8t1Xly1Fj8WiCSH8XDqFFi8oTm08wTTBl2GhdsLyH8mKyDyVATwn/iS7jHq6EtKFZbQeMbx1eIpsPv7qIM8Xs8tn9yPdPlJ/KnKdhO7aR1Jr9N98nVbGZ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+V7HCEsnSd84Nxg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(7416014)(52116014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NrIZqTTvzIJukf4MXVfhJ4bukTBuuJuBsG/adVq/eQlvossLmWcSUw3ndMdz2pN4DnNJntI+kqoU1pyeKtmH9q7J9M1qLv2DfOuEmaSKF/ky1wdLukfXiGs8a+uqY9vntmvROXkMnl76epU9vlAE07IwbLGPS0zkDk9xKr+UM72/9AyrIVa84dXkwSl+PfgQnKvfcZRWoUqH2WQqCIsk0JZBJFiVZkUBBLGIBc2UgHjd7HAjWy7QyrQj73ArltL8TlEBmi21fFLt/lfLIo5cpbV7R858gKSOGQzRHU6w+s+ugEFooDQj+T5xz1hZIG+try3aBU7Myf9g3PPUhfX0/7u/NfUdRfztwzJwm+9a/mTlen8cS2b4b4S2p3iwr9wHv+1j4N1/4hU9IyaYBp3NGoHmUd7NbKrri8oatcIxnlzMeS7WdfwT3wrIQ+U0TF/BGbAGBODbBw+SYcEzdJwMqK5S3rS7ewFMKGmYOOu1H7xxiRCqUq7bbseWI16TfGIZY5NCRWHB4IUJQQgOC8krbo8YVaNVpB4LBmwhuYm9M++dDoZEPw4BhPgAhmwtZ36pbVT+uTTyA13C3pBUdbsKOXzFvhZfy0Y+VEPvvU8ES8zXuv5W+s0NTCRqBPgmois7CaN21zTKIWmOifYguRABvuWKfeXPR74nBA9FEumEQ5fI9h2Bi6laQjJIyYaaIyM16p+ZYfTePCZ9VZ4j52gmBrxQX/XuPlGTBunor0niv423bQrQcebnBSmpyWghq49LTZ2OBEMOLpeApkcTL2I6nqE2xsKrl3AJ7uKhx/muLP2IfJoYeg74i8e4r6h/ZfHiNGYJJZwOuiooyZ4hAOgc6O2DWX56FehHwbqC7KvyFu2BABFctZud+aiDMBOGjd/CibP5szUHbQW8J0K0cNoz/jINiqPhRbp1ZlnLN2L111eq3RmIiFlgkXhr6MzVsWxI6RnjutWpthLrP3zNak/7oEdKxklH2LQVJIsKdFFDZef2vf/sK1tmh3a6PT+d1ksqHMETgrQKqO4a/BzPLj1v7DOoWt2VJHZiMLSOeCs2kZWb2jLlGynTDpTqPP+2k/9l26vRakVBAXeMuNlcwnSBNMD0yMRMdDRMZkt+wee1bB4bXaFiWF3jposRQvOe92oHAROImeIIcXti4vTI8v+frUCvgbRFP/BcAod1AtaDaBOaGDdEDy0qlIpvGLZS1KhL5cpIDggH25aKM3fXdRsywIJv0o5ISckYpGO6AuMBg7OWafBmOjcEdK8nI/gkXGI0CGbfC4WopR27UTRQ4DZS0bBJj2bSqa26HAILhvzaP1IBb+nbsk3WlaqsSTrH0GZu0Pv2DAScy+3JYq44Uf1l86cXKcmxTa53TW8XEHbq4y6VJX6oZdeH54w+Unx0Y2GfQ+3+V1TEpwjbdXqwMtrehqjv/EdlfFY9nGeTAJoCWH/xLR3DYaxWj7ZJ+jgloUWDozxavAOGaisf0vP1AgNrKloWFqC8cAO35pTwcsrm+VuRFkeaDURjorVk6xwmC1dotiEv7BVT39bKFLSZocq4Ut/Sv5aGFMBPuUvd3xy1LSqowykI01aksLAlsasek2gs X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a00fd8e5-ad88-4092-d381-08dcaf9840b2 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2024 06:32:45.4109 (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: x9tdTCrfO7ejW2KuUELEnLmvFX9gRHrn4WVZ/0ukLJ6tUEBHR/cAKDXkC0JdMAmDqWJ1SD3S/bFWClUHD1vq2Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7863 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240728_233258_527895_0D19511E X-CRM114-Status: GOOD ( 10.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Peng Fan The A55 power domains is for SCMI performance usage, so for device power on/off. Correct the power-domains entry to use scmi_perf not scmi_devpd. Fixes: 5e3cbb8e4256 ("arm64: dts: freescale: add i.MX95 basic dtsi") Signed-off-by: Peng Fan --- V1: The reason that it not fail with scmi_devpd is the driver only use the index, not use the phandle, so it works before. But since the phandle was wrong, so correct it. arch/arm64/boot/dts/freescale/imx95.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index 1bbf9a0468f6..3499d4eb2496 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -27,7 +27,7 @@ A55_0: cpu@0 { reg = <0x0>; enable-method = "psci"; #cooling-cells = <2>; - power-domains = <&scmi_devpd IMX95_PERF_A55>; + power-domains = <&scmi_perf IMX95_PERF_A55>; power-domain-names = "perf"; i-cache-size = <32768>; i-cache-line-size = <64>; @@ -44,7 +44,7 @@ A55_1: cpu@100 { reg = <0x100>; enable-method = "psci"; #cooling-cells = <2>; - power-domains = <&scmi_devpd IMX95_PERF_A55>; + power-domains = <&scmi_perf IMX95_PERF_A55>; power-domain-names = "perf"; i-cache-size = <32768>; i-cache-line-size = <64>; @@ -61,7 +61,7 @@ A55_2: cpu@200 { reg = <0x200>; enable-method = "psci"; #cooling-cells = <2>; - power-domains = <&scmi_devpd IMX95_PERF_A55>; + power-domains = <&scmi_perf IMX95_PERF_A55>; power-domain-names = "perf"; i-cache-size = <32768>; i-cache-line-size = <64>; @@ -78,7 +78,7 @@ A55_3: cpu@300 { reg = <0x300>; enable-method = "psci"; #cooling-cells = <2>; - power-domains = <&scmi_devpd IMX95_PERF_A55>; + power-domains = <&scmi_perf IMX95_PERF_A55>; power-domain-names = "perf"; i-cache-size = <32768>; i-cache-line-size = <64>; @@ -93,7 +93,7 @@ A55_4: cpu@400 { device_type = "cpu"; compatible = "arm,cortex-a55"; reg = <0x400>; - power-domains = <&scmi_devpd IMX95_PERF_A55>; + power-domains = <&scmi_perf IMX95_PERF_A55>; power-domain-names = "perf"; enable-method = "psci"; #cooling-cells = <2>; @@ -110,7 +110,7 @@ A55_5: cpu@500 { device_type = "cpu"; compatible = "arm,cortex-a55"; reg = <0x500>; - power-domains = <&scmi_devpd IMX95_PERF_A55>; + power-domains = <&scmi_perf IMX95_PERF_A55>; power-domain-names = "perf"; enable-method = "psci"; #cooling-cells = <2>;