OSDN Git Service

dt-bindings: arm: msm: Convert and split kpss-acc driver Documentation to yaml
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 16 Jan 2023 20:47:46 +0000 (21:47 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 15 Mar 2023 23:40:49 +0000 (16:40 -0700)
commit4260ddfb649666b0da02ff9fe5d37664e447b92a
treea4b27a83c4dfbdc0964270140e01b7436a909ea0
parent377c0b46d8794ab4441c8c079e079dc2e367c1e1
dt-bindings: arm: msm: Convert and split kpss-acc driver Documentation to yaml

Convert kpss-acc driver Documentation to yaml.
The original Documentation was wrong all along. Fix it while we are
converting it.
The example was wrong as kpss-acc-v2 should only expose the regs but we
don't have any driver that expose additional clocks. The kpss-acc driver
is only specific to v1. For this exact reason, split the Documentation
to 2 different schema, v1 as clock-controller and v2 for
power-manager as per msm-3.10 specification, the exposed regs handle
power manager.

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-3-ansuelsmth@gmail.com
Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.txt [deleted file]
Documentation/devicetree/bindings/clock/qcom,kpss-acc-v1.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/power/qcom,kpss-acc-v2.yaml [new file with mode: 0644]