Add a driver for the Global Clock Controller (GCC) that provides clocks, resets and power domains for the various hardware blocks in the MSM8909 SoC. Make it possible to have longer delay between assertion/deassertion of particular reset signals (this is needed for the USB PHY on MSM8909). Finally, add the necessary definitions for the clocks controlled by the RPM firmware on MSM8909. The patch set is fairly large but most of it is just boring clock definitions in the GCC driver. And compared to newer SoCs like SC8280XP with 7k+ lines in the GCC driver this is still fairly small. :-) --- Changes in v2: - Make "clocks" and "clock-names" required in DT schema - Add review tags from Konrad and Krzysztof Stephan Gerhold (6): dt-bindings: clock: Add schema for MSM8909 GCC clk: qcom: Add driver for MSM8909 GCC clk: qcom: reset: Allow specifying custom reset delay clk: qcom: gcc-msm8909: Increase delay for USB PHY reset dt-bindings: clock: qcom,rpmcc: Add MSM8909 clk: qcom: smd-rpm: Add clocks for MSM8909 .../bindings/clock/qcom,gcc-msm8909.yaml | 58 + .../devicetree/bindings/clock/qcom,rpmcc.yaml | 1 + drivers/clk/qcom/Kconfig | 8 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clk-smd-rpm.c | 37 +- drivers/clk/qcom/gcc-msm8909.c | 2731 +++++++++++++++++ drivers/clk/qcom/reset.c | 4 +- drivers/clk/qcom/reset.h | 1 + include/dt-bindings/clock/qcom,gcc-msm8909.h | 218 ++ 9 files changed, 3057 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/qcom,gcc-msm8909.yaml create mode 100644 drivers/clk/qcom/gcc-msm8909.c create mode 100644 include/dt-bindings/clock/qcom,gcc-msm8909.h -- 2.30.2