This is one of the required dependencies for audio support on sm6115 and
its derivatives SoCs. This was written by Konrad Dybcio, however his linaro
email is already invalid. Konrad suggested sending it as-is and keeping
him in c/c. Some updates may be still required, for instance the
maintainers line in DT bindings file.
This was tested on QRB4210 (Qualcomm RB2 board). The only changes from my
side were fixing compilation errors and small changes in commit messages.
This is second attempt and v2 as suggested.
Changes in v2:
-- added Reviewed-by tag to first patch;
-- removed the second example as suggested by Krzysztof in the first patch;
-- dropped patch "clk: qcom: reset: Increase max reset delay", the change
already landed.
URL to initial series by Konrad:
https://lore.kernel.org/linux-clk/20230825-topic-6115_lpasscc-v1-0-d4857be298e3@linaro.org/
URL to failed attempt to send it recently:
https://lore.kernel.org/linux-clk/20241017005800.1175419-1-alexey.klimov@linaro.org/
Konrad Dybcio (2):
dt-bindings: clock: Add Qualcomm SM6115 LPASS clock controller
clk: qcom: Add SM6115 LPASSCC
.../bindings/clock/qcom,sm6115-lpasscc.yaml | 46 ++++++++++
drivers/clk/qcom/Kconfig | 9 ++
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/lpasscc-sm6115.c | 85 +++++++++++++++++++
.../dt-bindings/clock/qcom,sm6115-lpasscc.h | 15 ++++
5 files changed, 156 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/qcom,sm6115-lpasscc.yaml
create mode 100644 drivers/clk/qcom/lpasscc-sm6115.c
create mode 100644 include/dt-bindings/clock/qcom,sm6115-lpasscc.h
--
2.45.2