From patchwork Thu Jul 11 22:40:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13731166 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013045.outbound.protection.outlook.com [52.101.67.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 889CA16D4E8; Thu, 11 Jul 2024 22:41:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.45 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720737676; cv=fail; b=KLDQKbgON2GLUTUqJgERnWFSMHbq0dky36Eo9UIZmeUeRG+mxRjjLp0XA0ZkVY9Ok04CuDx0cbs3AU1kGnh/JqAH2OIfEo18IMrdjUEu91GwE+MnCuMYyq0DOsdzZ6nP3vwkuKzFGKIjz3YRROkSewUo/Hbf1F0r5Nez+MPnKH4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720737676; c=relaxed/simple; bh=eMxiJYRzG2oeYy9cgIhgrN7YYTlnJLoU2yZ2scK5KuQ=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=PPVkZ/b/214jD/RiYhhfmDMXJjt3ku+tedjCfAl2FxKR9CwOrzde1uq3NJPgmC6dR1eUfS9obxsYlcV/9QnTPbPeNf4RslxmKjAobhkRLGrOgQV0ItRVObrndVhoJBvr5y7HV7HDWUs3e2s2Emt3XcYKOYu5V9v3gq2jxOPNFEU= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=d1KhXhOo; arc=fail smtp.client-ip=52.101.67.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="d1KhXhOo" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=elnkVKEi2jDbL9y09moV1CKDymc0hUwgvxws93JqAgb53JVdeLlv8AExURzlJqRGg6WUIsKGBC3dJn+LWMSFthFPLptHuM1jk2k3vYBIl0LnCyqWZLDfTYDfwpp4zPXIAfldSdwdXBiEzRI9wdh14zoMlEW9NHWG14fahERa8vC4Jf+8Y1Gqj+T63GhDOdV7ezoKqI+xxlzghYr22ssrv3uQtCvlSH/4hQhARbCvXYGPnnf0JkyOVQTwIh+tIgvGv5EaEnbHh6HP1DQh0x08a6rcJh1e9sGXJiP06G/+dY1z5U16gDePG2lujXCyh4eOHbBc6GKJ+wDcOEFYaorxgQ== 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=9EyW7R+NLChVjWfDOtE/FeyC1Gcydb0gO8LOLQaOwlk=; b=YktL5d9C2NJ0pOAVzPEM0Fw4kJiXdRpYzO3SDuMUDoMGL5gpYSWM5OG/sSi/Vj7dam1aX8oU1Z6bNGEwTe0L79Xpz/k0dyEdc9weqQhj6bZpfRwh5Rwvz7+EaLVnaKZKqANepdSdZbBrj96pB2J1aC4VPa19UxAaZZ8r1sP/A6XHDf8b80Qh+NqRiEesWnhdagvtrFl0W9p9V/+JVseeecKnINpW6wzLQuIUPlR6MZ61OWG8BFwWhLPzXEVIl/FKJ6EG58kqDlnxw02wesbg/EvnJs3UK1Ve38fC8FnT9Py1oheknsSx4cmHhm2xygD/rkyAeZyVMPg8bczZ0ZSt2Q== 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=9EyW7R+NLChVjWfDOtE/FeyC1Gcydb0gO8LOLQaOwlk=; b=d1KhXhOolTyPDd//vYzUDLK5+e641QM4H9PNZQMMmcDl+Lcqkq3db3SW2PZ6e4KRnyu8j+qY5VLM1Pfknturjwmf2bMO1IwwUQqpLBBF6TAngedGtFn/56Pw4H6PQwl5kiSCnwcYgPSsoMrU7ivlSH15M/Bp9M+JkzOqAzBicdc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB9519.eurprd04.prod.outlook.com (2603:10a6:102:22e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.22; Thu, 11 Jul 2024 22:41:11 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7741.033; Thu, 11 Jul 2024 22:41:11 +0000 From: Frank Li Subject: [PATCH 0/2] watchdog: imx7ulp_wdt: needn't wait 2.5 clocks after RCS is done for iMX93 Date: Thu, 11 Jul 2024 18:40:58 -0400 Message-Id: <20240711-wdt-v1-0-8955a9e05ba0@nxp.com> X-B4-Tracking: v=1; b=H4sIAHpfkGYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDc0ND3fKUEl1TM4MkizTDlDQjI0MloMqCotS0zAqwKdGxtbUAOawTkVU AAAA= To: Wim Van Sebroeck , Guenter Roeck , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-watchdog@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ye Li , Alice Guo , Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1720737667; l=1046; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=eMxiJYRzG2oeYy9cgIhgrN7YYTlnJLoU2yZ2scK5KuQ=; b=j0yB0/G/AYxUtvCPB9MbvWc6qtsC/rHr99rBYUxgOF0TDKgnGPjbAsw7/5kGGYo1ocjA0AHuJ 8coj4hRKyAKAvrT5KG/WAUzzDEGt/OUruejRxMp3Fml7h7+CmDTBq96 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR01CA0024.prod.exchangelabs.com (2603:10b6:a02:80::37) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB9519:EE_ X-MS-Office365-Filtering-Correlation-Id: c0d54385-66fc-483a-e9d6-08dca1fa9013 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|7416014|52116014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?dIMmKygf0NZzpYX0Q9bU6qrorS0ZulW?= =?utf-8?q?lBzCi+8x828BV/yieIM4+hogm58/HFgGWsSTVn04rzqavxsH9w33LE5cgoo6HJx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?utf-8?q?ySaCPdzuqYSAvYByjsKXFY21QdridoaQM+cla5B/YGyIcgu6DVaIA7YrbEHNgVqhp?= =?utf-8?q?KiDleaSaSVtkR/7/SmB/2chSMqZGiFCpXdg4xFy9JNRIk0HGmfLeQ01WGwUhDQ3+U?= =?utf-8?q?ShrkgCPZ+gYP269p7eq62iLfK/Njkas2Xp6Lp/fScNl4GetSBdoKRIsZJyGEDMCmG?= =?utf-8?q?VDirIDDkvDHKyzNd9gSVLaofGNvrOptRz/TdO17LeyXlyl95kd43vsbq6rX2XdDcr?= =?utf-8?q?zOejDseBFIf74lfht4UfH8XQ4zrmzHjgHPO1V5cUDaPLsOQcRygEzIUJwI14JpVW2?= =?utf-8?q?exb360gu5nN0HmdLcAIKvF8eek7vyG91tC8wQiJy5S1TVyhOkK+DKP04WwsRH/cx9?= =?utf-8?q?+q4GFn523SQa5d87kD9R5LSoTBhWjaU+yA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(7416014)(52116014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?kzpTL8+xq81HFe8R5MPHx1SlNN43?= =?utf-8?q?auIoA0bd+J9yqQkBeBtrPDUV9YrU4O5WSd5/yHhYYd4fp7E7OotLq1j7sX6OdPiMh?= =?utf-8?q?k/47GdG971Lym38kIyozymuHtlQbc1c36DfwYwcOrgKq7YxZPBKojedczZw1DIiVs?= =?utf-8?q?CjJJGdz8HHl9oAf1FPnsFzF7KRGn7PicCuHukbdDkIRKu4Kl1gvODSd2VZZYtJtgA?= =?utf-8?q?H6sVQv34Yl6VzVtj9Ga6hqGOLQ/XsUHyXlF+l25D4ukIlycKMxXPAKm2emDkJgB/h?= =?ut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GQsd8mtnG4p/buoOyN1YE0f0lA1NXDU28sdgTq6rjnsO43dFUHohjZbg8V72?= =?utf-8?q?fUP5AyJSSo/bkagWCm7hlcyeD8rrOtDJ/atFhMN1fbGY8MbU4vkE1hA02ek6LZELK?= =?utf-8?q?JQ9nbHZ+wq+Hys9JSCV0tGB6q1I/Pd2luWLqnj8+7odyMnjZNSq1uOF5Jk7lTGzUd?= =?utf-8?q?SENsv/xLFg1aFlBSb7vkdJAeF6A2qKDbTxT9H8ziTIjn8e6QqJgoIvJH3QyPBpp7P?= =?utf-8?q?wYzF+WPUnt2lUDP4VhuMNK1JNTBVkhf5K1pKnbyi1pn1OFxqxGXlkJcHpw6O0WGFP?= =?utf-8?q?oiTHbGrkzy+u7snS8KMLtqze/I9wkx9HSPV40S+20cRpN3Am7HzLBGvo3fscfocvZ?= =?utf-8?q?jrcNTDGmIdzm?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c0d54385-66fc-483a-e9d6-08dca1fa9013 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2024 22:41:11.1925 (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: vajexgqiy3u8K6u4gFlwCwrCYNjbgU1hc2PB7pGfovBeXMP7ZSe4ZTOds68QpAb+4Uwh2avYgg/K1NYlr6NQaQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9519 First patch for code re-organize. Second patch remove wait for 2.5 clocks. To: Wim Van Sebroeck To: Guenter Roeck To: Shawn Guo To: Sascha Hauer To: Pengutronix Kernel Team To: Fabio Estevam Cc: linux-watchdog@vger.kernel.org Cc: imx@lists.linux.dev Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: Ye Li Cc: Alice Guo Signed-off-by: Frank Li --- Alice Guo (1): watchdog: imx7ulp_wdt: needn't wait 2.5 clocks after RCS is done for iMX93 Frank Li (1): watchdog: imx7ulp_wdt: move post_rcs_wait into struct imx_wdt_hw_feature drivers/watchdog/imx7ulp_wdt.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) --- base-commit: f477dd6eede3ecedc8963478571d99ec3bf3f762 change-id: 20240711-wdt-560b8f1df221 Best regards, --- Frank Li