Skip to content

Commit 698a3e3

Browse files
Harry Austenbebarino
authored andcommitted
dt-bindings: clock: xilinx: describe whether dynamic reconfig is enabled
Xilinx clocking wizard IP core's dynamic reconfiguration support is optionally enabled at build time. Add a devicetree boolean property to describe whether the hardware supports this feature or not. Since dynamic reconfiguration support was previously assumed enabled, introduce a property to indicate the inverse, in order to maintain devicetree backwards compatibility. Hence, this new xlnx,static-config property should be specified when dynamic reconfiguration support is disabled in the IP core configuration. Signed-off-by: Harry Austen <hpausten@protonmail.com> Link: https://lore.kernel.org/r/20240913191037.2690-6-hpausten@protonmail.com Acked-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 32c9262 commit 698a3e3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ properties:
3939
- const: clk_in1
4040
- const: s_axi_aclk
4141

42+
xlnx,static-config:
43+
$ref: /schemas/types.yaml#/definitions/flag
44+
description:
45+
Indicate whether the core has been configured without support for dynamic
46+
runtime reconfguration of the clocking primitive MMCM/PLL.
4247

4348
xlnx,speed-grade:
4449
$ref: /schemas/types.yaml#/definitions/uint32
@@ -70,6 +75,7 @@ examples:
7075
compatible = "xlnx,clocking-wizard";
7176
reg = <0xb0000000 0x10000>;
7277
#clock-cells = <1>;
78+
xlnx,static-config;
7379
xlnx,speed-grade = <1>;
7480
xlnx,nr-outputs = <6>;
7581
clock-names = "clk_in1", "s_axi_aclk";

0 commit comments

Comments
 (0)