dt-bindings: arm: msm: Rework kpss-gcc driver Documentation to yaml
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 16 Jan 2023 20:47:47 +0000 (21:47 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 15 Mar 2023 23:40:49 +0000 (16:40 -0700)
commitafd7b4d68054faef065f9526d41a1f54b58218f0
tree600f772c6db92220c9d7e788f759a23874defc67
parent4260ddfb649666b0da02ff9fe5d37664e447b92a
dt-bindings: arm: msm: Rework kpss-gcc driver Documentation to yaml

Rework kpss-gcc driver Documentation to yaml Documentation and move it
to clock as it's a clock-controller.
The current kpss-gcc Documentation have major problems and can't be
converted directly. Introduce various changes to the original
Documentation.

Add #clock-cells additional binding as this clock outputs a static clk
named acpu_l2_aux with supported compatible.
Only some compatible require and outputs a clock, for the others, set
only the reg as a required binding to correctly export the kpss-gcc
registers. As the reg is shared also add the required syscon compatible.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230116204751.23045-4-ansuelsmth@gmail.com
Documentation/devicetree/bindings/arm/msm/qcom,kpss-gcc.txt [deleted file]
Documentation/devicetree/bindings/clock/qcom,kpss-gcc.yaml [new file with mode: 0644]