Message ID | 20231127073208.1055466-1-xu.yang_2@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp2908608vqx; Sun, 26 Nov 2023 23:26:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IG0RPzWeumsFXL1hqlOqUXDpT6sQYbS1FQqEQtPCrIRFdBBZ6P2vC9WK3gAuKB/lqIbnzz3 X-Received: by 2002:a17:90b:1001:b0:285:6f1a:4a71 with SMTP id gm1-20020a17090b100100b002856f1a4a71mr10768935pjb.32.1701070009949; Sun, 26 Nov 2023 23:26:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701070009; cv=pass; d=google.com; s=arc-20160816; b=tJYiydHKAdsmaRZ6eZ2Ta06Pqwa0Iy0LrYWWKjZXiLoU8GT9KKqeN8VJdKkf3pyTEA 1dhv7/TRzKLHPgPKE4KCZ/LiI6SUSmCAgmim1xfk2XLbzJ1FuSu21eQrSCsaVnOXM+ub usyfG4hqmd1Je4KomVqxweR+qutLxUosiJQaIlXhXTG9Hxqrtx9zDz2qn42z+PHj9vhp Bhqe3adJf7ovXjjwVljz+R1l4s5W3aNh+aqgWMgQ2gI7c9+k9CqAMYgyX/w8Bd5w+30m G+jbhwajzq5isozsWb/sHnSbMgCmj81wCvlUYWRf4TKU2K2rfid8LNzlgwIFuY/y9kLt 2oSA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=uv/9cDnmlfKOt/BPEzkg5O0jXXVozI3BTZCov2kWSDQ=; fh=ukokmL/bDQ3qZ5qAvawar1lZd3CJf4+qRHBuo8gx+G8=; b=a5FBets3m3YO9vMzkyXkd7olN/3WBJzfE3e1sE6BZfVcIOi1UtOruLbFSuJG3CtQge Lt59VOQk82UQxSKGDo1fTFQYxbNXQBPtTFzGxvP83BzT+LKOq+ilwJsjcR4ClzwGiNZq y3/fHKkECJzdoOU4xtXnIItYnpIBoTwVg9x0rlxSrxQJwUTO9slvRecpAq/nLQiWafGS pYa2Y3hrP7a+ZI/n+tCjizpwWAg7hWEedpHgY1wTdvsL5QPibQWIuddUmlVYfu6br7Ei ZgJxuIgbLx+nPttHOymPY+lTwrBYjHMLreqhOFcwg7g6WSS/S0Zp6dgJR7XaZRK3nPmp gvvQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=qEd579d1; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id fz6-20020a17090b024600b002850d9700a8si9104224pjb.21.2023.11.26.23.26.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 23:26:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=qEd579d1; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 807358068997; Sun, 26 Nov 2023 23:26:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232514AbjK0H0g (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 27 Nov 2023 02:26:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232447AbjK0H0d (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Nov 2023 02:26:33 -0500 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2088.outbound.protection.outlook.com [40.107.249.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 212D5182; Sun, 26 Nov 2023 23:26:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AmlZNXZQakovj9mh6szD5uVXYC2hEmLYd32cC8JX1iWswJA07chSXU4cEiBPw2fNixuTyyw6sWeuRwC020mKWJ9YQJ4rzMxz0CH27bbgbySW5QqxRapSt9AAlIoDS5W0655ixgjgvDQoVufsSCmMzK5m9Fb9gGHf/LrF9sEiD74axMcfodgqt5W8cSNk+x9uB2a2R7HRYxFHart7lqEkjfpmffjGAXLd/ToZub6+LoqHpbeCGjx9HUqlxmhgmMigvkVnaI8wYemYiljGCRKQZUTsu/mLEMAZHI7e95TGmIiU2+Z4eyAATux68Nlg4cAd4xsmgxAPf2DLzlwntGsi8g== 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=uv/9cDnmlfKOt/BPEzkg5O0jXXVozI3BTZCov2kWSDQ=; b=BsBsZnNzEuF2U4MoojzqGhzyCWt5CaxXaq/YUkS643z542bzqhC11Pn1XaAlV1oedq9oefnVFDT1D8Bnu0NqQztZZ5MXjt1IefBE4rYbJXbEjwaqDXB++klYWxWxchuj3E1usOtkf63HGER84WiVPHzfz14OUs3mQO3af5H4WxlhR024yPLSezxz+gEUuXuD5no/6zM6cuV4+Pawuu3fiMzqQxCkYeeFleI2/keagNzuR8OZ6H4K5xJPiDMyNnZWNNKCQMWJyMLyaD4Lb52lrXgB8sxnrIWo2Cam/u26hvXUFiqpfMU140z6eUuo4HQw0BWGpnS0GVy3yU6ohkRJCw== 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=uv/9cDnmlfKOt/BPEzkg5O0jXXVozI3BTZCov2kWSDQ=; b=qEd579d1nwLC0S6LFwSLdTZSRzgGs2t+tDSvLxuIRT6nXskStNYL+paKa7acVx7m/VW7iTfGlAFSfO+I5N01EPYaYeEONeM8z4d9VR0beXgFD68MnSH/00zqdx6quLXEqL8uEPkoCRS97pYOC0LhLc/t8J2EG1kcmKWbjCToZnE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) by PAXPR04MB8157.eurprd04.prod.outlook.com (2603:10a6:102:1cf::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.21; Mon, 27 Nov 2023 07:26:33 +0000 Received: from DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30]) by DB7PR04MB5146.eurprd04.prod.outlook.com ([fe80::709e:6876:7df0:fc30%7]) with mapi id 15.20.7046.015; Mon, 27 Nov 2023 07:26:33 +0000 From: Xu Yang <xu.yang_2@nxp.com> To: Frank.li@nxp.com, will@kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, irogers@google.com, namhyung@kernel.org, acme@kernel.org, john.g.garry@oracle.com Cc: james.clark@arm.com, mike.leach@linaro.org, leo.yan@linaro.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: perf: fsl-imx-ddr: Add i.MX95 compatible Date: Mon, 27 Nov 2023 15:32:06 +0800 Message-Id: <20231127073208.1055466-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR04CA0006.apcprd04.prod.outlook.com (2603:1096:4:197::13) To DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB5146:EE_|PAXPR04MB8157:EE_ X-MS-Office365-Filtering-Correlation-Id: de7fe9a9-b4ce-46da-fa96-08dbef1a2ea2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E60DFYYjJclQ7kXkx5LSNKGqk2TWKMNSTKi2/DP52EdatC2h8eSOxxIujxue33v2x6G9kzQheCANbeLQq4QvnO9q2qNS49HX69Ke/XkQAP4erdzhwHG/cZoe9TNuRJuKdpcaTs6cj+17kxBn/Okb+p5p0vB6ODaBLQ/nKJtlZAeoib0oU5c9J60+tEYHp4RcRyCdf1hDYXl7SfUoDVULaIh6xK4woh22357yeL/0zhgMisOsTl9iZ0X5tSJNXaWuXp24R0dCHwHrda0VNAWImcS/2Yfg7Dmvs6qHKPLtPS/Xf8QOyVo8KeLQ97WhttUGY7XCLIRUMvwSWoFP4PzEdmwTF5KCC/F92r+V22HtVMzeBXERFuTAXWjqqWiB+XSboE3ARoXSqPl1zl62dR+Vw2yEHPBAa574W5PhXfGJZDX8ajI4nOpBpyVPOvmUuUDSnoe2ZyHHa1+ZGz0PtIyP/mARXEc300/cr0G6/y3vMy2T6lImf33mkZb6B9rjuMZuNFb4LQIjFnWhiB5ynRzLIP1Ye+a6Vc6ZpfiXGcmn45eh4aD7NIzNn4v1sejJSw67QBabQwMvjRtkf4C7gqJEiROz3qVMDgZsA3mKJuIQ8TwoMt1UfdSL2A7BBOAa54gyhLdFe2X2oqXe4Ltr9PWd4A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR04MB5146.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(39860400002)(396003)(136003)(376002)(366004)(230922051799003)(64100799003)(1800799012)(451199024)(186009)(6512007)(6506007)(1076003)(2616005)(6486002)(478600001)(52116002)(6666004)(4744005)(2906002)(7416002)(41300700001)(5660300002)(66946007)(66476007)(66556008)(316002)(8676002)(8936002)(4326008)(36756003)(38100700002)(38350700005)(921008)(86362001)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dJ5Wht+wPfXr/DmSjG11VHZOSAoBw6M0OOg0yLCFuQ3FdbPdXKnKAeX6zk8t3P7h3yl3RsWCRMJEXC0i50y6ZquF1rik6SDncbJE4X6zEna4DaJordj3rAJ4GAj34m7U8umlxh0dYY3CIQLMGTeR8IY3cy3iA0qmEK25HK2VeXkZLt2zvMPT1XgtQPvMvd1ISlWWLnHIFbkxnAs7rZ5cyV4Pff/10FpEa6ZMJsPDyH9RR2ztWO6jzG2SWaEqMR+UFNohKTVIhowOu5EjEuj3HbbKKGi4TPJbXHpKKnPz2lux+LZruAxob5UExUB081FMcnby8Xqdcn3UOiZOAHVtHgvlX772lkQHIvwXYECFRxVmIdWLZ419mmZf3ErDqClBr7q9ley5epivMUX51NSBxVvHLLKS7Bl4FEfnNEUuEgYzQu+iAIUukCieA4Jh6MqNbO3qaMmZBofbdW23ARCfL2l8S9GyU+3KTL9r1wIXqHivzlokxdRKYG7/Lspo2Y9MRd4c1HvzCbSpFpa229ZOlh/YYzkPXMCDl+dwIoEPLRGk48ELHkibY2K05wvfXiRekt27e/s0OJhidXd0yhsN1uAePBO+tjAVIn4uzFqSFJPXaMww+6CN9uIrtjUv7fJDLm+1RDyhHYqMTGfcx1LJ6dEuQyz7/6wE64//jhycLEF/1ArXAjagqaZcvPMFgefOfaaSungpoUHXlIBOY40tk+dzqEgt7kHJxeHRpnpdaaVphSzk8XDsuNqbZ6B3mwdx+FqCjZZx+syeN3vD7jJQT0ZclCjF/pbiCz4xMKa2vXzTYwrHenqGJ2Y5iJRFE0fnqd0h3icjdK/aKgulrRO/odgbgF3vBsoVgcqwjg+4BsiGE/9b1MU6wxtQ8MMMTu0fYt4yDA0ix6F9jK43zIEpAlKw/Ha420QLdskc0emIL4VsSaCPUurYTSpAGROqNSXm6lv2pnY+L3+V5TNc8B7h9Xsm5lN/ggTXPhmMPxfpka38/C+CHj1O8pLhLmVp8I2D+CQFmQEBZr9qjM5g9hQ7Rxpp5XdozZSg1VPxr7oBWSEHm4Rd3LBy1+JrQtrhMzVKtbowquR7WTVSJH1fqVgUloIchWHfnO0zqchAoXPM9mDIKaYDUu1D4QzjbZt+cf3bFAnDD7bwMi/pTGIYcZzkH7FjsIzjNEgcGxkkWtFvgYG/Ulyk0o1G5RU6JekzDMvpEA8pVgxmw78exN/+nTu1WodYSe/YNImErPHr5ciINvmqOQj2bk39s0GF6exnBDZP3LNb4ZIVTtfJMCKvhdJBZWLKwOgFTTFQd+6UFPICfmCy9CAsLvC+XV/osXpnfe8ahnug2O5epC06jPQlyiP3sFWqV6Zugy9ARsqmJAXJRlcTsNvDHzZpQBjHtQXrGopq92ygr8tXxaZ1UY1gsZ4uBiHc8ezdW3zqk9cR3M/3S1GYYXqUqADNSmIfZOZdXux6QXUxwFpJ11Vkpcjp9189c/cuQFDEbbnM7PC6Kk7ogR+udV9wPLNTvn33e9q9s3RQNTxtaPK8Ax+n2/PyELopwg1OC87b7dvAKn06QWmv4Mrw6+KPZeT2UorTTHBixAOq X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: de7fe9a9-b4ce-46da-fa96-08dbef1a2ea2 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB5146.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2023 07:26:33.6957 (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: p86zWFHMy2bkpQvI+q0yIeskieszBPRq07aGMwoXX00V+umcBupSYIiSalcr+hSpOI159Z5R2BFTPgJfV3pkPQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8157 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 26 Nov 2023 23:26:45 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783701186818930991 X-GMAIL-MSGID: 1783701186818930991 |
Series |
[1/3] dt-bindings: perf: fsl-imx-ddr: Add i.MX95 compatible
|
|
Commit Message
Xu Yang
Nov. 27, 2023, 7:32 a.m. UTC
i.MX95 has a more precise counting capability than i.MX93. This will add
a compatible for it.
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
---
Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml | 1 +
1 file changed, 1 insertion(+)
Comments
On Mon, Nov 27, 2023 at 03:32:06PM +0800, Xu Yang wrote: > i.MX95 has a more precise counting capability than i.MX93. This will add > a compatible for it. It is hard to tell from this comment, but I figure this "more precise capability" is not an option you can enable, but instead makes the programming model of this device different to that of the imx93? Thanks, Conor. > > Signed-off-by: Xu Yang <xu.yang_2@nxp.com> > --- > Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml > index e9fad4b3de68..1bc7bf1c8368 100644 > --- a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml > +++ b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml > @@ -20,6 +20,7 @@ properties: > - fsl,imx8mn-ddr-pmu > - fsl,imx8mp-ddr-pmu > - fsl,imx93-ddr-pmu > + - fsl,imx95-ddr-pmu > - items: > - enum: > - fsl,imx8mm-ddr-pmu > -- > 2.34.1 >
Hi Conor, > > On Mon, Nov 27, 2023 at 03:32:06PM +0800, Xu Yang wrote: > > i.MX95 has a more precise counting capability than i.MX93. This will add > > a compatible for it. > > It is hard to tell from this comment, but I figure this "more precise > capability" is not an option you can enable, but instead makes the > programming model of this device different to that of the imx93? Actually, imx95 is compatible with imx93 except AXI ID filter capability. But for AXI ID filter, imx95 is using different registers and bits from imx93 for filter configuration. To distinguish them, I need use different compatible because programming model cannot recognize which device is running. compatible = "fsl,imx95-ddr-pmu"; compatible = "fsl,imx95-ddr-pmu", "fsl,imx93-ddr-pmu"; Both above compatible is okay for me. Therefore, "fsl,imx95-ddr-pmu" is needed. Thanks, Xu Yang > > Thanks, > Conor. > > > > > Signed-off-by: Xu Yang <xu.yang_2@nxp.com> > > --- > > Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml b/Documentation/devicetree/bindings/perf/fsl- > imx-ddr.yaml > > index e9fad4b3de68..1bc7bf1c8368 100644 > > --- a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml > > +++ b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml > > @@ -20,6 +20,7 @@ properties: > > - fsl,imx8mn-ddr-pmu > > - fsl,imx8mp-ddr-pmu > > - fsl,imx93-ddr-pmu > > + - fsl,imx95-ddr-pmu > > - items: > > - enum: > > - fsl,imx8mm-ddr-pmu > > -- > > 2.34.1 > >
On Fri, Dec 01, 2023 at 06:41:59AM +0000, Xu Yang wrote: > Hi Conor, > > > > > On Mon, Nov 27, 2023 at 03:32:06PM +0800, Xu Yang wrote: > > > i.MX95 has a more precise counting capability than i.MX93. This will add > > > a compatible for it. > > > > It is hard to tell from this comment, but I figure this "more precise > > capability" is not an option you can enable, but instead makes the > > programming model of this device different to that of the imx93? > > Actually, imx95 is compatible with imx93 except AXI ID filter capability. > But for AXI ID filter, imx95 is using different registers and bits from > imx93 for filter configuration. This sounds like it conflicts with... > To distinguish them, I need use different > compatible because programming model cannot recognize which device is > running. > > compatible = "fsl,imx95-ddr-pmu"; > compatible = "fsl,imx95-ddr-pmu", "fsl,imx93-ddr-pmu"; ...this. If drivers for the imx93 need changes to work on the imx95, then `compatible = "fsl,imx95-ddr-pmu", "fsl,imx93-ddr-pmu";` cannot be used. If they will work, with only the new imx95 features being non-functional, then you can use it. > Both above compatible is okay for me. Therefore, "fsl,imx95-ddr-pmu" is needed.
Hi Hi Conor, > > On Fri, Dec 01, 2023 at 06:41:59AM +0000, Xu Yang wrote: > > Hi Conor, > > > > > > > > On Mon, Nov 27, 2023 at 03:32:06PM +0800, Xu Yang wrote: > > > > i.MX95 has a more precise counting capability than i.MX93. This will add > > > > a compatible for it. > > > > > > It is hard to tell from this comment, but I figure this "more precise > > > capability" is not an option you can enable, but instead makes the > > > programming model of this device different to that of the imx93? > > > > Actually, imx95 is compatible with imx93 except AXI ID filter capability. > > But for AXI ID filter, imx95 is using different registers and bits from > > imx93 for filter configuration. > > This sounds like it conflicts with... > > > To distinguish them, I need use different > > compatible because programming model cannot recognize which device is > > running. > > > > compatible = "fsl,imx95-ddr-pmu"; > > > compatible = "fsl,imx95-ddr-pmu", "fsl,imx93-ddr-pmu"; > > ...this. If drivers for the imx93 need changes to work on the imx95, > then `compatible = "fsl,imx95-ddr-pmu", "fsl,imx93-ddr-pmu";` cannot be > used. If they will work, with only the new imx95 features being > non-functional, then you can use it. Yes, it is. When compatible = "fsl,imx95-ddr-pmu", "fsl,imx93-ddr-pmu" is used, only the new imx95 features is not functional, other basic function works for both imx95 and imx93. Thanks, Xu Yang > > > Both above compatible is okay for me. Therefore, "fsl,imx95-ddr-pmu" is needed.
diff --git a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml index e9fad4b3de68..1bc7bf1c8368 100644 --- a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml +++ b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml @@ -20,6 +20,7 @@ properties: - fsl,imx8mn-ddr-pmu - fsl,imx8mp-ddr-pmu - fsl,imx93-ddr-pmu + - fsl,imx95-ddr-pmu - items: - enum: - fsl,imx8mm-ddr-pmu