mbox series

[v3,0/7] Add support for DISP/VIDEO/GPU CCs for SC7280

Message ID 1626189143-12957-1-git-send-email-tdas@codeaurora.org
Headers show
Series Add support for DISP/VIDEO/GPU CCs for SC7280 | expand

Message

Taniya Das July 13, 2021, 3:12 p.m. UTC
Add support for display, video & graphics clock controllers on SC7280
along with the bindings for each of the clock controllers.

[v3]
 * Update BSD license for Device Tree documentation and bindings for display,
   graphics, video and also global clock controller.
 * Update 'const' for all the VCO tables.
 * Remove critical video xo clock from video driver as the clock is enabled
   from HW and no SW modelled clock required.

[v2]
 * Use the .hws instead of clk_parent_data when the whole array is
   clk_hw pointers for all the clock drivers.

[v1]
 * Documentation binding for DISP, GPU, VIDEO clock controller for SC7280.
 * Add the DISP, GPU, VIDEO clock drivers for SC7280.

Taniya Das (7):
  dt-bindings: clock: qcom: Update license for GCC SC7280
  dt-bindings: clock: Add SC7280 DISPCC clock binding
  clk: qcom: Add display clock controller driver for SC7280
  dt-bindings: clock: Add SC7280 GPUCC clock binding
  clk: qcom: Add graphics clock controller driver for SC7280
  dt-bindings: clock: Add SC7280 VideoCC clock binding
  clk: qcom: Add video clock controller driver for SC7280

 .../devicetree/bindings/clock/qcom,gpucc.yaml      |   6 +-
 .../bindings/clock/qcom,sc7280-dispcc.yaml         |  94 +++
 .../devicetree/bindings/clock/qcom,videocc.yaml    |   6 +-
 drivers/clk/qcom/Kconfig                           |  25 +
 drivers/clk/qcom/Makefile                          |   3 +
 drivers/clk/qcom/dispcc-sc7280.c                   | 908 +++++++++++++++++++++
 drivers/clk/qcom/gpucc-sc7280.c                    | 491 +++++++++++
 drivers/clk/qcom/videocc-sc7280.c                  | 325 ++++++++
 include/dt-bindings/clock/qcom,dispcc-sc7280.h     |  55 ++
 include/dt-bindings/clock/qcom,gcc-sc7280.h        |   2 +-
 include/dt-bindings/clock/qcom,gpucc-sc7280.h      |  35 +
 include/dt-bindings/clock/qcom,videocc-sc7280.h    |  27 +
 12 files changed, 1972 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,sc7280-dispcc.yaml
 create mode 100644 drivers/clk/qcom/dispcc-sc7280.c
 create mode 100644 drivers/clk/qcom/gpucc-sc7280.c
 create mode 100644 drivers/clk/qcom/videocc-sc7280.c
 create mode 100644 include/dt-bindings/clock/qcom,dispcc-sc7280.h
 create mode 100644 include/dt-bindings/clock/qcom,gpucc-sc7280.h
 create mode 100644 include/dt-bindings/clock/qcom,videocc-sc7280.h

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

Comments

Rob Herring (Arm) July 15, 2021, 5:27 p.m. UTC | #1
On Tue, 13 Jul 2021 20:42:17 +0530, Taniya Das wrote:
> Update BSD license for GCC clock ids.

> 

> Fixes: 87a3d523b38c ("dt-bindings: clock: Add SC7280 GCC clock binding")

> Signed-off-by: Taniya Das <tdas@codeaurora.org>

> ---

>  include/dt-bindings/clock/qcom,gcc-sc7280.h | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 


Acked-by: Rob Herring <robh@kernel.org>
Rob Herring (Arm) July 15, 2021, 5:28 p.m. UTC | #2
On Tue, 13 Jul 2021 20:42:20 +0530, Taniya Das wrote:
> Add device tree bindings for graphics clock subsystem clock
> controller for Qualcomm Technology Inc's SC7280 SoCs.
> 
> Signed-off-by: Taniya Das <tdas@codeaurora.org>
> ---
>  .../devicetree/bindings/clock/qcom,gpucc.yaml      |  6 ++--
>  include/dt-bindings/clock/qcom,gpucc-sc7280.h      | 35 ++++++++++++++++++++++
>  2 files changed, 39 insertions(+), 2 deletions(-)
>  create mode 100644 include/dt-bindings/clock/qcom,gpucc-sc7280.h
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Stephen Boyd July 20, 2021, 9:02 p.m. UTC | #3
Quoting Taniya Das (2021-07-13 08:12:17)
> Update BSD license for GCC clock ids.
> 
> Fixes: 87a3d523b38c ("dt-bindings: clock: Add SC7280 GCC clock binding")
> Signed-off-by: Taniya Das <tdas@codeaurora.org>
> ---

Applied to clk-next
Stephen Boyd July 20, 2021, 9:02 p.m. UTC | #4
Quoting Taniya Das (2021-07-13 08:12:19)
> Add support for the display clock controller found on SC7280
> based devices. This would allow display drivers to probe and
> control their clocks.
> 
> Signed-off-by: Taniya Das <tdas@codeaurora.org>
> ---

Applied to clk-next