This patch adds support for the Global Clock Controller on QCom SM4250 and SM6115, codename bengal. The code is taken from OnePlus repo [1]. The two platforms are identical so there is only one compat string. [1]: https://github.com/OnePlusOSS/android_kernel_oneplus_sm4250 v1: https://lkml.org/lkml/2021/6/22/1131 Changes from v1: - remove sm4250 compat, there will be a single sm6115.dtsi for both platforms Iskren Chernev (2): dt-bindings: clk: qcom: gcc-sm6115: Document SM6115 GCC clk: qcom: Add Global Clock controller (GCC) driver for SM6115 .../bindings/clock/qcom,gcc-sm6115.yaml | 72 + drivers/clk/qcom/Kconfig | 7 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-sm6115.c | 3623 +++++++++++++++++ include/dt-bindings/clock/qcom,gcc-sm6115.h | 201 + 5 files changed, 3904 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,gcc-sm6115.yaml create mode 100644 drivers/clk/qcom/gcc-sm6115.c create mode 100644 include/dt-bindings/clock/qcom,gcc-sm6115.h base-commit: e71e3a48a7e89fa71fb70bf4602367528864d2ff -- 2.32.0