mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
dt-bindings: Remove alt_ref from versal
The alt_ref is present only in Versal-net devices.
Other versal devices do not have it. So remove alt_ref
for versal.
Fixes: 352546805a ("dt-bindings: clock: Add bindings for versal clock driver")
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
Link: https://lore.kernel.org/r/20231128104348.16372-1-shubhrajyoti.datta@amd.com
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
b85ea95d08
commit
39118392d1
|
|
@ -31,11 +31,11 @@ properties:
|
||||||
clocks:
|
clocks:
|
||||||
description: List of clock specifiers which are external input
|
description: List of clock specifiers which are external input
|
||||||
clocks to the given clock controller.
|
clocks to the given clock controller.
|
||||||
minItems: 3
|
minItems: 2
|
||||||
maxItems: 8
|
maxItems: 8
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
minItems: 3
|
minItems: 2
|
||||||
maxItems: 8
|
maxItems: 8
|
||||||
|
|
||||||
required:
|
required:
|
||||||
|
|
@ -59,15 +59,34 @@ allOf:
|
||||||
clocks:
|
clocks:
|
||||||
items:
|
items:
|
||||||
- description: reference clock
|
- description: reference clock
|
||||||
- description: alternate reference clock
|
|
||||||
- description: alternate reference clock for programmable logic
|
- description: alternate reference clock for programmable logic
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
items:
|
items:
|
||||||
- const: ref
|
- const: ref
|
||||||
- const: alt_ref
|
|
||||||
- const: pl_alt_ref
|
- const: pl_alt_ref
|
||||||
|
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
enum:
|
||||||
|
- xlnx,versal-net-clk
|
||||||
|
|
||||||
|
then:
|
||||||
|
properties:
|
||||||
|
clocks:
|
||||||
|
items:
|
||||||
|
- description: reference clock
|
||||||
|
- description: alternate reference clock for programmable logic
|
||||||
|
- description: alternate reference clock
|
||||||
|
|
||||||
|
clock-names:
|
||||||
|
items:
|
||||||
|
- const: ref
|
||||||
|
- const: pl_alt_ref
|
||||||
|
- const: alt_ref
|
||||||
|
|
||||||
- if:
|
- if:
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
@ -110,8 +129,8 @@ examples:
|
||||||
versal_clk: clock-controller {
|
versal_clk: clock-controller {
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
compatible = "xlnx,versal-clk";
|
compatible = "xlnx,versal-clk";
|
||||||
clocks = <&ref>, <&alt_ref>, <&pl_alt_ref>;
|
clocks = <&ref>, <&pl_alt_ref>;
|
||||||
clock-names = "ref", "alt_ref", "pl_alt_ref";
|
clock-names = "ref", "pl_alt_ref";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -95,8 +95,8 @@ examples:
|
||||||
versal_clk: clock-controller {
|
versal_clk: clock-controller {
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
compatible = "xlnx,versal-clk";
|
compatible = "xlnx,versal-clk";
|
||||||
clocks = <&ref>, <&alt_ref>, <&pl_alt_ref>;
|
clocks = <&ref>, <&pl_alt_ref>;
|
||||||
clock-names = "ref", "alt_ref", "pl_alt_ref";
|
clock-names = "ref", "pl_alt_ref";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user