Message ID | 20240126-imx-sysctr-v3-0-33fe801d5f31@nxp.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 92E1DC47DDB for <linux-arm-kernel@archiver.kernel.org>; Fri, 26 Jan 2024 07:05:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:Message-Id:Date: Subject: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=CL86qBbaVB4eGX7CbBuzSGESmNEbS1uxiFMX1YgnH48=; b=nCJqqdzbU8P05x ukL4IooA4wlvOq+Vupow6Wa79ti5ZmpSHLPMLZ2HMP8CHNjDkCtaeGpDunss4/W0XXdDKXOlu2S6l I+Mi/OrFS+RFD9dm0k12LT3Vj0pdERPRzhMeqoHR4MU5r2kAVS5nfaouGcRBwnz6uW2KLNObsZFPX JfwMzFxADwXADZSextW1+UMGDSJGUfy1VXzqxMdEYp8MPACkC/MQDwiZ5DE0/yY4zbJutqRbDKKyi fTH5MMI6hD/1DURIiGYRFlM+YHYzT9/bgRHxWoW4TxIdwhWiF3mdWViiytG7zQrDqpxYfkw1Vji+Z W6It5FXeuaAqLu2KuxTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTGHF-00000003IzS-29mP; Fri, 26 Jan 2024 07:05:25 +0000 Received: from mail-vi1eur04on2043.outbound.protection.outlook.com ([40.107.8.43] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTGHC-00000003IxL-0jqF for linux-arm-kernel@lists.infradead.org; Fri, 26 Jan 2024 07:05:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QxNtO+w7PeuTpOmvMpeEsoxk2FepC1ctezvnhebXV/YVpPVYJCtqq5fHRKXOMaGIr3R4lZRxCQsAaX9M/HvQ8AnaeQZ+5CfuL9QqTDsNm1blzCpRQZ+t8+ZeAht8JRFZ+EGPTtZydUvh2UQBL0LYfMWg4fFt5IAxYNp04m4wwcGruYmXkjQOvk+Pb5SUTUw6vImeTQLA0MnE+QMD5O6sr82PCwFPcz9540EtpBaDT8z4iZHKXVx/Mvrl01Ynh08jgCnfLW8AVgktg8llBP8qzwgrUX48VqBRM16wywxDcSGljPebd0CF1cNGyR7okuyDtHw8lZ3fdlRginboznjZdg== 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=kAaNJ0ln9XVjZhG93Q9HTLH5Y9U52JXER+ZsVgo/Vs0=; b=c1qzMj4Io0O/+tpOJ08AcNK6zW33duZ+TM7bXMh/uXjPqHUA52xl0J9lZUh2jmhsyfjm9btRE9Tws6q/153TY+/Z9vjEPPRFdSH3tcfRC/VeWMa1uCYlsDGyYawl68sTa6BoRHOuQDSeuvyXo3MKjK/YykyHBAYyYXgq6EwaxDtsoCXBW0xB7lQhJwSRaLcQDnsjgDz4nkUHAfG8wJvG/1/DjC9VN66NGqXlS/stVMbQvnNvIJd8oEIMxS2zYdpHl63dGbbeU6UZHNcm/DrU4oTNnKeGBnT8c+bHHzmf+mL/PMOub4Nb2djIXUtW80o/feMI/JGrNNtodAkdsXIX+A== 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=kAaNJ0ln9XVjZhG93Q9HTLH5Y9U52JXER+ZsVgo/Vs0=; b=eVRiniwIzE0M+wGx1RCt7FpmAIrsbEWd06qx3Ler716GkCRl4NropDHf89/Ad0Uz/qfgViGC/J64wM84bIz5DpsTFUR1WM7gut1F0RRP6vdb/+LjPIhndr1r6kCGOAg95Ub//byevI+mAcKALF4CsqkP2JcpUt6vzyrc66Y9TjQ= 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 AS5PR04MB9825.eurprd04.prod.outlook.com (2603:10a6:20b:672::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.27; Fri, 26 Jan 2024 07:05:00 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c499:8cef:9bb1:ced6]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c499:8cef:9bb1:ced6%3]) with mapi id 15.20.7228.022; Fri, 26 Jan 2024 07:04:59 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Subject: [PATCH v3 0/3] clocksource: imx-sysctr: support i.MX95 Date: Fri, 26 Jan 2024 15:09:17 +0800 Message-Id: <20240126-imx-sysctr-v3-0-33fe801d5f31@nxp.com> X-B4-Tracking: v=1; b=H4sIAJ1as2UC/23MQQ6DIBCF4auYWZeGDlqsq96jcUGQ1lkIhjEEY 7h7qesu/5e87wB2kRzD0BwQXSKm4GuoSwN2Nv7jBE21ASW28oadoCUL3tluUSjTP4zsO1T6DvW wRvemfGKvsfZMvIW4n3bC3/qXSSik0Ephq6WdtHFPn9erDQuMpZQvfoFemaIAAAA= To: Daniel Lezcano <daniel.lezcano@linaro.org>, Thomas Gleixner <tglx@linutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Bai Ping <ping.bai@nxp.com>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Marco Felsch <m.felsch@pengutronix.de> Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1706252968; l=1138; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=gk/Qm+J25QZpiOBaQCs1blGppZFXm/yY+X9O04PzWWI=; b=SZLBC/Q+Ol2cyTxRw7e01fhLSNjLPla9SPl5Ps1zCZPXnRiXRjW6xlJ2sF5tFBcvuGqqU7hb9 MNJ+9D4VMDHDYLHLD/z7ECai0xkgrCL2L543bJgZ/Pt+R6uerwKOAX0 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0002.apcprd04.prod.outlook.com (2603:1096:4:197::17) 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_|AS5PR04MB9825:EE_ X-MS-Office365-Filtering-Correlation-Id: 89ce91c5-213b-4636-66f8-08dc1e3d1c58 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: hz5zeitsMO0M7SYTdb3jebiT2efMMWy9OHzFkmh4eegbyIPuA6+HjhCGAqr1/iJdrSmkXQi4l9LLKpZJJJBEM/19wWBmiyqpYSPyJJ4+CvSsF/atwuWEzuwLD4mgtTP+MLptnjqQuhcg5jyMCi0aplc69AEmt+JA2evx9DE0d0aIiu9dVvddgl5qn2vO7DT4h/YZCfqH6va1ZatxuxgOyHvQ4Ve86kYEnkyplsPK+AG3f+fP8BSpFHA42aRCV3IlZdM0oz90lR10kqw/yYuZvhQtBfQ8eVuAbcj8l1A0LsJfXH6hR3sUrZfs/+vcCg09cqU6RQZYfYzVaClajFKnBEtU2mSNo2yjZP7eZM7jyC8cI2vt8azDwpZaFPgof7/j8eYPwy7XEhDy498Bo+wlJAegoTNoTmyBoT1AMd0lfkzbG/oT6aMCJUBLT5gJmulYvicWbYKk57gbDQR3+ZZb7ygqP4MVPzrOkVDNyCO7d6YzgLiI1LRgDBhLuiKqiKXKxM2M8LcjHuZtnrgp+Id7xcmQCqVewPFvsWyAddKMIQBTiFReF3Obx5Okr13gy2GB5qKs4rhgQnL9PilUzyKGiqaanf5aYraybjDjBBUsmjchiy5RRXQ1I8IDQv6LtHhc 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:(13230031)(376002)(396003)(346002)(366004)(136003)(39860400002)(230922051799003)(451199024)(186009)(64100799003)(1800799012)(83380400001)(921011)(110136005)(36756003)(86362001)(41300700001)(38350700005)(38100700002)(26005)(9686003)(6512007)(966005)(6486002)(52116002)(6506007)(2906002)(478600001)(66946007)(316002)(6666004)(66476007)(66556008)(5660300002)(8676002)(4326008)(7416002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?wa6QUN8tRVfuctvNws/FlXoOCD8F?= =?utf-8?q?EE6ktOfimOy/HvZ74lr6xQLuUhoE7htkrriSCtTxRZRtoMMiHS/LRc8IJOsoYbdym?= =?utf-8?q?l0+5/SyjtDfeN5vcsPmXvrsKLMk/Xvm/l3KHfso89oVuJHsJyr2Qz3NrnUsv50Jzr?= =?utf-8?q?2JSgi/3QdkKqEWM35C52ro4wO0q4IOfb7CTmeHwi7JK8Br0nv//x5BgOsEC+BD5Hw?= =?utf-8?q?uQKRGXU4UAQk4yZIxBMgekOm3ugOVEsT4yrZx6+1+Kfsf6TN76gNdKeBYf1wFSj1i?= =?utf-8?q?pmE2K0LuagIfWE/gtQBkBfROlaMYbHkIy9q4lQewFYiJCT29jDddvCItuFZfHVKDX?= =?utf-8?q?UbcJuE4smMtjGyXeIrtwxhnQWNJOjWpbC0TcsjkIBnUftMi0Tc1k1+dHdRIZmVfoA?= =?utf-8?q?035/tYvc3KlcQNoBdonE+3MoV0LPZmlj14y9cfYO6l4OsACDh7FPRuBypZb1nz4YA?= =?utf-8?q?niJhR4o+gKqN0rwC511ep6cypZuOOO9fRaEOwmH1Y8veem0dp+Xf2Cp7X9x0A36YM?= =?utf-8?q?vbIg2cVCFKRCO4k3ylLEeEENfHtyt4ui+cwajAvMyPoee8l7m3FCLlQr9P9w1Fiqj?= =?utf-8?q?8M0fP1ru7Aw545sxFag3+hD6cbZVF4STymWsukjvnngD3QkGQ7v8VbZkxoZOUPyDe?= =?utf-8?q?k/LV3A+XiuoR60sr6mXqsJrYBahvXJ402gZnROhAMGtjJ4l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enant-Network-Message-Id: 89ce91c5-213b-4636-66f8-08dc1e3d1c58 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2024 07:04:59.9083 (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: 9kGptGqzSzbjtkFIACJWEHVf9MqLuyEiWhJfihhZMEjlXzw/ZMC4qAq+nHQ4tu+jPKTJKbA/FqgLRse/OtkJzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9825 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240125_230522_272773_E047CF07 X-CRM114-Status: UNSURE ( 8.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
clocksource: imx-sysctr: support i.MX95
|
expand
|
On 26/01/2024 08:09, Peng Fan (OSS) wrote: > i.MX95 System Counter module control register space is blocked > by SCMI firmware, so we use Read Register space to get the counter. > > V2: > - imx95 is not compatible with the existing hardware, so add a > seperate entry for i.MX95 in dt-binding. > - Per Marco's comments, the global variables was removed except > to_sysctr. And add a new TIMER_OF_DECLARE entry for i.MX95 > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- Applied, thanks
On 21/02/2024 09:47, Daniel Lezcano wrote: > On 26/01/2024 08:09, Peng Fan (OSS) wrote: >> i.MX95 System Counter module control register space is blocked >> by SCMI firmware, so we use Read Register space to get the counter. >> >> V2: >> - imx95 is not compatible with the existing hardware, so add a >> seperate entry for i.MX95 in dt-binding. >> - Per Marco's comments, the global variables was removed except >> to_sysctr. And add a new TIMER_OF_DECLARE entry for i.MX95 >> >> Signed-off-by: Peng Fan <peng.fan@nxp.com> >> --- > > Applied, thanks Never mind, I did a confusion with another series. V4 is actually applied.
i.MX95 System Counter module control register space is blocked by SCMI firmware, so we use Read Register space to get the counter. V2: - imx95 is not compatible with the existing hardware, so add a seperate entry for i.MX95 in dt-binding. - Per Marco's comments, the global variables was removed except to_sysctr. And add a new TIMER_OF_DECLARE entry for i.MX95 Signed-off-by: Peng Fan <peng.fan@nxp.com> --- Changes in v3: - Drop items in patch 1 per Conor's comments - Link to v2: https://lore.kernel.org/r/20240125-imx-sysctr-v2-0-7332470cd7ae@nxp.com --- Peng Fan (3): dt-bindings: timer: nxp,sysctr-timer: support i.MX95 clocksource/drivers/imx-sysctr: drop use global variables clocksource/drivers/imx-sysctr: support i.MX95 .../bindings/timer/nxp,sysctr-timer.yaml | 4 +- drivers/clocksource/timer-imx-sysctr.c | 116 +++++++++++++++------ 2 files changed, 89 insertions(+), 31 deletions(-) --- base-commit: 01af33cc9894b4489fb68fa35c40e9fe85df63dc change-id: 20240125-imx-sysctr-3a89a0852376 Best regards,