[PATCH v4 0/7] clk: qcom: msm8996: add APCS clock driver

From: Dmitry Baryshkov
Date: Wed Jan 18 2023 - 08:53:09 EST


The sys_apcs_aux clock can be used by CPU and CBF clock drivers to drive
those clocks from GPLL0 while doing initial setup. Add simple driver to
setup and export this clock.

Changes since v3:
- Split the patch 3/6 into two: first one moves existing strings, second
one adds new compatible strings to the conditionals.

Changes since v2:
- Added the conditional clause to schema forbidding usage of clocks and
clock-names on platforms which do not pass additional clocks to the
APCS device node (Krzysztof)
- Added SDX55 compat string
- Moved MSM8976 compat to the list of platforms using syscon.

Changes since v1:
- Removed the clk.h header inclusion (Stephen)
- Changed the module license from GPL v2 to bare GPL.

Dmitry Baryshkov (7):
dt-bindings: mailbox: qcom: add SDX55 compatible
dt-bindings: mailbox: qcom: enable syscon compatible for msm8976
dt-bindings: mailbox: qcom: correct the list of platforms using clocks
dt-bindings: mailbox: qcom: add missing platforms to conditional
clauses
dt-bindings: mailbox: qcom: add #clock-cells to msm8996 example
mailbox: qcom-apcs-ipc: enable APCS clock device for MSM8996
clk: qcom: add the driver for the MSM8996 APCS clocks

.../mailbox/qcom,apcs-kpss-global.yaml | 37 ++++++---
drivers/clk/qcom/Makefile | 2 +-
drivers/clk/qcom/apcs-msm8996.c | 76 +++++++++++++++++++
drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 +-
4 files changed, 106 insertions(+), 11 deletions(-)
create mode 100644 drivers/clk/qcom/apcs-msm8996.c

--
2.39.0