From patchwork Mon Oct 14 14:45:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Costea X-Patchwork-Id: 835359 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> 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-serial@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?q?01wkaNk/mm5m1zu12vJQnUQp6q07GqG?= =?utf-8?q?167YgT+DGA3g1Bp2dOfU7EepUauOMUU+yl0H89ZIWXBCx+txre1wPZqX459HDlKNJ?= =?utf-8?q?sei88ucw/KKcIDa2R92u7bJzMBB6YZ/251Xgn9PV5NkTNtKpLSbO/9mwG8bS2pprT?= =?utf-8?q?zy12p62ep9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Ggez2KPWzd5XBbkePq8syAY6N7KNiiW1BI6E1TYb7EeF?= =?utf-8?q?fy+FeQKLscP5GLJrEWRiNzTog4L4fhM1Q08XYDfPw5+r1J6EUQsqdJqooFnYtkjUa?= =?utf-8?q?acm2CQeZ5rBDCUSNmQbwWLqgst962WWAc37KqUgWWirBtas9Wqf56vJvROXNMDGRm?= =?utf-8?q?1ghGbrlCv0+GMoFmc3vA2f9uU+ShyywYvbQw=3D=3D?= 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?q?w9PSB6w7z5OwaCYbDh3QUr22uprm?= =?utf-8?q?e9lC0xqFAaTA1je1q1JXfokAg5Vu3UPGs7O6UK05prxoUYYyJ/MSu3442fOSLy5jl?= =?utf-8?q?n+sm/9KJQcfrGk0O0iXcNreOm09RWQDvjE8Uy4/xKy90HlyGY6bVkfxgCy4qE3qJs?= =?utf-8?q?cVynlMwoBMgTshdtXpeH+TfEqmDVbWbAStzYsjLwzegK7+s9bMdk/oAv2N62+iN1l?= =?utf-8?q?kMWDUcuYXLU31oErjYVM1mk/eEIoTc2FEpaDhfv30+YzYWU+3XqR8f76tBwzDPpkp?= =?utf-8?q?XM6vn5yolUftLD310VtPnM75yto7is03PNQ7haagTYlgtyIC1uTUTVmQ4Ia0xR6E1?= =?utf-8?q?GME6lMo3hWA26fc+njc1IzfwnoaVh1h7GUiwW2An4mJy1ysk4daUKuewazTXp1ulA?= =?utf-8?q?MVVTDSgb6KylzvHNMqZwGWPV2R2uAqXJ55roBh9OAN96Pj6hkAMQBc19dRY8LRSip?= =?utf-8?q?sz3agU0rBFd6B4r7mbqfvGZhrDivltoGJP6H/l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zOGjfBwPkafrQ5NgTczMvpy?= =?utf-8?q?/aIVLyGtd/e34o8YfINuX+/IACXE0j2lwZA9ruBlwgNd5a/lzgdYXDEOEQdGnmrC6?= =?utf-8?q?Amx9gjB+JdVdMsL0afo/JAHK/zJaAmurZMnmIp4CxMgpPXn4Q/JhecJ/qw9cUH92n?= =?utf-8?q?Ue+Cb8gWh4gUi69otA0NFRR04RT8SaClsw=3D=3D?= 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 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.yaml 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 + 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 unevaluatedProperties: false @@ -48,3 +62,16 @@ examples: reg = <0x40053000 0x1000>; interrupts = <0 59 4>; }; + + - | + #include + #include + + serial@401c8000 { + compatible = "nxp,s32g2-linflexuart", + "fsl,s32v234-linflexuart"; + reg = <0x401c8000 0x3000>; + interrupts = ; + clocks = <&clks 13>, <&clks 14>; + clock-names = "ipg", "lin"; + };