Message ID | 20230330091309.16215-2-shubhrajyoti.datta@amd.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
Series | clk: zynqmp: Add versal-net compatible string | expand |
On 30/03/2023 11:13, Shubhrajyoti Datta wrote: > From: Jay Buddhabhatti <jay.buddhabhatti@xilinx.com> > > Add dt-binding documentation for Versal NET platforms. > > Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@xilinx.com> > Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com> > --- > > .../devicetree/bindings/clock/xlnx,versal-clk.yaml | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml b/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml > index 4bbf96484b56..ee1924acebaf 100644 > --- a/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml > +++ b/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml > @@ -20,7 +20,12 @@ select: false > > properties: > compatible: > - const: xlnx,versal-clk > + oneOf: Just enum. Your descriptions are not saying anything more than compatible is. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml b/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml index 4bbf96484b56..ee1924acebaf 100644 --- a/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml +++ b/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml @@ -20,7 +20,12 @@ select: false properties: compatible: - const: xlnx,versal-clk + oneOf: + - description: For implementations complying for Versal. + const: xlnx,versal-clk + + - description: For implementations complying for Versal NET. + const: xlnx,versal-net-clk "#clock-cells": const: 1