From patchwork Tue Apr 18 10:29:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 674696 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E718C77B7D for ; Tue, 18 Apr 2023 10:27:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229568AbjDRK1C (ORCPT ); Tue, 18 Apr 2023 06:27:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230337AbjDRK0z (ORCPT ); Tue, 18 Apr 2023 06:26:55 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2072.outbound.protection.outlook.com [40.107.8.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD8577EEB for ; Tue, 18 Apr 2023 03:26:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TANuXpaHYOU/0FbRrVUtGZXX0FeNKH/jzsvMiBIkDYD8QrgnrJAAt12zlSCC2A/LRqMjfILsAKn5MLv8SoikgEB51tSZ1pMq8XhByjmTtEsL5vQcwbVGChL5OcKo7mcrBcNc9UgGLtQxgCDl5Dxvx18NWZFaPWIePj8ldfftmZu1k4mOyky5t//AQW4i4vjRAYpBSz4WmBFN4DxqavgJ6yBsdsj+O1hZP8ZXV4JhamOyYo8s4jn9Fd8VFhOVoLdMqyOoMBFlYwwNKkV4JfvdVhqwdUBEH3YLSuePYu92M0+usypLB4QaCrF2BJaR/u8TxiDZsANe+J+ls4OBdKPTpw== 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=oFVfoyopsNiTHBWONpKtb2Tq2ZZnSrFBy51LMLtTkmA=; b=BmpSsIZaJMxNu3HVCE3Bm0BGPcY2adpmv0MKuRHqzaxcToATRV9mqEtdQj1TQSnu6BgsNYi5/laemA7koF4SYX5iY2c1FrIohF3GEqAG8qwOlxeoOkJP5M+2bp7sp3zE6IdbgXWNKzKAGIXO+KoZoCXP3ToNYQHxZASu6rLy1grFMUmcUBaoOF5MC0AV7h5MrRQNR00NX2BNMrumcVZEwaNnqrHzeazZ1AEr8qPmAStQKlZ9Ak680ZsrgZNkqim5Z9O8rkajeozebFLeEt/FJ0YMhjZ40nVDEnqlPtjFx97zQ26Xqwckke5fcfm2xca36nEIjlMoFUDm8Zz4qsLCaw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oFVfoyopsNiTHBWONpKtb2Tq2ZZnSrFBy51LMLtTkmA=; b=jDRW+xkVPj7vwu+QT31CEtXcbZr6wh5cGtwt4ioVRD3c2xEbZ4kpsyVDLtaSo/3wU6YBuRdHZNnYjHsKJUJa/UQmv99b+H19m6tD62Z9kmNBcfAB4y0DfIxDPJY+O4ndXJ8ZNMblnE7p0paK9ImB+gpKHFWNBDGgNiiGCYYZdIk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB4505.eurprd04.prod.outlook.com (2603:10a6:5:39::26) by GV1PR04MB9184.eurprd04.prod.outlook.com (2603:10a6:150:28::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.45; Tue, 18 Apr 2023 10:26:49 +0000 Received: from DB7PR04MB4505.eurprd04.prod.outlook.com ([fe80::3052:f2bf:2e5f:1e90]) by DB7PR04MB4505.eurprd04.prod.outlook.com ([fe80::3052:f2bf:2e5f:1e90%6]) with mapi id 15.20.6298.045; Tue, 18 Apr 2023 10:26:49 +0000 From: Xu Yang To: will@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, frank.li@nxp.com, festevam@gmail.com Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com Subject: [PATCH v2 3/3] arm64: dts: imx93: add ddr performance monitor node Date: Tue, 18 Apr 2023 18:29:10 +0800 Message-Id: <20230418102910.2065651-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230418102910.2065651-1-xu.yang_2@nxp.com> References: <20230418102910.2065651-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR03CA0109.apcprd03.prod.outlook.com (2603:1096:4:91::13) To DB7PR04MB4505.eurprd04.prod.outlook.com (2603:10a6:5:39::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB4505:EE_|GV1PR04MB9184:EE_ X-MS-Office365-Filtering-Correlation-Id: d79cf961-9e0c-416d-68ff-08db3ff76aee X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pfGfYB2QpjqBC7F9hOOWe05h6d0v6F0T80x89LhMVJnstPK+0WjVS0ij/HtcLQlViC5tlRDbHCvlHv65eYt3QcVDxUd24c2E4YfV3P66VzFDElZkwnjT/NpBnhIlcpUNq9DSm/Zh52/P67yq2ueigI7fZhKaE2BcASyUCCA1cUhDRsMGP+xwgxJG6RBY9Lu9wSel5azaWHIT+7Elu/YBgUmCcZLw89C9oIEyo3Vxjh0/XwsbKOVfoRrjmz+HE3r8l61+oVFdj2cVvQe5GMQx4QU8a35RF0BTmtKqPTNt47nuppePx/JcW57lo0fqd0nHiuRQ8/lpTslL2vOZaoEn26fB++gltcRRrTOYehA+S8I78PJX/37IT8A0Alzj4yYfj2jqsF0uDaNSkFhaoCoHC/98eo8fbAulfFGPeVMsFQBSNo9iLOMHYzjmhJPvot21C7Ry3tUkDLqdLqGpJLevplduja7InkZS0JU3VuZJb28FMmRYtskBXa6AGE2FJWAeoU7KuEdCuHvulk3k8PtYXOk+HZQ092+ob+11JDc5IqkL9VQ9hNwlJjCqCc+pQVoXTD/Jz58XBi9HtJ3czFqDELp7MvHyea/Edfhzfyv8VHpyT/BOcJHkEY+5Xi5D35OZ X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR04MB4505.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(366004)(136003)(346002)(396003)(376002)(39860400002)(451199021)(6512007)(6506007)(1076003)(26005)(186003)(478600001)(52116002)(6486002)(36756003)(5660300002)(6666004)(38350700002)(8676002)(2906002)(4744005)(8936002)(316002)(66476007)(41300700001)(4326008)(86362001)(66556008)(66946007)(38100700002)(2616005)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xH+/xfzHdyluAjMJ0fbR/PppXTudwn8NKVLeHNU89bwKP+/mdTtnmigPo8nXBG/XIq7Psqgc9B+TAL+f+jMf72rwCfkholRQ8QVyBZzoRVtrvsdMdBXtbKdn1JJb3wbdwURdUwWifqRnkSetfMloOvhrclYYeMfYyW7HWdjNIlDT1W+tRddwRkL0scImzL0UFYmr/o2kyQ15XcjZS2fQ/e+ZI6nIeczXsLhhuydo1hS1y5SPh2+aAEkFu4HFawopKyCa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VNsff+C3NvztCD+V77sG4Reo0zSIT1kZdUOWIrYgLfYxqRKCORSgXK2VAuZMaQz00DojV3HTSVQvja3fxajLk9vAAAeWEiLzT73Fw2qZaE0jvB5kDfOVJ75fX/NAqanUXn0nhY3g5ipwJO3iZcL7oBiOtBL+1er6pfVuSxB1Olj1QZdEOlGdoMqwIib1DlnzH9p7NT2y7cYCIIL0szf+01mlbZFZzZYom/CAXPJLU5EOnWDF0miXKsPbA1Nx X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d79cf961-9e0c-416d-68ff-08db3ff76aee X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB4505.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2023 10:26:49.5621 (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: aJpO8J8+XmhmJmdU+J5c3UjOgYO9lwH2YhWPUniqS+EXuXlWYs1qlwXG+5nUqQnOt6RJBRaUMeU8xe+nT9EJqg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9184 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add performance monitor. Signed-off-by: Xu Yang --- Changes from v2: - no change diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 2076f9c9983a..be8a581c7454 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -725,5 +725,11 @@ media_blk_ctrl: system-controller@4ac10000 { #power-domain-cells = <1>; status = "disabled"; }; + + ddr-pmu@4e300dc0 { + compatible = "fsl,imx93-ddr-pmu"; + reg = <0x4e300dc0 0x200>; + interrupts = ; + }; }; };