From nobody Sun Nov 24 08:00:41 2024 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2073.outbound.protection.outlook.com [40.107.20.73]) (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 195BA20ADC8; Thu, 7 Nov 2024 11:46:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.73 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730979986; cv=fail; b=OJGmijnFq65sesjx2RYiea2iWU1LM09WFgnqATGfrUoW95fTls1cgMIJMhY/k6GpgdOSUwVhBasWNP95IAbwK+xY5DgKFwYe8RTIbG+1ITj6jgiexm2i9qtrMUmhAkN3NEjEVJrGR0BSi7B1VnDWuTWP2RvnFjaCaQBvvLjwWoo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730979986; c=relaxed/simple; bh=qlbiEqkLCwITcySrvE+0Rg/6vCX5fsz8SwhMLZjMxlE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=AAnfFBVd/703JK9cuznbpbiElok3IcFADZgBeu32XOkf2Nv6HTSr8tcZ8ORPIvwB/GO52JrvuKln8ZBcOk8VcMW9quMqYWVenRRnV4iUjxHBIGc8WzqglNbILpuhuuAK59XSpBxN/sS0vDq0kCoA5iKXTNExh1nIQQd+AhAeGms= 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=YdyeDxW5; arc=fail smtp.client-ip=40.107.20.73 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="YdyeDxW5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=K3ciTkNVdzO6TX7CtsHR4kE+g+9MmYsi5/BWlKzwy93yQFeWRGUHAkWHquAB9D4FhlBej4jMH8KTjqIkXRk4jBJ4zhw61xKwpFOViesqAUoYlSlLb5IIQdMBmb87PtD1/jiPc1B35hwWttfpSn6W1i6My62wu96RimZ1ygj33Yb0k6myL7pnkJwZSsGuehuRoYpdB/dKePU96Z3P/d13b9b0KwxfHXQpx+UWEiovkqdkvy3Me/xB/2o8YttdQZHxofdlOpS1OTU11GFnXynig30WwnkVAB7lmO60ngVmzI0Tl3NTFrstF9oxlkBwWKDaw66O+oIENaf4mLiSDsRWFQ== 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=yr1y9s3NxgYDBvfbMlqSm2pPtBHvj61Qk9HTt1Oy440=; b=bbtulcj5+obYX8FfZjek8ThcjwMk9ibAMdtAJwDhFaBDPFPxe7Czvn9Cfpm0vUglCR+HVdpNQqMUu3VDptrsOzwDzQTgZA1gGyhhynkacCc72VDnXNvcF6tqJPzsOoiK5Ruw00lP8CXVq1wJdCrercPWIC9ZA2ZiIfKQut/enbe+V4uGGGEZalq1Lbvg/RbssK5RNY18HtDEET9TFhwTcCJJvAD46fOGy6tg9Y6b1+BzIZ9P4SJ1msakjV/UyFt4Cq2j1rW1aWEb09zp8XrytWZtEZFqApg2Di2UqgRVHtZK4WLoP3qNEuy6OHlGdOvyXOtjqscrePmIjADl9/I52A== 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=yr1y9s3NxgYDBvfbMlqSm2pPtBHvj61Qk9HTt1Oy440=; b=YdyeDxW5DGenyUp9dLFU+HBRs0iIhJEuNRayNYPCoWHLU7PZCbzYPPRcJT1XAlPrmlBBsZFRMRWQHu8unRocMdrCjHhlFUbTcXHnc6gHDa9WyIZsHRwtVGi+gzlYlhKlk/YlcZV8gXNd8hX3IZ1hHnTgSnyaexoH20fKNAPmiD1WFT1plUGazt0hLT9h2XPv76zjQqczMtFhG+EsgF/htheYO2xvXlo8+4L82zj0yGnB02zo5suF2cRSIMqjAp3VWMHKRrgDECB9sulaevFVTWYBdt7zx6g+ADvewib3iSOSW1AzUfuR+2heSzuVNEDUgYyfibiTtchOJa2+dzpk/A== 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 AM9PR04MB8762.eurprd04.prod.outlook.com (2603:10a6:20b:409::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.19; Thu, 7 Nov 2024 11:46:18 +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; Thu, 7 Nov 2024 11:46:18 +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 , imx@lists.linux.dev, Christophe Lizzi , Alberto Ruiz , Enric Balletbo , Ciprian Marian Costea Subject: [PATCH v3 1/2] dt-bindings: linflexuart: add clock definitions Date: Thu, 7 Nov 2024 13:46:10 +0200 Message-ID: <20241107114611.758433-2-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241107114611.758433-1-ciprianmarian.costea@oss.nxp.com> References: <20241107114611.758433-1-ciprianmarian.costea@oss.nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: AM0PR04CA0117.eurprd04.prod.outlook.com (2603:10a6:208:55::22) 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_|AM9PR04MB8762:EE_ X-MS-Office365-Filtering-Correlation-Id: 5a161659-81ba-40fd-999d-08dcff21caf7 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|7416014|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?VytEQWZBbXBtOWk4L1VlTUZpNEZkN0Q1YWhzWjFsdldYbzZjRHZoYXJzY3R3?= =?utf-8?B?MThsNWwwWEFLeGp3bUU1eWhjdkxNMEkvQ2NvenErN1BRWnJqZjVNVFRITm9H?= =?utf-8?B?dVBZeDVpTndFQXQvT1JERDY4N1h4OWRtblkxS3ZxcFdtVS8vb2hkM2JBYjRD?= =?utf-8?B?M0l6aEVSUzFiZ01PUFVsbFVCbTA3anZFendqcmV2ZThTUEE4RHdGZ0pQVS9k?= =?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2oy?= =?utf-8?B?QXQ1WlljdEliM25vVGhPc1EvdElHeHdOQ1dRZGk5bXhmTER1djhHU0R2aWNX?= =?utf-8?B?K0tCeDJwSU1PSkswZlgxY1IwSjlXdTJuUjhrVVBaQ0pwKzVuTWFpMnV1U2tP?= =?utf-8?B?a1YzNHJGMkZJNzdJekJZeXlob1hwcWpQN3kvQTF6NUJjOVJNenExK1c3aU5m?= =?utf-8?B?djVvQW1kZjRCVVhWc0JCUlJCbXZndjRjQW9maHEwY0lzR1BLR3RYME8yRDZL?= =?utf-8?B?NGtETlpJcnJiaWh4RFBoVDlHMkxvaVFpRU5vRHZDMXJ0MGJFR1dsbUNPSmRY?= =?utf-8?B?QVhjUy9rWmh4cnF6UXcwL3Y3bVFuNGZFdTRibHBORjRCRmhhNjROOXM0Mndv?= =?utf-8?B?aW1ldGJGT1NYdWFVZ2tUS010ODI3WnEwR3pHNHZqQWZlUjlJUzlvK1lpQmdF?= =?utf-8?B?MFZsaVkxdXo2UHdUamN2b3g5bFJOYk8weFFVM1RrUVlNMkp2WHVKNTh0Rlhr?= =?utf-8?B?YTFLdFhZQ0hEQWVPSzRtUUFCa2w5M2pzNG5LYXAzVmoxUUFHcDJEcFpJVENv?= =?utf-8?B?V2pLWkI4NE1VeGI3UzNOSUE4aHNWVENwL3I1SWk4djByRGZjQXdUSDU0aEN1?= =?utf-8?Q?m+tn1EnhZ3fPiLHxJoNAnNACtnY1RW6deB35kPg?= 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)(7416014)(1800799024)(366016)(376014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cDdUdUl2a0hQZTFIYjNpRGdmUUdOTXV4VDc3K2dvUjc4TnBHM3dzRk5pWEU0?= =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jQzRJc1NaZ2RPY1FRcEhaK2lxdWxmc3J1VW04RTBY?= =?utf-8?B?OXY4NkpyVmNSSk9yMzkzbGtHLzFkVi8yalVGUnpoQlFYR0xlRHZ1Si9pdWtv?= =?utf-8?B?TFFrVWJmUi95WmJiWmNmaHVLUFl4YkdLb3k1elNTZEFSZmw1YUhNWFlpa2dp?= =?utf-8?B?K29EVUt0b3owNU0zd0tUU2pWdE9hanExWlhtNmFneE9uSFlYSWg4d0JvVEVT?= =?utf-8?B?ZkFGTzFEYWEyNi9keUF3UWIxWE5QT21LZkltSkRINGh0cXlDc3J3cm10d0t1?= =?utf-8?B?ZnA5RlFPZElmWHhhL2pPbnhneDhGcjJXZDFjQ0tyUVI1M2RrVmJIbVJHeWtQ?= =?utf-8?B?Z0E9PQ==?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5a161659-81ba-40fd-999d-08dcff21caf7 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2024 11:46:18.6612 (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: 1KOpZ5E6ri3AWC9w9/+Lhfn5x38XZ4Y4IuiI+tUj0Fb9tYahRbJ2i5VMc6+go1Fc3C5XVsI/t8WrLfBNlomhIUjuGpUzqIPHDQ7jWAoyqtg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8762 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 | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.y= aml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml index 4171f524a928..2716a9cd6c22 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,19 @@ 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"; + }; + + - | + #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