[PATCH v3 0/6] Add GPU & Video Clock controller driver for SC7180

From: Taniya Das
Date: Fri Dec 27 2019 - 01:38:55 EST


[v3]
* Update the clock items in Documentation binding with the GPLL0 branch names.
* Update gpu_cc_parent_data to remove .name for GCC GPLL0 source.
* Mark video_cc_xo_clk clock critical from videocc probe.

[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 (6):
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 SC7180 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 | 72 ++++++
.../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/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 ++
10 files changed, 721 insertions(+), 42 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.