[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240108135421.684263-2-tmaimon77@gmail.com>
Date: Mon, 8 Jan 2024 15:54:14 +0200
From: Tomer Maimon <tmaimon77@...il.com>
To: <mturquette@...libre.com>, <sboyd@...nel.org>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <tali.perry1@...il.com>,
<joel@....id.au>, <venture@...gle.com>, <yuenn@...gle.com>,
<benjaminfair@...gle.com>
CC: <openbmc@...ts.ozlabs.org>, <linux-clk@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>, Tomer Maimon
<tmaimon77@...il.com>
Subject: [PATCH v22 1/8] dt-bindings: clock: npcm845: Add reference 25m clock property
The NPCM8XX clock driver uses 25Mhz external clock, therefor adding
refclk property.
Signed-off-by: Tomer Maimon <tmaimon77@...il.com>
---
.../bindings/clock/nuvoton,npcm845-clk.yaml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml b/Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml
index b901ca13cd25..0b642bfce292 100644
--- a/Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml
+++ b/Documentation/devicetree/bindings/clock/nuvoton,npcm845-clk.yaml
@@ -21,6 +21,14 @@ properties:
reg:
maxItems: 1
+ clocks:
+ items:
+ - description: 25Mhz referance clock
+
+ clock-names:
+ items:
+ - const: refclk
+
'#clock-cells':
const: 1
description:
@@ -30,12 +38,20 @@ properties:
required:
- compatible
- reg
+ - clocks
+ - clock-names
- '#clock-cells'
additionalProperties: false
examples:
- |
+ refclk: refclk-25mhz {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <25000000>;
+ };
+
ahb {
#address-cells = <2>;
#size-cells = <2>;
--
2.34.1
Powered by blists - more mailing lists