From nobody Wed Nov 27 05:47:13 2024 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2076.outbound.protection.outlook.com [40.107.20.76]) (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 497201AA797; Mon, 14 Oct 2024 14:45:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.76 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728917114; cv=fail; b=Oe5SHvLTXoBt108JHFj8gy1IjbEptFFKQX464gq0YPMBc/I2yr2c8qzqssH2hkJ4YH3vILhGLsCvRfy3HRhU+rE98pkFe3bxWdRbLBuIfaYi5ZbNT8KnDKfU/OeOU1rP9yc/+LFjfiHMhbzxlLoVsbInKWx0rrOkJWUtc3tMYc8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728917114; c=relaxed/simple; bh=4w6PO35DMimRhNwszjrRtDMyeUDniXGpwxZ9q7hny78=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=crtLJIKpbr4j0qLqx3MaT41fcnqqFYTdh1fCFK9yTFJoavrgKAw1mGhITcV9fMvTCuRx3ooGOwiqKG+ZDcy8G0bxEUpAkY9ib9zIJ7lPTMriBAVD+XH+0fh3/wAeph7hFPDeIXIQrLpoWm8GlJESdDR3k34N0WKeKVAFHV0FI88= 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=cqrj8XKn; arc=fail smtp.client-ip=40.107.20.76 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="cqrj8XKn" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nJ+M20FWtRdyyiVC1PGe1IziunG5xTueWgAoMHMz9eyjoIGy1B3WpwfvyjAdMIv4yi96vh3Ikt/ZffTMC10QmCp8Ci+DHWx7zpRjeikT1arBu4Oc/zFb1Shw1gB849ArNbNx0yvZuBBrXmGE/2pjmS69gBFjzbCxZZ0txK+0Gxt7JgJe5xIS8sMpN1YAZkJADhKRlo4TjZBNyNtfm04a11U9Oatlhnzl+gWWqvDGWomb+NE5T/WLj7qog+uYceWFIBwz2GmNplizuiHjUJpXyazAeVbnM/F6PRu9qsci+aRojAusYgFkvmdnytnfkTxxz+j9v3HTvzK4lL+/JgaFjg== 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=89Wqi+Wi58q90XXcq7RFwUL8NRFn2moNyrqZl9vyiL8=; b=aBvA8VyC3Dd8Lk9WPftr/qXZXy/1ahw8HY2TpJOxgpZ/JMT4EW5uNYWDC9X4AXwZ2HQJhRvZwFJZ56i3l9d5A7pltE3szrEYDDXHEw8M5VOq/1CnrGnewd2nLIR4AfERYzqEkYhRXoT43WoEXP3YuHShisGz9xCjWE4CYS+PGeErmo9GHtS/oa+Cxtik/lhVDWU8RIreOEm38QLWzYmq6cLYbM90gc3UQ+zKitVrJtyMbtdXJjXrTCAynGD4ZmZEf0lfh7yq+RJuZ4F4TR5C2ALDQBL96rTq32h9Nh8dInmWLyyxF6eWkGQMSLUjnmwd7IY4n2W4UqMVtjj9qLUxww== 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=89Wqi+Wi58q90XXcq7RFwUL8NRFn2moNyrqZl9vyiL8=; b=cqrj8XKnjHNjqPJ3Wp3zsnNPddolqV/K7vkUk6gVgcrm8RQm3zsbg/2XCoDc2R5xRqVIjU1H8qK2/8mW5p4qskur6S4i8ldOhyOVr4rBJPABPjhtCRGQe47kzgKzAHOO1ScYroOqln5v1uqL3Un7f8b5WXTp7O2OdbjPLCFe6RlZLqmr3SOf5PzQhQnXI3O/XU58OV4K/M7iCHHr0sphVmUdaZYJkzT0J28ehbyH4h8uibzLdLbsmGfvrKhfPQ12zrY/UUObyX9v6bh2noDxSMkyCHOOG+cKWt9dFDLGQfH82300n9Yj2nLKbuQe5WQX7oD8HanA204Z1walmIuT7g== 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 GV1PR04MB10275.eurprd04.prod.outlook.com (2603:10a6:150:1ad::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.26; Mon, 14 Oct 2024 14:45:07 +0000 Received: from DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd]) by DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd%5]) with mapi id 15.20.8048.020; Mon, 14 Oct 2024 14:45:07 +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, NXP S32 Linux Team , Christophe Lizzi , Alberto Ruiz , Enric Balletbo , Ciprian Marian Costea Subject: [PATCH v2 1/2] dt-bindings: linflexuart: add clock definitions Date: Mon, 14 Oct 2024 17:45:00 +0300 Message-ID: <20241014144501.388050-2-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241014144501.388050-1-ciprianmarian.costea@oss.nxp.com> References: <20241014144501.388050-1-ciprianmarian.costea@oss.nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: AS4P250CA0006.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:5df::8) 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_|GV1PR04MB10275:EE_ X-MS-Office365-Filtering-Correlation-Id: 0900ea63-a87f-409d-be32-08dcec5ecc27 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?MDF3a2FOay9tbTVtMXp1MTJ2SlFuVVFwNnEwN0dxRzE2N1lnVCtER0EzZzFC?= =?utf-8?B?cDJkT2ZVN0VlcFVhdU9NVVUreWwwSDg5WklXWEJDeCt0eHJlMXdQWnFYNDU5?= =?utf-8?B?SERsS05Kc2VpODh1Y3cvS0tjSURhMlI5MnU3Ykp6TUJCNllaLzI1MVhnbjlQ?= =?utf-8?B?VjVOa1ROdEtwTFNiTy85bXdHOGJTMnBwclR6eTEycDYyZXA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0JkbEVxc1hzRHdmREZseGZCZWdkaWhPQi8vQ1IvdTRJSmlxcXY5WmU4?= =?utf-8?B?aHRRUjhYTDY2TURzZWx2QjFJOHZUZjFVQ0RwZEh4K2dJR1VnRzhObW8wRFFw?= =?utf-8?B?Wi85dnRsWHRGSHp4Ry9ZMm9VWUZ2LytHemx0S2loU3pMRU1qVkxET0xNVEcr?= =?utf-8?B?QUl1QzBjK1R1L3UweUR0WlZ2Zkd6OEVVT0NubGJING1QYWhLUEpRN2FRY29M?= =?utf-8?B?YTYyaW5WczRWTGtiSnpES1ludUd3aW9PUUVyelY0V2owLzNtSjVkZ29WK0Rq?= =?utf-8?B?ajJXcElDWTdCSTY3VFZsaHc2eTJLaVF0VktGUDhuOXBFc0x4MjNENytvbFh5?= =?utf-8?B?Qklta0dsZzFwczZhR2dlejJLUFd6ZDVYQmJrZVBxOHN5QVk2TjdLTmlpVzFC?= =?utf-8?B?STZFMVRZYjdFZUZmeStGZVFLTHNjUDVHTEpyRVdSaU56VG9nNEw0ZmhNMVEw?= =?utf-8?B?OFhZRGZQdzUrcjFKNkVVUXNxZEpxb29Gbll0a2pVYWFjbTJDUWVaNXJCRENV?= =?utf-8?B?U05tUWJ3V0xxZ3N0OTYyV1dBYzM3S3FVZ1dXaXJCdGFzOVdxZjU2dkp2Uk9Y?= =?utf-8?B?Tk1ER1JtMWdoR2JybEN2MCtHTW9GbWMzdkEyZjl1VStTaHl5d1l2YlF3PT0=?= 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?dzlQU0I2dzd6NU93YUNZYkRoM1FVcjIydXBybWU5bEMweHFGQWFUQTFqZTFx?=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zRGwzTU5NbmZ0Rk5OWkdvVTVyYUNr?= =?utf-8?B?aUQ2TjB2QVVLUEpEcENUOTM1c0JMSFRBdVJiNURkcW1pa3FPbUV0ZHpPR2pm?= =?utf-8?B?QndQa2FmclE1TmdUY3pNdnB5L2FJVkx5R3RkL2UzNG84WWZJTnVYKy9JQUNY?= =?utf-8?B?RTBqMmx3WkE5cnVCbHdnTmQ1YS9semdkWVhERU9FUWRHbm1yQzZBbXg5Z2pC?= =?utf-8?B?K0pkVmRNc0wwYWZvL0pBSEsvekphQW11clpNbm1JcDRDeE1ncFBYbjRRL0po?= =?utf-8?B?ZWNKL3F3OWNVSDkyblVlK0NiOGdXaDRnVWk2OW90QTBORlJSMDRSVDhTYUNs?= =?utf-8?B?c3c9PQ==?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0900ea63-a87f-409d-be32-08dcec5ecc27 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2024 14:45:07.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: n4gBidIWAYFu2uvZ54/TVVDia6p8DFX+eUomjOKJRC4ToK3Qt8KJ1zKUABexaAm4Z6IHlQUqEVNjxC0OYRhTDg7CJWas9McHwWCwhdNUO/g= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10275 Content-Type: text/plain; charset="utf-8" From: Ciprian Marian Costea Add clock definitions for NXP LINFlexD UART bindings and update the binding examples with S32G2 node. Signed-off-by: Ciprian Marian Costea --- .../bindings/serial/fsl,s32-linflexuart.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.y= aml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml index 4171f524a928..7b2ba14297f9 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 @@ -48,3 +62,16 @@ examples: reg =3D <0x40053000 0x1000>; interrupts =3D <0 59 4>; }; + + - | + #include + #include + + serial@401c8000 { + compatible =3D "nxp,s32g2-linflexuart", + "fsl,s32v234-linflexuart"; + reg =3D <0x401c8000 0x3000>; + interrupts =3D ; + clocks =3D <&clks 13>, <&clks 14>; + clock-names =3D "ipg", "lin"; + }; --=20 2.45.2