From nobody Fri Nov 22 11:28:27 2024 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2089.outbound.protection.outlook.com [40.107.20.89]) (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 6F9511AA1E5; Mon, 18 Nov 2024 15:44:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.89 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731944701; cv=fail; b=H/EHz8dUCImz1dLhGkmyZKAzD7Evn2PVtmareE45TQnLqozoLEQam2ZlCqxvUuP8xGR8zbHLsErnVEDwZcFUqdq6EHgah+jG/WlbRo9S2HLmmsC7mVtsoHOvpUapZ+KH2FljasS6P2SeTsD+yJo5YFDR84TbJQ0LUJTCHDylvX8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731944701; c=relaxed/simple; bh=gbSVMLexNNjr7WSJ01xKZ/fRYag/IlfQKqG5llfTlYc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=YQOuoOMjE6WdqUHzxGZ3jX9q5pJ25OIT4BM1fAVlt0ocqLuy0b63YaR0+2VW2qpEB2DqvSMM2yfCfLutdeik3hVsEp0GTIUDn2l9F3vmGNIV/umX446yVrXct420Rt7CSElfnwzVGtZ0iGHGnO4N5JX7c2hLh+Co77J1faC4qzY= 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=b1NRxHMv; arc=fail smtp.client-ip=40.107.20.89 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="b1NRxHMv" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nSy76EExxdBUAdPaak9jyHY0cnHibwHbQtR5lGWmWuxzrkBVPUTPd6MF7lyQkZxeFLctl2l6UrsuMjxGVe1Hv1N1gVlpKwaoDfKlu6R9dmTGIqGPBijBnvZh+uPGbkobZ3x2IsImzxHB0DwMB0Q0uKx1DRSRfnzA5oJxHBmxtVgkNMkKrURML8vax/XCZkqaJzLYh6zE0cNNLR3WaEF4lHZ1XGtTYWdzH0t+VIAIusfO+PNdU/xq0qWhCFgAn+cUulT3mLOsy5/If3CBHySKlc0XHDktS3jL23fHaCkBTiX9CYwwS+g7mwdnzhgQfvt6KAobLftrJiCdNP3IG/pDOw== 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=qFQWVCfq8bh6QP6irQZGnkCZquVGjURVDxs60ESnDzY=; b=kzqIMnCFTpU1RLc/6n4KIgxYWgyCVAWx4aMdcbFJ097AH25Xj62vOiJ4ulzjs+GBy4QltW76lMFKCwREdui5ccJlwoeh5taOhKu0iQawG3KpivRYUufyPfg72g5lHQgXpZNmrtyxPvWKuH9Z/l9WTAkLyVgG0GSPIy6YnBmOLGsenCopm4HkLkMVXJuAan2xFWrDeGd4tN89WfpDwPAWxs2X7Qj7bI8oWujHfVYBUU88eb+zIMUq3GMx0UnatInWhrxcaqGi3ZYZHXAGTOBOz8FuYOYmDE7y0IXUv+cgV1R8QAW1+cjadDBi8gdsTy84pikBhqSdN0D/jXdYTr5l2w== 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=qFQWVCfq8bh6QP6irQZGnkCZquVGjURVDxs60ESnDzY=; b=b1NRxHMvpoX84mynUc/0Co8Z/HYi98zKpMVLUtoDbviOL+oL/uNl0XKZbDwpylxedFGgsddk4Hrr7k0nqqne9tkPFHcl757BDbyYHSc8eAW3ySrJucjXc0LQZncB048lG/ZMKlW6VvRnr3Il+PY3ldUrs4d1owhPPh0HoSctmSHOXYySwVxjb17MBvlcXi1Gr9YWm4xJL3C7sg3x/LHhH+3Nj4coZwIhjLtQpAFs0XDiofzVeiCG/6la5LBmubJytsn/S2RxlotFHnRMfki4mQ4Ga4bEbheEjdtO7rWnMukBRss+Dxbe4EvVbbyU91MXDEeEKy9+/qxQ2UBdYaPwgg== 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 AM7PR04MB7175.eurprd04.prod.outlook.com (2603:10a6:20b:111::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.23; Mon, 18 Nov 2024 15:44:55 +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.8158.021; Mon, 18 Nov 2024 15:44:55 +0000 From: Ciprian Costea To: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chester Lin Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, NXP S32 Linux , Christophe Lizzi , Alberto Ruiz , Enric Balletbo , Ciprian Marian Costea , Conor Dooley Subject: [PATCH v5 1/2] dt-bindings: serial: fsl-linflexuart: add clock definitions Date: Mon, 18 Nov 2024 17:44:47 +0200 Message-ID: <20241118154449.3895692-2-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241118154449.3895692-1-ciprianmarian.costea@oss.nxp.com> References: <20241118154449.3895692-1-ciprianmarian.costea@oss.nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: AS4P190CA0001.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5de::7) To DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9251:EE_|AM7PR04MB7175:EE_ X-MS-Office365-Filtering-Correlation-Id: 622ba5ca-9991-4615-42f4-08dd07e7f2e7 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|376014|7416014|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?TUN0K0pGYmJBT2FWU0NaKzhLZzJ4VkRGZUYvNWRMa2tWZi94QmlOanhmdzE2?= =?utf-8?B?RmZRSTBNV3F1bjNqWG1UY0tpRllCZmJ0ZEMyZktwdm9aaEJXZ3BHbWtYN1Uy?= =?utf-8?B?NE12QTdyaWJ0ZUp3TVp5eElMTWl5RWpjZVZXQlBlejlnMWZxWEt5Q1BGNUFQ?= =?utf-8?B?dTFQTnBycW44SnVKSFY3a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3p5Nk03?= =?utf-8?B?RUcxN2tUODZUMVZCTno2VVpLd0FYL0FKSVFTMCthNVB3V3hkVCsyMlFmekov?= =?utf-8?B?dWJoclBZZ205b2tXTEN5cnRJcUgvMC9BZFFOUERUclBPRmQvNVlLL0lrTDJI?= =?utf-8?B?K0N5ODRTMjRrUy9zZmtXVWJNekR2N0xpSi9UN1o5R1EvQzNDYUIzYmVEelQw?= =?utf-8?B?QVk0VmxGSkthRjUvMjVBUmVEeHRRMlVnVVl3U2o3UjNyM2QzNWFWc2YwVFBz?= =?utf-8?B?YlY3VGlnVzIyNnlKQkZ3UCtTUEE4MTdZd2hEajV6Z1RtZzAzdEh4b0J4K2c4?= =?utf-8?B?QVRMZjdRUDZVc3NDUzhNWVNJeUNHS2ZrcWw0ckNlaXdQOGdGMjVJV3VXMXBi?= =?utf-8?B?ZXVjcjlJM1ovQ202N2N6TEpuSVhQalkwdW83K0lEUGZLRGV4a3RvZmNQZGVx?= =?utf-8?B?WTQzTFI1NzRiTWl2b3g2eU1KVytSL0pFcDlPeDN4M1ZOYWI5RHc2SDVaSm55?= =?utf-8?B?TFBiRVVmcFdIczBSWGhCWFdjNzZjRVMwNEFkYmVOaEJrc2hJZVlmZ1VVVDJt?= =?utf-8?B?dm5zVlFkZVQrRm50THBBeWVEMW94V1B5VXdBbFI2QjBpMG1yTEdjMWlvVWhX?= =?utf-8?B?UmFmRFhTLzNxQ3pjYUxRdXhZYXMyYUMvTDVqajFHdjVIdWhlL1NjWGZRPT0=?= 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)(376014)(7416014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bGhhYU56NGFlNTB2NWxIZDk4MUNZbEdKUz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rOFF3RlNYc1g3b0JHcnBkaVAwVS94b0J2QXM5aEtjWTl5SHZtOVZhVnZR?= =?utf-8?B?MVNPdzQ5OG1XcWl6aFZNS0tQa0JzSXpCU0U4aXdpUWhCU05jS1NZTGFjQ1pY?= =?utf-8?B?aXJlOEJORTdINFJXekd5NzhybDBUQW93SFFFNUY5azNEcy9RTnZlY1pQdGtI?= =?utf-8?B?SXNhUDQrczRtVTM0TGsvVyt0NEZrSTBydHQ2NHdkeng0cnBiMHdFbk5QWlVN?= =?utf-8?B?dk1KWS9TWmd6SGkycjQvKzkyVTNsV1RHanN1QmF5Y2JCWGdPM2V5SjNGSU5L?= =?utf-8?B?MjFsNUsrQmRtZVhyR0crRlptUUI4b3NwSzNMamIxS0xORUF5bkwwaGpCNkI4?= =?utf-8?B?NGc9PQ==?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 622ba5ca-9991-4615-42f4-08dd07e7f2e7 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2024 15:44:55.2338 (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: yRZzb5h0PiG+8iI6LCkw26qGc/TuTDeCVtidcvyCcrc1YO3xTAezA8TkO1PobsRUOKH8ErzFaIJlCNAYk6D7tIDpYOBcqCroyUyqxqo83Pc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7175 Content-Type: text/plain; charset="utf-8" From: Ciprian Marian Costea Add clock definitions for NXP LINFlexD UART bindings. The LINFlexD driver was working because the LINFlexD clocks were configured and kept enabled by the downstream bootloader (TF-A [1] and U-Boot [2]). This is not ideal since LINFlexD Linux driver 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 Signed-off-by: Ciprian Marian Costea Acked-by: Conor Dooley --- .../bindings/serial/fsl,s32-linflexuart.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.y= aml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml index 4171f524a928..ca3146d9b872 100644 --- a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml +++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml @@ -34,10 +34,24 @@ properties: interrupts: maxItems: 1 =20 + clocks: + items: + - description: + ipg clock drives the access to the LINFlexD + iomapped registers + - description: lin is the frequency of the baud clock + + clock-names: + items: + - const: ipg + - const: lin + required: - compatible - reg - interrupts + - clocks + - clock-names =20 unevaluatedProperties: false =20 @@ -47,4 +61,6 @@ examples: compatible =3D "fsl,s32v234-linflexuart"; reg =3D <0x40053000 0x1000>; interrupts =3D <0 59 4>; + clocks =3D <&clks 132>, <&clks 131>; + clock-names =3D "ipg", "lin"; }; --=20 2.45.2