[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240928083804.1073942-2-dario.binacchi@amarulasolutions.com>
Date: Sat, 28 Sep 2024 10:37:49 +0200
From: Dario Binacchi <dario.binacchi@...rulasolutions.com>
To: linux-kernel@...r.kernel.org
Cc: linux-amarula@...rulasolutions.com,
Dario Binacchi <dario.binacchi@...rulasolutions.com>,
Conor Dooley <conor+dt@...nel.org>,
Fabio Estevam <festevam@...il.com>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Michael Turquette <mturquette@...libre.com>,
Peng Fan <peng.fan@....com>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Rob Herring <robh@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Shawn Guo <shawnguo@...nel.org>,
Stephen Boyd <sboyd@...nel.org>,
devicetree@...r.kernel.org,
imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org,
linux-clk@...r.kernel.org
Subject: [PATCH 1/6] dt-bindings: clock: imx8m-anatop: support spread spectrum clocking
The patch adds the DT bindings for enabling and tuning spread spectrum
clocking generation.
Signed-off-by: Dario Binacchi <dario.binacchi@...rulasolutions.com>
---
.../bindings/clock/fsl,imx8m-anatop.yaml | 41 +++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/fsl,imx8m-anatop.yaml b/Documentation/devicetree/bindings/clock/fsl,imx8m-anatop.yaml
index bbd22e95b319..c91eb4229ed3 100644
--- a/Documentation/devicetree/bindings/clock/fsl,imx8m-anatop.yaml
+++ b/Documentation/devicetree/bindings/clock/fsl,imx8m-anatop.yaml
@@ -32,6 +32,47 @@ properties:
'#clock-cells':
const: 1
+if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - fsl,imx8mm-anatop
+
+then:
+ properties:
+ fsl,ssc-clocks:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ description:
+ The phandles to the PLLs with spread spectrum clock generation
+ hardware capability.
+ maxItems: 4
+
+ fsl,ssc-modfreq-hz:
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ description:
+ The values of modulation frequency (Hz unit) of spread spectrum
+ clocking for each PLL.
+ maxItems: 4
+
+ fsl,ssc-modrate-percent:
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ description:
+ The percentage values of modulation rate of spread spectrum
+ clocking for each PLL.
+ maxItems: 4
+
+ fsl,ssc-modmethod:
+ $ref: /schemas/types.yaml#/definitions/string-array
+ description:
+ The modulation techniques of spread spectrum clocking for
+ each PLL.
+ oneOf:
+ - enum:
+ - down-spread
+ - up-spread
+ - center-spread
+ maxItems: 4
required:
- compatible
--
2.43.0
Powered by blists - more mailing lists