Message ID | 20241111112921.2411242-1-ciprianmarian.costea@oss.nxp.com |
---|---|
Headers | show
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2065.outbound.protection.outlook.com [40.107.20.65]) (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 BD5B5189BBB; Mon, 11 Nov 2024 11:29:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.65 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731324573; cv=fail; b=u7sEM+BPoz0F47boZouwiHVj2gkpHi9jlThvoaltGBrACm96T7GehannCGGLqRHofIdsEQScyG7Ge8wlWNR3PugBcIVTuWLouW5uMcRRSpI7IjDwpCc9KQ2AfWsKFmP/y4W0ujZlrcvgQH5llJGoKAS2SCOFySYCon24L5BNSq0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731324573; c=relaxed/simple; bh=bh+cvJVgVfmlDFP8ZHq4gdBT4rSgzlIn3Mj4ZyrBxKI=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=kdZEyL1bqbrJ2sfBIusc6xSxkoYK5mDtnNyuzUfjoCT1m35EdC8F3OLteUUHRElVBzYobWe63kf81Ds3WaPwsMW8guro75f8DgsuYoeVd0VxDjups1vgwdUmy0xwSCHv7T6n0QulkWoODOKRSIn0ej9UciydNpC18E6vQ6uS+V4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=RkMXZzRY; arc=fail smtp.client-ip=40.107.20.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="RkMXZzRY" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CQxYJWl/J+FNz3fBTd238XUfJiZjBQeBkSL7rRKGnXFvZNe8KPWU934i+WLuEIAAkvYxIz1x8nzTVX3O96rWkuV2h3DiqpQb2SkFAFfSpjc5TZT8+FJiWZySgYow4Vjncu9ecJe+Q9g54Bz1lIxLJknot4w4VtJcU6SZiNotxCKwrQ0kX2KSI0FfKCpHayEygMfYBdPbsrTRVPWPmElczdJY92nrI4rfKiXwEYoQS+HW/cJVJOPwNUyhLVrXNkwgeUNAaG/AHJ8Im3eFEWsvm/vRkf2/s432RCU55JRfrlfcNMUQqpLKEOLHU48FVlT4YIbrHqDDPWbVjYNG1gwR/g== 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=WdRC2spHFIotK7CFpVqjiSfl3jzqoTYsGjePdE4Ao+U=; b=C4IZFHphc08Iki+yVU23rqQRz+MxHZN9Y+eD5KC/bdfMST23pdzXBQQ1YIEPbObI6wzNaM/XM7kdNkKKfk67QT/lvwFX4tcSJuDLjQ6IED/iATZXG7WEB+N1opH6OkZcCwuV5R3blmsyFFPN44ZduwG5iqP2ulM/5zCCFe147LP5F1nC9R/Mc2jqArBJ6p2Fl8M9cRvZ1lh/66AGaR/WyWEiSxf52p8V+CmDKg3SCuSJStbNsycOzXrD+qLn/OMhUPs4G3Pex7wrDt/TSaR5KaCT1YYiCXLndHu43TCiYNWp9R4t0YKgXHoJZet+kSLEZX+b4K1o5g2Ylm7lHbyegA== 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=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WdRC2spHFIotK7CFpVqjiSfl3jzqoTYsGjePdE4Ao+U=; b=RkMXZzRYAhiLwAhXOJA8dFTwL9gI7CWLck9Z+z/0Wj3xM6xK2M4gSmNLjknyehno05uM1p71ov7ijClaQ3yXZwDFpYmMkPdzl2NZw+f3T2ptRW6q1fwv+P0e6ZYZ1TgSwjlP7wcF4PFn8apXPcNmyiUAnMivgUt2VDRQ9RF9Bs3wpPohuhnSHzN3uWivNlRho5q+LO5SrJtDnrwOWG0VKrWGfHQd3ARCuhCMmpp6QGM4z55tmDxIBkm1K2E3iePJTqueMIOZu5d+BKgofgCWKR9Pa2SKeC5/JSI4B4bEgSFjgUIrLKdsIW9ORS5xYGuDKxs0ycxpBtwBjgwuVXQk5g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) by DB9PR04MB9428.eurprd04.prod.outlook.com (2603:10a6:10:368::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.27; Mon, 11 Nov 2024 11:29:26 +0000 Received: from DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd]) by DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd%6]) with mapi id 15.20.8137.018; Mon, 11 Nov 2024 11:29:26 +0000 From: Ciprian Costea <ciprianmarian.costea@oss.nxp.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Chester Lin <chester62515@gmail.com> Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, NXP S32 Linux <s32@nxp.com>, Christophe Lizzi <clizzi@redhat.com>, Alberto Ruiz <aruizrui@redhat.com>, Enric Balletbo <eballetb@redhat.com>, Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com> Subject: [PATCH v4 0/2] add NXP LINFlexD UART clock support for S32G2/S32G3 Date: Mon, 11 Nov 2024 13:29:19 +0200 Message-ID: <20241111112921.2411242-1-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: AS4P190CA0007.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5de::6) To DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: <linux-serial.vger.kernel.org> List-Subscribe: <mailto:linux-serial+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-serial+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9251:EE_|DB9PR04MB9428:EE_ X-MS-Office365-Filtering-Correlation-Id: 910577dd-192c-4cc0-2465-08dd0244198b X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|7416014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?jCJOd+8YeDjjAr08jYSBqxLAP4qrO2c?= =?utf-8?q?xE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q?BplAmuuIk+7vK9zsxonVYjM9Vlucw17GjNkJ73uMFexesWWdUCorMBfceNIZqT0x9?= =?utf-8?q?K1PiGOjSxC/7GLtV85tYLRekjCdL6HFWu71Pp9D+VKrWFILfz9kWepy1T5xUOGr8Q?= =?utf-8?q?GtKN+p6226Un+bP6vSS66eMujm0iUIElJq7DDziTaEn7UKJNO4m6xhi3/bAV9eFz5?= =?utf-8?q?sgoJPxxofdCi8ujgY/coyQ+TyffTTjMFg6bM1WLrNWspV1ACS9OHRovuLBer8usMz?= =?utf-8?q?PRTzV/cCXAgHydk/XJSCZ9Ur99Dh9+xNX6Dz0LN4x5YX9jTRaXg6BaqtbagcMl70B?= =?utf-8?q?ceStlGgF4FUDD/9pB+BdYrB83xhg3gR2ThD0HZ0JnhVAAv8OfmClT9ZPd0tuptgYD?= =?utf-8?q?DhIlHj04vFSdb?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9251.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(7416014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?o4FaS0hdObMhrT3rEN/B9YGsd9t2?= =?utf-8?q?otzQnN6dnj7/uHwvgtGicQWZ4jDCQDvZQnj+DaNmTRGabQqs0iTRIkVKMDBjiRIfz?= =?utf-8?q?KeqbyZDXwTTMrECLItnAJ8MD4xBUBWDksBwiE+4TLkYUdjI3jpGXKmFsHF6V0jcK7?= =?utf-8?q?AWzbTRyRk8Iqk3Jp4IWUa8qPktugk9SG+hqT17Oj7UNecRC3Y0RDA7wZHyNTYysp6?= =?utf-8?q?caXr0FJdE9+CfpL7TGyAjENEnU74D5zlxU1/dAqmYX/fPL79mY4n6EhvrKZpNw7m0?= =?utf-8?q?aqpmZyLKgCp7DLopnNcdIToCe0jEb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M+Xu5Im9qSyAKfzFKZLNx08YROy/AbG5qOvsmfuXSXelvjpX8?= =?utf-8?q?i5TyvtW1ManCWifVQacPAgp7u2EHjP/G7U+niI/e8fpKluL4UHZKBjveKGT3qicIz?= =?utf-8?q?dGqNBqgeme4Mlysg5LTKD+Ea/VvdKA+bfHGQu6iKOWCa9z4Gy23zlJ7ELElMLddDm?= =?utf-8?q?qWme1ZGEFyAbW4cGTmEDrLm4Qmu6S1kf1nJ8EgJ6VgKnZT8hgJA/fKsSQ9RTiylbM?= =?utf-8?q?lVYIoLqOxnueErtGBiZ1K9J9+v3es4CxXMc1I+cDC/HQ5IRA883P9aeZvL35RCxi7?= =?utf-8?q?w18u27StYcrp5m+fb+fafHBHPuZzJkaG5j8EGA192kWx8fXau2GtaJnfRzZxY9+kI?= =?utf-8?q?LFHamV2Jv/yKZIgFGe4NmdUiQVdHzCaTDg=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 910577dd-192c-4cc0-2465-08dd0244198b X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 11:29:26.7980 (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: qw3K80pam0ceq8h7oW4kqjTpGc3Sa9t8cdpoc5vu+41gY8UbbibxvpfLlclkF5UcG1mp02LNsb3T6stOop8eKq0aoz3khLfua86nb0W7KbI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9428 |
Series |
add NXP LINFlexD UART clock support for S32G2/S32G3
|
expand
|
From: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com> LINFlexD driver was working on S32 based boards without clock management because the downstream bootloaders (TF-A [1] and U-Boot [2]) were performing the LINFlexD clock management. LINFlexD driver from Linux Kernel should manage its clocks independently and not rely on a previous bootloader configuration. [1] https://github.com/nxp-auto-linux/arm-trusted-firmware [2] https://github.com/nxp-auto-linux/u-boot Changes in V4: - Switched clock management to 'clk bulk' API usage - Added more context for this patchset Changes in V3: - Fixed an error reported by 'dt_bindings_check' Changes in V2: - Updated bindings by adding more information related to required LINFlexD clocks Ciprian Marian Costea (2): dt-bindings: serial: fsl-linflexuart: add clock definitions serial: fsl_linflexuart: add clock management .../bindings/serial/fsl,s32-linflexuart.yaml | 16 ++++ drivers/tty/serial/fsl_linflexuart.c | 82 +++++++++++++++---- 2 files changed, 84 insertions(+), 14 deletions(-)