On Wed, 27 May 2020 01:20:53 +0300, Serge Semin wrote: > Baikal-T1 Clocks Control Unit is responsible for transformation of a > signal coming from an external oscillator into clocks of various > frequencies to propagate them then to the corresponding clocks > consumers (either individual IP-blocks or clock domains). In order > to create a set of high-frequency clocks the external signal is > firstly handled by the embedded into CCU PLLs. So the corresponding > dts-node is just a normal clock-provider node with standard set of > properties. Note as being part of the Baikal-T1 System Controller its > DT node is supposed to be a child the system controller node. > > Signed-off-by: Serge Semin <Sergey.Semin@xxxxxxxxxxxxxxxxxxxx> > Cc: Alexey Malahov <Alexey.Malahov@xxxxxxxxxxxxxxxxxxxx> > Cc: Arnd Bergmann <arnd@xxxxxxxx> > Cc: linux-mips@xxxxxxxxxxxxxxx > > --- > > Changelog v2: > - Rearrange the SoBs. > - Discard comments in the bindings file header. > - Add dual GPL/BSD license. > - Add spaces around the ASCII-graphics in the binding description. > - Remove reference to Documentation/devicetree/bindings/clock/clock-bindings.txt > file. > - Discard redundant object check against "/schemas/clock/clock.yaml#" schema. > - Discard redundant descriptions of the "#clock-cells" property. > - Remove "reg" property since from now the clock DT node is supposed to be > a child of the syscon-compatible system controller node. > - Remove "clock-output-names" property support. > - Replace "additionalProperties: false" with "unevaluatedProperties: false". > - Lowercase the nodes name in the examples. > - Use "clock-controller" node name suffix in the examples. > - Remove unnecessary comments in the clocks dt-bindings header file. > > Changelog v3: > - Get the reg property back even though the driver is using the parental > syscon regmap. > - The DT schema will live separately from the system controller, but the > corresponding sub-node of the later DT schema will $ref this one. > --- > .../bindings/clock/baikal,bt1-ccu-pll.yaml | 131 ++++++++++++++++++ > include/dt-bindings/clock/bt1-ccu.h | 16 +++ > 2 files changed, 147 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml > create mode 100644 include/dt-bindings/clock/bt1-ccu.h > Reviewed-by: Rob Herring <robh@xxxxxxxxxx>