From patchwork Tue Jul 2 19:16:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomer Maimon X-Patchwork-Id: 13720187 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01rlnn2063.outbound.protection.outlook.com [40.95.54.63]) (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 1EF3B2F46; Tue, 2 Jul 2024 19:17:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.95.54.63 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719947833; cv=fail; b=RPaMdED7N3EK/BEvp/4exqlgV9h5AJMeVHtBz9lTcbIM2DnqaHkfI2+K/y7mIlxJ0zT4fu5JraMSl2/nxqsRWuaKNUbxK5LVgYLw4OwlODdDr6uXxTcI/tBVxc3D0DfTXtrnUfhOGpMiArFMpo7py+34mTixyBnu+2tR2cY/lHw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719947833; c=relaxed/simple; bh=qFqGHgEyyN8yUWr0qjApPEVs20oo7ZhAYqawZjFsLxk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BMJg3wxPQXdZy2JBjOXjo3a5n4q7eY5/zSoSgzW5dkhqb0/Z08zU3uHCX2dtp5y0Jfeh8TBKYKlJBOlcp80Q370p4Hz780UHscL9uT8VrntTZisXlRSYQhB5WUUcqxIRym85Meqn5vtIRqqu9Ms0ytI2AUKgFlrSxAcGZo3mpAw= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com; spf=none smtp.mailfrom=taln60.nuvoton.co.il; dkim=pass (1024-bit key) header.d=nuvoton.onmicrosoft.com header.i=@nuvoton.onmicrosoft.com header.b=cZJQMZZs; arc=fail smtp.client-ip=40.95.54.63 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=taln60.nuvoton.co.il Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nuvoton.onmicrosoft.com header.i=@nuvoton.onmicrosoft.com header.b="cZJQMZZs" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NrKJxUSPYDGhA+qC61Nu5HXsvhxgaV+YxmnLr9d/yGCXlrl8S6YCAjIsvvYoHdSHLdPK/kMwbWwGCZx+9T8OYujTZfEL0CqtL4SSaaRlGsF/99NrnkT6wMF1K4dp37RrOm5vUypaHjAwsb4kopoI3lyJ2994CFQ40MjlccUh3rFCiqpkR/dUsgkNymhON3s4waAmnNwQ++xpL8P3lgQcElGsH1oonasXqOfScOlQ6SWevsYHOOGuiuhUMQ8up/VjjkzA2B2veClUAsrO3KIzWpYBVcpg4Zmygx5EqTcg4lPEosyervP8Pt+Kv5WhNE5TtH0QC02ybAnF5KNyLxisJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=Bsp6Fu2EwmNWI4JUeaL8+uK9d/eheOZNExD2CIqLPZk=; b=GVnt/+vgiQ6cGfIssAPc8HMb3ynRPCCI0bqpBHoESqfSMoYd3PtyNWMEm1PIW596ff/pKLpBkvOKRcVsctzbvbLpW9ZJKRQjKu5sb50PziubGWiAeoWjj9XlvZ8b91xegY0+qEacnIXltHMKHbEyBgPaACS6BRfwwOrVzdMnoOhR7g1ojqPNZcRcjo/QMc77Ji8rDlyqlTq33nYbgwAQCzX9ilzOPq1hxsMjMtZpXEsElGnaLZ0tAHAiVwqCJXNQKbXVARqhaJhMEZS6vnZ6k7APLyps5rt04KWyx6Z42uWUY/UENW7S1r5U3uoQSboe7q0bezusixksqT5VeL4RbQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none (sender ip is 211.75.126.7) smtp.rcpttodomain=baylibre.com smtp.mailfrom=taln60.nuvoton.co.il; dmarc=fail (p=none sp=quarantine pct=100) action=none header.from=gmail.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuvoton.onmicrosoft.com; s=selector2-nuvoton-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Bsp6Fu2EwmNWI4JUeaL8+uK9d/eheOZNExD2CIqLPZk=; b=cZJQMZZsrbehAYFGfXmDeO2wyqpIiu+MAfGw5heWyTlm7fmPbZC2ot/IJXh06vMecpS5Ctj2sWcpLS5SpFNy4oit/Z17fEkL/qyFRyAV/VNQRkOtluJmVULMk8D6sChmyTMp8ai6B6A+t8mpS2ENfjDgkybq3mPsnnV4h8YP6ZU= Received: from SI1PR02CA0026.apcprd02.prod.outlook.com (2603:1096:4:1f4::11) by SI6PR03MB8609.apcprd03.prod.outlook.com (2603:1096:4:24e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.32; Tue, 2 Jul 2024 19:17:02 +0000 Received: from SG1PEPF000082E7.apcprd02.prod.outlook.com (2603:1096:4:1f4:cafe::4f) by SI1PR02CA0026.outlook.office365.com (2603:1096:4:1f4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.34 via Frontend Transport; Tue, 2 Jul 2024 19:17:02 +0000 X-MS-Exchange-Authentication-Results: spf=none (sender IP is 211.75.126.7) smtp.mailfrom=taln60.nuvoton.co.il; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=gmail.com; Received-SPF: None (protection.outlook.com: taln60.nuvoton.co.il does not designate permitted sender hosts) Received: from NTHCCAS01.nuvoton.com (211.75.126.7) by SG1PEPF000082E7.mail.protection.outlook.com (10.167.240.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7741.18 via Frontend Transport; Tue, 2 Jul 2024 19:17:01 +0000 Received: from NTHCCAS01.nuvoton.com (10.1.8.28) by NTHCCAS01.nuvoton.com (10.1.8.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 3 Jul 2024 03:16:58 +0800 Received: from taln58.nuvoton.co.il (10.191.1.178) by NTHCCAS01.nuvoton.com (10.1.8.28) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Wed, 3 Jul 2024 03:16:58 +0800 Received: from taln60.nuvoton.co.il (taln60 [10.191.1.180]) by taln58.nuvoton.co.il (Postfix) with ESMTP id 6681F5F67E; Tue, 2 Jul 2024 22:16:57 +0300 (IDT) Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 648C8DC0750; Tue, 2 Jul 2024 22:16:57 +0300 (IDT) From: Tomer Maimon To: , , , , , , , , , CC: , , , , Tomer Maimon , Rob Herring Subject: [PATCH v26 1/3] dt-bindings: reset: npcm: add clock properties Date: Tue, 2 Jul 2024 22:16:48 +0300 Message-ID: <20240702191650.57364-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240702191650.57364-1-tmaimon77@gmail.com> References: <20240702191650.57364-1-tmaimon77@gmail.com> Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-NotSetDelaration: True X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG1PEPF000082E7:EE_|SI6PR03MB8609:EE_ X-MS-Office365-Filtering-Correlation-Id: 92bddf8c-14d9-4a5f-10df-08dc9acb8d19 X-MS-Exchange-SenderADCheck: 2 X-MS-Exchange-AntiSpam-Relay: 1 X-Microsoft-Antispam: BCL:0;ARA:13230040|35950700016|376014|7416014|61400799027|48200799018|82310400026|7093399012|921020|35450700002; X-Microsoft-Antispam-Message-Info: ntDNVrWBizFJX2zd5Pb+aFX53KXFzBNcMBmGcLUBcTvdHeycc/BnuOUal8JAyY5RHV6oSMGR9A3CHOyYe3950pgvsuyRMAyWrTWGHdyRnhaum7HFY5iTFhPqdoTEte8aOkAR+02gzb3TylloQ75bXA2AGIFG0SekigWS9NEWD8AFRvFo7zVKA+AYAwCZuS1YyItTIkP+Ermr3SmATdfvQ5opmALXB4uu/wRjw4erDyd/MpREB5PZQSESaIvOGlkTfQ6KSybYHipVUkyX0K0zZeeh4IkMSrVuEPdNUT+l8ytw4Jc6/qgIph5iFlsy9EWKjY3HupzdOPtZWzGoc3GfPKQRAubzDgNGY5GfWnePRTtWFq9ChKcD4oQAXwpplG0+/4IVTlvjWyAXv8ePMfSUpTDzMboLaXUrHeBXtMzf82QAUDiOndzUVGA59Gydx4cS8sy6DzqtsewAUG0VtK2+mC+cygLymzjtCLR17Rdt/SkNj2YR7aORJApZnof3BBY8vlxk0bu9QGL9UE1+ElZ2L250KZ7kZJha7hEKoEbchs0bmU9Z08hBeSEipbVI+WIw+qEPyKTAfR8J1spBTYSLJGTYKzopcppKt+mJTRoKKgMnVehfSAWeUiNB5llhNgDVm4V+nUlCN/r/o1Ozn6FszNtY125eo+GJ5h4ZGy5IZQCxqZODVQsvOyea1ko+B9KSZxsuZjHsPQ0obrWANOGHe5anmLXfOQZW+sBNs2j4Ten7Hwf8yOzsiXTBRw3pSmFYCGeHVKjsoQBeVK5ARMrmmnLn18NMmazu5A794xNCd0dqBxiZXdOjhm5E/CSUlRUpdeYF4atqzz/1j0FChYXBJ1/+lRMn1uL3Wt3kwTJjlwyTgc3ShgzKR+eE6dK2uescPBeA/6sxefcMUExQ1b8mvSmJLvNYoB/hNHFl1AkWdpKORQjpeIou7+702Vej8snJnS+MBqXbgP6EukkuORZkB0krCWh0bXyk6VEdFUpcBeA2b2rLFLd5Sz4bdzwrMqt7mXjKa39+JWJ6jziGImFRmPguLAcswTAbInNWHxKMF3vsVCgTiEdnsX76RdWHrdesCPj+ePOv7QgMPDDGAa8vRhjv7p1PTt9rR7Tjii5cRUAYGOFRbBDMhQOHfd5hjKi7dZGgMj+0GWrUAomnBC11g3iVY0zHEg/BHZ8YRqQiwmzgw2mnJtgoHuvOMlveUZkwU92HvVSv4mzSoULRjB7XfCkxU7KavscvHL5diIskkyWRykCtvd2/26d+rMrCPsRNgQc355b3siIRVw/P71rkYdEilGQYWDhRWwkm0zMMPQfsFb9iJakSzRcxAUlx+CL9Bi510Mk51Y1cHGdBwZONqLDFhuA3kJ3bxnECkoirdeFz3h6h4tQh0NE73Do7kUTMyFuEh2x3R20t0e8xRS31xXkvqY0nExppppRXnqm/aJdfyJJzDgKwPwTiqCSgZJAzox78fh/MJ6G4YWTQJ8XDONbN+wz+rDi11prtrRh4uGE= X-Forefront-Antispam-Report: CIP:211.75.126.7;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:NTHCCAS01.nuvoton.com;PTR:211-75-126-7.hinet-ip.hinet.net;CAT:NONE;SFS:(13230040)(35950700016)(376014)(7416014)(61400799027)(48200799018)(82310400026)(7093399012)(921020)(35450700002);DIR:OUT;SFP:1022; X-OriginatorOrg: nuvoton.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jul 2024 19:17:01.5099 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 92bddf8c-14d9-4a5f-10df-08dc9acb8d19 X-MS-Exchange-CrossTenant-Id: a3f24931-d403-4b4a-94f1-7d83ac638e07 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a3f24931-d403-4b4a-94f1-7d83ac638e07;Ip=[211.75.126.7];Helo=[NTHCCAS01.nuvoton.com] X-MS-Exchange-CrossTenant-AuthSource: SG1PEPF000082E7.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI6PR03MB8609 This commit adds a 25MHz reference clock and clock-cell properties to the NPCM reset document. The addition is necessitated by the integration of the NPCM8xx clock auxiliary bus device into the NPCM reset driver. The inclusion of the NPCM8xx clock properties in the reset document is crucial as the reset block also serves as a clock provider for the NPCM8xx clock. This enhancement is intended to facilitate the use of the NPCM8xx clock driver. Signed-off-by: Tomer Maimon Reviewed-by: Rob Herring --- .../bindings/reset/nuvoton,npcm750-reset.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/reset/nuvoton,npcm750-reset.yaml b/Documentation/devicetree/bindings/reset/nuvoton,npcm750-reset.yaml index d82e65e37cc0..72523f1bbc18 100644 --- a/Documentation/devicetree/bindings/reset/nuvoton,npcm750-reset.yaml +++ b/Documentation/devicetree/bindings/reset/nuvoton,npcm750-reset.yaml @@ -21,6 +21,13 @@ properties: '#reset-cells': const: 2 + '#clock-cells': + const: 1 + + clocks: + items: + - description: specify external 25MHz reference clock. + nuvoton,sysgcr: $ref: /schemas/types.yaml#/definitions/phandle description: a phandle to access GCR registers. @@ -39,6 +46,17 @@ required: - '#reset-cells' - nuvoton,sysgcr +if: + properties: + compatible: + contains: + enum: + - nuvoton,npcm845-reset +then: + required: + - '#clock-cells' + - clocks + additionalProperties: false examples: