[PATCH v2 0/8] Add GPU & Video Clock controller driver for SC7180

From: Taniya Das
Date: Fri Nov 15 2019 - 05:05:24 EST


[v2]
* Split Fabia code cleanup and calibration code.
* Few cleanups for GPU/Video CC are
* header file inclusion, const for pll vco table.
* removal of always enabled clock from gpucc.
* compatibles added in sorted order.
* move from core_initcall to subsys_initcall().
* cleanup clk_parent_data for clocks to be provided from DT.

[v1]
* Fabia PLLs could fail latching in the case where the PLL is not
calibrated, so add support to calibrate in prepare clock ops.

* Add driver support for Graphics clock controller for SC7180 and also
update device tree bindings for the various clocks supported in the
clock controller.

* Add driver support for Video clock controller for SC7180 and also
update device tree bindings for the various clocks supported in the
clock controller.

Taniya Das (8):
clk: qcom: alpha-pll: Remove useless read from set rate
clk: qcom: clk-alpha-pll: Add support for Fabia PLL calibration
dt-bindings: clock: Add YAML schemas for the QCOM GPUCC clock bindings
dt-bindings: clock: Introduce QCOM Graphics clock bindings
clk: qcom: Add graphics clock controller driver for SC7180
dt-bindings: clock: Add YAML schemas for the QCOM VIDEOCC clock
bindings
dt-bindings: clock: Introduce QCOM Video clock bindings
clk: qcom: Add video clock controller driver for SC7180

.../devicetree/bindings/clock/qcom,gpucc.txt | 24 --
.../devicetree/bindings/clock/qcom,gpucc.yaml | 70 ++++++
.../devicetree/bindings/clock/qcom,videocc.txt | 18 --
.../devicetree/bindings/clock/qcom,videocc.yaml | 62 +++++
drivers/clk/qcom/Kconfig | 16 ++
drivers/clk/qcom/Makefile | 2 +
drivers/clk/qcom/clk-alpha-pll.c | 83 ++++++-
drivers/clk/qcom/clk-alpha-pll.h | 4 +
drivers/clk/qcom/gpucc-sc7180.c | 266 +++++++++++++++++++++
drivers/clk/qcom/videocc-sc7180.c | 259 ++++++++++++++++++++
include/dt-bindings/clock/qcom,gpucc-sc7180.h | 21 ++
include/dt-bindings/clock/qcom,videocc-sc7180.h | 23 ++
12 files changed, 800 insertions(+), 48 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/qcom,gpucc.txt
create mode 100644 Documentation/devicetree/bindings/clock/qcom,gpucc.yaml
delete mode 100644 Documentation/devicetree/bindings/clock/qcom,videocc.txt
create mode 100644 Documentation/devicetree/bindings/clock/qcom,videocc.yaml
create mode 100644 drivers/clk/qcom/gpucc-sc7180.c
create mode 100644 drivers/clk/qcom/videocc-sc7180.c
create mode 100644 include/dt-bindings/clock/qcom,gpucc-sc7180.h
create mode 100644 include/dt-bindings/clock/qcom,videocc-sc7180.h

--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member
of the Code Aurora Forum, hosted by the Linux Foundation.