Message ID | 20231208085402.2106904-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:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5324678vqy; Fri, 8 Dec 2023 00:50:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJJQNsHJ3lH/q2WKwwkuWnYOAwCmcsY6PSkk3nODzTDXJbYU231Aasy68waDrXz7agdQ3U X-Received: by 2002:a17:903:1cb:b0:1d0:c3e7:d2c with SMTP id e11-20020a17090301cb00b001d0c3e70d2cmr3965900plh.62.1702025414395; Fri, 08 Dec 2023 00:50:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702025414; cv=pass; d=google.com; s=arc-20160816; b=KJjDce7JEcXe/xFCXHDVnE0lPjN2sdVXtTvn3N+9Bphq5zR9tWs2icfmZ+cRorWwMN an+CpPEmXRO2jt/THfeH3Kv3ZuscPICrY8NluDqs2ot3g6NSHs41i6bj2ghMyUuhXKzA d0Bip35GZe1cuEK7CCMLwsfyE6vmUwa9TDf6j+4dXu5i4tE9ysdOKQwIndbqSjo7Nnz7 gj6deULhS2p1v+fmslC/iEKZIZSGmDi58m+VC01uEa3/vyGbdfmtG2Ncy0SbbGeAXfmg EDwOE/8wmfkuQ8Satjm6/Ngtwd76nkm5b0xnbLTkrZzPr0NaYu4AlytyJWIXmWDnue2f aQfA== 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=rs7XUZguBQIv52ghz1pccMJk90JdpAqyY4bK7CGB8AQ=; fh=wJjDCEKgQpNrbotC82k9wzU3Tdxe2gqo5ug8uTUnZ7Q=; b=qY3Zx2+EcRJOymdYBKLNv6KnsQg/Bbkg5BaSLZiN5b70fPsZPQMxj+QeIw5t10YL3G fi8zt6Sl8OovfHXLlg/16SxP9S6pf12F4D2zLrBKS6XRXyFl6RLBof1unvxDUlYZ79AU kWMTQfJr6HlWTnB8BD+qP0o2bGeQJDpm9d0gy3IIB3laj0IeuAlolZGiT1jqgZ7rrCAm p33HSBnph2XPlbDz7OC9nWuhjqpMRaiK08IOVfPaYPMKw0euKNOjPgaEsXnEQxAqJt9f LqA3eljWgg5oqOuT7ZMKYt9yTcGNBClRmr0gEYmfNsrI83Tfvz6t7RkBsgU5ZJTThNBJ Ve5Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=mICVftdv; 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 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id ix5-20020a170902f80500b001d0c082dadbsi1204915plb.271.2023.12.08.00.50.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 00:50:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=mICVftdv; 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 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id C534A875079F; Fri, 8 Dec 2023 00:48:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233213AbjLHIsT (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Fri, 8 Dec 2023 03:48:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232892AbjLHIsR (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 8 Dec 2023 03:48:17 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2072.outbound.protection.outlook.com [40.107.21.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0658B171C; Fri, 8 Dec 2023 00:48:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c3vFq+jQDrh5swszaFnuLqaK9Dn1zPPGPui+8oFq02cPHNcfqPRs/5/Jv+6imPx0W4qBfGqfPvfRtzv1gnRGC3OrM2VuNtmU9MsygcEZEL6S3/fDUdg1el5oVv+2hq1pbwYPBsLKa3fzKzFldBA+bOk9qTG+z58LRtR3rRa41viKpVC0JVV7jRb3yMv2tZoItVmzP4GxUaibexXMUf4IXr/CrrIjt++4a2RW8CbLY1iV/FnEPjpZ/rcSoyNz50rTtlNfDRsSVZjk0DZHooQW/LahOrRHXHVEazz7pJ1V1LlYyLT41g2aaO1QWs2axZZlya6JEqLmwOKJFjS/nh4DqA== 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=rs7XUZguBQIv52ghz1pccMJk90JdpAqyY4bK7CGB8AQ=; b=ReKrvEDMG5lYhW8c9jT03ArO9XWo63RqZTvg37iLKgKmGZUI9zV+6Dp2IonB2n1l/XX3zZPtkHcO58RYdhebjJo1QywVlqiwQaHemnPDDsTSISU74685xiJGDcdlm3VNs8mOaT9zGwJc5OErHI5UUCJSx2GxQBp7lw7h/eCWOTcPcTs5gaEADF0OCBfjwM5YxScvFPJAIAUemupINW8Gm3XIpQUxNFjSLy7qu6nNmbB4g1rM3VVQLWF9+PvA40cd3FY/VkecmJGC60dRZIthjNr4CbxggKyHuGWvwfcU1wYEA8MWz8VT85vzTUMC3GzJAveoeuQqOBw7KJeDaIpqMQ== 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=rs7XUZguBQIv52ghz1pccMJk90JdpAqyY4bK7CGB8AQ=; b=mICVftdv6XEE5Ar/oOJ6y42b8DphQb74BSGwvoVy0xEDCxUgcsWYIwVwsaoQUT9dp2k7MByy/rrNQd48WQAmSA3q0XigV+FASt5Ct+dBvWjwHP3Rlo9JBHBr7enfy7lcKZ2w+fnCOqvr8lAgYCQ8lXl1VLLGsADBt6ti1v1cBrc= 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 DBBPR04MB7594.eurprd04.prod.outlook.com (2603:10a6:10:203::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.28; Fri, 8 Dec 2023 08:48:20 +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.7068.028; Fri, 8 Dec 2023 08:48:19 +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, john.g.garry@oracle.com, jolsa@kernel.org, namhyung@kernel.org, irogers@google.com Cc: linux-imx@nxp.com, mike.leach@linaro.org, leo.yan@linaro.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, alexander.shishkin@linux.intel.com, adrian.hunter@intel.com, xu.yang_2@nxp.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: [PATCH v2 1/4] dt-bindings: perf: fsl-imx-ddr: Add i.MX95 compatible Date: Fri, 8 Dec 2023 16:53:59 +0800 Message-Id: <20231208085402.2106904-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR01CA0019.apcprd01.prod.exchangelabs.com (2603:1096:4:192::12) To DB7PR04MB5146.eurprd04.prod.outlook.com (2603:10a6:10:23::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB5146:EE_|DBBPR04MB7594:EE_ X-MS-Office365-Filtering-Correlation-Id: c3b92b87-3d20-4e95-7f10-08dbf7ca6d64 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yhLfmZQ+luxaTfaqJtBFGJ4VI+NT1KH4EwPyAMpeo+4gj+ZqQ8Ooi5LFd29wfb+j6oMV6eS8kSxvDBjlBtkdgpM5CaPa8lLlZJeldYD7euZr+RpD9gRMV5U3bauGOIcCj6v5B1p0tzwwPJvruKOIS/aXi91p8Ja1hF0aULULQZ5DsTd/ddzmiqmOfNt2wbynKMDJa7kSSFNEx4YkbkAbRxzJm3oWspvcxjGs8M6vbZFH1sjw+Jnr+ENg7t46aLMnsx0VKZQUIHqHigbcDroEFXlmnwnxz4hV7sb+xVgarZG01K7uVR6lGHStQU/QK0UKHnphlf0NqpzD6BQ6GD//BKASzyc9vBaTMys3wkDC3FN3/6kQ2jPqyeesMdphVwLBEtJn+T7O6ICvAYvJ58IFt4ooMpnizLHQFdQx3LeIdqRdxiqV1xLucqVDu1fa4rd+7Kwr7eCeHjfuoqSDyHGmFuTG6iZiU/yufqTBQTYgpld5cgGXlWHoneioNraCcC09Up6HHPqiV+OetF7fkqTJ208Qp9HG7tc9qTRen9W/PY49VjPuE70rmKkz5nUHH+WARPZusuY3Oor1Dtm4N8qxSHt3uCgz5ji2Fou6iIx49hm6wWiQ8n2auMca7mYhbE7tOefBJkpmay/viXDrOgDKOg== 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)(136003)(376002)(39860400002)(396003)(366004)(346002)(230922051799003)(1800799012)(64100799003)(186009)(451199024)(478600001)(316002)(8676002)(8936002)(4326008)(86362001)(6486002)(66946007)(66556008)(66476007)(36756003)(38350700005)(4744005)(921008)(5660300002)(2906002)(7416002)(41300700001)(38100700002)(2616005)(26005)(6512007)(1076003)(6506007)(6666004)(52116002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Q8ZjwOAjnRFv+LddSw7PAmti6Z71vHAT9+Ut7LS6fxjtI5TBmX9EqZaDrGxHrQ2jwDFAC/gRR6OD23vb+5YPRdETjfYfB9/Uma9bnwX/1vo0ZksEKT/ZRw80BGyBgMUDURJhUyS8lYTA59eGmVMehIz0OMTysMai1tmoisg+lOY2CsT1ZooAKF7gyX1FsLKrH393Kn5TpSnsV86MRyqWrp3jF6/OSg5k8f+WDnnAKjQmPQztOtkx44ETnth59da2y/5YD3hwnB7QJsxweg06B/5+WqO3lbNEy4JH8GkBlq9iM3oygUyNb6SEoFu51EjnpzIYFOhhNzyG7Q4VCre0WNFwxg5X3LvEsexwyJ82SfX9WoCOtoK2bb9MsU5BhII9v07842VpNFjcNQSMZCzAeXwyzYgLBFMu3/e2SLH96swrsNDsx+u0aIcnIhU+9paaFuSHhnOB4BoGZLwORP0MWRFoygvFyUS7T0d0iRp0i7zegaRRqUCheQCmsKq32N+2C4pzG6z2rtbl6FZBvk5Dv/h64RAybcpQ+vn4cMCTWB+GEZ3p4KWrBz7KTexkPlyljlK+5JTDWEe8oksalLTiHPeykbvfhRauy2uCFljS1EzzhfwSZJ9Ac5w3Jtx2CwCJZTUc8k7rtKB+NqQXADn+f1l5ZrOXnOwHy0GktesPU8UsTNOT/rRj5aSFrIaxZgILEHRQbFD4RITqn3wSGkJz7L4f5Opn2HDOLuSMAiZy9PQEVjZWI3p8+g0dQenmhQKmnLsFIAV1ycdt9EvrXOuQfdIEnZ2f7Sf9T1jfMCzS9nqSb6xmbA3QywG8a9nCdX8IaKNlQ+oJtYPT/EBR4KKGuUvpZtm1s+lCoVjrsym3m33d8UTPi7N6dBgh2f4Ro/e1KEHMBTjvN4e1ya+jcS8dElFVJojucb6rClizmGqmjeyvuVUo0s8YUti/uSIG6Dt+gfwWO9rMKI74+GRav3/RlDTTejp/CMqXEOvJNn7fS2NX+Fw3PtbpguqoU/IoaYlxlR0byz/2iT1MPoAsBfZ4Y2umwR8bzcdmpBgszojnqaqMA+8KttTBFEXo2nNGqK5dptT6B7cr0Ryya4ES5+U/Ek6yq6LpUKsgrl5CiVQcADO/H2GWy0fG/Q5POZui6GLKM2mxlQ733IbCzP7h2Q1Z9nNDprn3CniztnF4B9UPPWhoMRCwXQLiZrgSNnY1wa4FsK1KOp5EwbzdXp25PLZ5nmzghxamxf0RJpSAv2dnp4SY/BQiYlryRdMinEokam1UO8XOcUdfvPVAk9oiurfc5KT9Mk92N5gTU5Mk2eXJ6ExMV1slNLlWMajkxa29ep/9/c/Rt4TbZBtocMwuO3MhX22bsg4sSzKqDSq37pU7Y5ygYnR2mq5HiMksu863LjTlTFdCgv5QJiXqDI7WMHc9lk35+hDhj5hohYInfz2/E5GZ6ySYfZ94Y2r7PuTIRn2+ynVoBOk/vJ2KNLX/ea+YgREckNPzp/LQZFIPygu39d9YniDs0IK6TOe9s6QLCqty3HQJ/KWMb0h6zRDSAx2Se+6p0CuiTnKmwrwAVxQjVRTpgDX7gDCCHlRMSsAKcYyy X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3b92b87-3d20-4e95-7f10-08dbf7ca6d64 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB5146.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2023 08:48:19.7292 (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: Fs9nePx8sHILseQw/bQpd4a7CDYmGjDJR3sPhZF9yKvIRL/PmQKPwjHnmDd+hf3DvGPPdGYUmFKZm5lidCISZw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7594 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 howler.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 (howler.vger.email [0.0.0.0]); Fri, 08 Dec 2023 00:48:29 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784703000903692373 X-GMAIL-MSGID: 1784703000903692373 |
Series |
[v2,1/4] dt-bindings: perf: fsl-imx-ddr: Add i.MX95 compatible
|
|
Commit Message
Xu Yang
Dec. 8, 2023, 8:53 a.m. UTC
i.MX95 has a DDR pmu. This will add a compatible for it.
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
---
Changes in v2:
- no changes
---
Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml | 1 +
1 file changed, 1 insertion(+)
Comments
On Fri, Dec 08, 2023 at 04:53:59PM +0800, Xu Yang wrote: > i.MX95 has a DDR pmu. This will add a compatible for it. On v1 we had a discussion because the commit message wasn't clear about whether or not the device was compatible with existing ones. For some reason, the v2 patch _removes_ information from the commit message rather than tries to explain. This [1] message of yours, that I didn't get a chance to reply to before you sent this new version, seems to say that there should be an imx93-ddr-pmu fallback. Cheers, Conor. 1 - https://lore.kernel.org/all/DB7PR04MB514668A8B172CD1A2187BC408C84A@DB7PR04MB5146.eurprd04.prod.outlook.com/ > > Signed-off-by: Xu Yang <xu.yang_2@nxp.com> > > --- > Changes in v2: > - no changes > --- > 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 Fri, Dec 08, 2023 at 04:53:59PM +0800, Xu Yang wrote: > > i.MX95 has a DDR pmu. This will add a compatible for it. > > On v1 we had a discussion because the commit message wasn't clear about > whether or not the device was compatible with existing ones. For some > reason, the v2 patch _removes_ information from the commit message > rather than tries to explain. > This [1] message of yours, that I didn't get a chance to reply to before > you sent this new version, seems to say that there should be an > imx93-ddr-pmu fallback. Thanks for your comments. Just read my previous comment in [1] and found I made a mistake. Now I'll try to clarify it here. Imx95 and imx93 have different AXI filter configuration. I need a compatible for imx95 since the driver cannot differentiate them. Then I need to consider below two options: 1. compatible = "fsl,imx95-ddr-pmu", "fsl,imx93-ddr-pmu" 2. compatible = "fsl,imx95-ddr-pmu" Both of them work correctly on imx95. When I make changes in driver for imx95, imx93 is not affected. For basic functions, imx95 is compatible with imx93. I select the 2rd form for simplicity. If the first form is optimal, I can change it in next version. Thanks, Xu Yang > > Cheers, > Conor. > > 1 - > https://lore.kernel.org/all/DB7PR04MB514668A8B172CD1A2187BC408C84A@DB7PR04MB5146.eurprd04.prod.outlook.com/ > > > > > Signed-off-by: Xu Yang <xu.yang_2@nxp.com> > > > > --- > > Changes in v2: > > - no changes > > --- > > 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 Sun, Dec 10, 2023 at 04:27:16AM +0000, Xu Yang wrote: > Hi Conor, > > > On Fri, Dec 08, 2023 at 04:53:59PM +0800, Xu Yang wrote: > > > i.MX95 has a DDR pmu. This will add a compatible for it. > > > > On v1 we had a discussion because the commit message wasn't clear about > > whether or not the device was compatible with existing ones. For some > > reason, the v2 patch _removes_ information from the commit message > > rather than tries to explain. > > This [1] message of yours, that I didn't get a chance to reply to before > > you sent this new version, seems to say that there should be an > > imx93-ddr-pmu fallback. > > Thanks for your comments. > > Just read my previous comment in [1] and found I made a mistake. > Now I'll try to clarify it here. > > Imx95 and imx93 have different AXI filter configuration. I need a > compatible for imx95 since the driver cannot differentiate them. > > Then I need to consider below two options: > 1. compatible = "fsl,imx95-ddr-pmu", "fsl,imx93-ddr-pmu" > 2. compatible = "fsl,imx95-ddr-pmu" > > Both of them work correctly on imx95. When I make changes in > driver for imx95, imx93 is not affected. > > For basic functions, imx95 is compatible with imx93. I select the 2rd > form for simplicity. If the first form is optimal, I can change it in next > version. The first form is preferred, yes.
> Subject: [PATCH v2 1/4] dt-bindings: perf: fsl-imx-ddr: Add i.MX95 compatible > > i.MX95 has a DDR pmu. This will add a compatible for it. > > Signed-off-by: Xu Yang <xu.yang_2@nxp.com> > > --- > Changes in v2: > - no changes > --- > 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 A gentle ping.
On 15/01/2024 07:03, Xu Yang wrote: > >> Subject: [PATCH v2 1/4] dt-bindings: perf: fsl-imx-ddr: Add i.MX95 compatible >> >> i.MX95 has a DDR pmu. This will add a compatible for it. >> >> Signed-off-by: Xu Yang <xu.yang_2@nxp.com> >> >> --- >> Changes in v2: >> - no changes >> --- >> 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 > > A gentle ping. What do you mean? Weren't you asked to fix things, were you? Why do you ping then? Best regards, Krzysztof
> > On 15/01/2024 07:03, Xu Yang wrote: > > > >> Subject: [PATCH v2 1/4] dt-bindings: perf: fsl-imx-ddr: Add i.MX95 compatible > >> > >> i.MX95 has a DDR pmu. This will add a compatible for it. > >> > >> Signed-off-by: Xu Yang <xu.yang_2@nxp.com> > >> > >> --- > >> Changes in v2: > >> - no changes > >> --- > >> 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 > > > > A gentle ping. > > What do you mean? Weren't you asked to fix things, were you? Why do you > ping then? Sorry for inconvenience. It’s my mistake to ping this one. > > Best regards, > Krzysztof
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