Message ID | 20220524122050.48553-1-srinivas.neeli@xilinx.com |
---|---|
State | Changes Requested, archived |
Headers | show |
Series | [V4,1/2] dt-bindings: rtc: zynqmp: Add clock information | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/patch-applied | success | |
robh/dtbs-check | warning | build log |
robh/dt-meta-schema | success |
On 24/05/2022 14:20, Srinivas Neeli wrote: > Added clock information and deprecated calibration support. > > Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com> > --- > Changes in V4: > - Deprecated calibrtion support > Changes in V3: > - New patch > --- > .../devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > index bdb72d3ddf2a..de617707854e 100644 > --- a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > +++ b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > @@ -23,6 +23,14 @@ properties: > reg: > maxItems: 1 > > + clocks: > + items: > + - description: rtc_clk is the operating frequency of crystal. > + > + clock-names: > + items: > + - const: "rtc_clk" No quotes, no "clk" suffix. Actually entire entry is not needed, so just "clocks" is enough. > + > interrupts: > minItems: 2 > > @@ -39,6 +47,7 @@ properties: > minimum: 0x1 > maximum: 0x1FFFFF > default: 0x198233 > + deprecated: true > > required: > - compatible > @@ -61,5 +70,7 @@ examples: > interrupts = <0 26 4>, <0 27 4>; > interrupt-names = "alarm", "sec"; > calibration = <0x198233>; > + clock-names = "rtc_clk"; > + clocks = <&rtc_clk>; > }; > }; Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml index bdb72d3ddf2a..de617707854e 100644 --- a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml @@ -23,6 +23,14 @@ properties: reg: maxItems: 1 + clocks: + items: + - description: rtc_clk is the operating frequency of crystal. + + clock-names: + items: + - const: "rtc_clk" + interrupts: minItems: 2 @@ -39,6 +47,7 @@ properties: minimum: 0x1 maximum: 0x1FFFFF default: 0x198233 + deprecated: true required: - compatible @@ -61,5 +70,7 @@ examples: interrupts = <0 26 4>, <0 27 4>; interrupt-names = "alarm", "sec"; calibration = <0x198233>; + clock-names = "rtc_clk"; + clocks = <&rtc_clk>; }; };
Added clock information and deprecated calibration support. Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com> --- Changes in V4: - Deprecated calibrtion support Changes in V3: - New patch --- .../devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+)