mbox series

[00/13] Add support for SA8775P Multimedia clock controllers

Message ID 20240531090249.10293-1-quic_tdas@quicinc.com (mailing list archive)
Headers show
Series Add support for SA8775P Multimedia clock controllers | expand

Message

Taniya Das May 31, 2024, 9:02 a.m. UTC
Update GCC, GPUCC clock controllers and add support for multimedia
clock controllers on Qualcomm SA8775P platform.

Taniya Das (13):
  clk: qcom: gcc-sa8775p: Remove support for UFS hw ctl clocks
  clk: qcom: gcc-sa8775p: Update the GDSC wait_val fields and flags
  clk: qcom: gcc-sa8775p: Set FORCE_MEM_CORE_ON for
    gcc_ufs_phy_ice_core_clk
  clk: qcom: gpucc-sa8775p: Remove the CLK_IS_CRITICAL and ALWAYS_ON
    flags
  clk: qcom: gpucc-sa8775p: Park RCG's clk source at XO during disable
  clk: qcom: gpucc-sa8775p: Update wait_val fields for GPU GDSC's
  dt-bindings: clock: qcom: Add SA8775P video clock controller
  clk: qcom: Add support for Video clock controller on SA8775P
  dt-bindings: clock: qcom: Add SA8775P camera controller
  clk: qcom: Add support for Camera Clock Controller on SA8775P
  dt-bindings: clock: qcom: Add SA8775P display controller
  clk: qcom: Add support for Display Controllers on SA8775P
  arm64: dts: qcom: Add support for multimedia clock controllers

 .../bindings/clock/qcom,sa8775p-camcc.yaml    |   76 +
 .../bindings/clock/qcom,sa8775p-dispcc.yaml   |   88 +
 .../bindings/clock/qcom,sa8775p-videocc.yaml  |   75 +
 arch/arm64/boot/dts/qcom/sa8775p-ride.dts     |    2 +-
 arch/arm64/boot/dts/qcom/sa8775p.dtsi         |   59 +
 drivers/clk/qcom/Kconfig                      |   31 +
 drivers/clk/qcom/Makefile                     |    3 +
 drivers/clk/qcom/camcc-sa8775p.c              | 1849 +++++++++++++++++
 drivers/clk/qcom/dispcc0-sa8775p.c            | 1481 +++++++++++++
 drivers/clk/qcom/dispcc1-sa8775p.c            | 1481 +++++++++++++
 drivers/clk/qcom/gcc-sa8775p.c                |  154 +-
 drivers/clk/qcom/gpucc-sa8775p.c              |   41 +-
 drivers/clk/qcom/videocc-sa8775p.c            |  576 +++++
 .../dt-bindings/clock/qcom,sa8775p-camcc.h    |  107 +
 .../dt-bindings/clock/qcom,sa8775p-dispcc.h   |   87 +
 .../dt-bindings/clock/qcom,sa8775p-videocc.h  |   47 +
 16 files changed, 6027 insertions(+), 130 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,sa8775p-dispcc.yaml
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,sa8775p-videocc.yaml
 create mode 100644 drivers/clk/qcom/camcc-sa8775p.c
 create mode 100644 drivers/clk/qcom/dispcc0-sa8775p.c
 create mode 100644 drivers/clk/qcom/dispcc1-sa8775p.c
 create mode 100644 drivers/clk/qcom/videocc-sa8775p.c
 create mode 100644 include/dt-bindings/clock/qcom,sa8775p-camcc.h
 create mode 100644 include/dt-bindings/clock/qcom,sa8775p-dispcc.h
 create mode 100644 include/dt-bindings/clock/qcom,sa8775p-videocc.h

--
2.17.1

Comments

Bjorn Andersson June 2, 2024, 4:22 a.m. UTC | #1
On Fri, May 31, 2024 at 02:32:36PM GMT, Taniya Das wrote:
> Update GCC, GPUCC clock controllers and add support for multimedia
> clock controllers on Qualcomm SA8775P platform.
> 

Most of the patches in this series does not depend on each other and
some of them could have been merged already, if they weren't stacked in
the middle of the series.

Please lump patches together into series only when there is a dependency
between them.

The one exception here is the dts change at the end that has a
dependency on the multiple binding updates. You can choose to either
split this into multiple updates, or send it separately once the clock
changes has been accepted.

Thanks,
Bjorn

> Taniya Das (13):
>   clk: qcom: gcc-sa8775p: Remove support for UFS hw ctl clocks
>   clk: qcom: gcc-sa8775p: Update the GDSC wait_val fields and flags
>   clk: qcom: gcc-sa8775p: Set FORCE_MEM_CORE_ON for
>     gcc_ufs_phy_ice_core_clk
>   clk: qcom: gpucc-sa8775p: Remove the CLK_IS_CRITICAL and ALWAYS_ON
>     flags
>   clk: qcom: gpucc-sa8775p: Park RCG's clk source at XO during disable
>   clk: qcom: gpucc-sa8775p: Update wait_val fields for GPU GDSC's
>   dt-bindings: clock: qcom: Add SA8775P video clock controller
>   clk: qcom: Add support for Video clock controller on SA8775P
>   dt-bindings: clock: qcom: Add SA8775P camera controller
>   clk: qcom: Add support for Camera Clock Controller on SA8775P
>   dt-bindings: clock: qcom: Add SA8775P display controller
>   clk: qcom: Add support for Display Controllers on SA8775P
>   arm64: dts: qcom: Add support for multimedia clock controllers
> 
>  .../bindings/clock/qcom,sa8775p-camcc.yaml    |   76 +
>  .../bindings/clock/qcom,sa8775p-dispcc.yaml   |   88 +
>  .../bindings/clock/qcom,sa8775p-videocc.yaml  |   75 +
>  arch/arm64/boot/dts/qcom/sa8775p-ride.dts     |    2 +-
>  arch/arm64/boot/dts/qcom/sa8775p.dtsi         |   59 +
>  drivers/clk/qcom/Kconfig                      |   31 +
>  drivers/clk/qcom/Makefile                     |    3 +
>  drivers/clk/qcom/camcc-sa8775p.c              | 1849 +++++++++++++++++
>  drivers/clk/qcom/dispcc0-sa8775p.c            | 1481 +++++++++++++
>  drivers/clk/qcom/dispcc1-sa8775p.c            | 1481 +++++++++++++
>  drivers/clk/qcom/gcc-sa8775p.c                |  154 +-
>  drivers/clk/qcom/gpucc-sa8775p.c              |   41 +-
>  drivers/clk/qcom/videocc-sa8775p.c            |  576 +++++
>  .../dt-bindings/clock/qcom,sa8775p-camcc.h    |  107 +
>  .../dt-bindings/clock/qcom,sa8775p-dispcc.h   |   87 +
>  .../dt-bindings/clock/qcom,sa8775p-videocc.h  |   47 +
>  16 files changed, 6027 insertions(+), 130 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml
>  create mode 100644 Documentation/devicetree/bindings/clock/qcom,sa8775p-dispcc.yaml
>  create mode 100644 Documentation/devicetree/bindings/clock/qcom,sa8775p-videocc.yaml
>  create mode 100644 drivers/clk/qcom/camcc-sa8775p.c
>  create mode 100644 drivers/clk/qcom/dispcc0-sa8775p.c
>  create mode 100644 drivers/clk/qcom/dispcc1-sa8775p.c
>  create mode 100644 drivers/clk/qcom/videocc-sa8775p.c
>  create mode 100644 include/dt-bindings/clock/qcom,sa8775p-camcc.h
>  create mode 100644 include/dt-bindings/clock/qcom,sa8775p-dispcc.h
>  create mode 100644 include/dt-bindings/clock/qcom,sa8775p-videocc.h
> 
> --
> 2.17.1
>
Taniya Das June 10, 2024, 9:27 a.m. UTC | #2
On 6/2/2024 9:52 AM, Bjorn Andersson wrote:
> On Fri, May 31, 2024 at 02:32:36PM GMT, Taniya Das wrote:
>> Update GCC, GPUCC clock controllers and add support for multimedia
>> clock controllers on Qualcomm SA8775P platform.
>>
> 
> Most of the patches in this series does not depend on each other and
> some of them could have been merged already, if they weren't stacked in
> the middle of the series.
> 
> Please lump patches together into series only when there is a dependency
> between them.
> 
> The one exception here is the dts change at the end that has a
> dependency on the multiple binding updates. You can choose to either
> split this into multiple updates, or send it separately once the clock
> changes has been accepted.
> 

Sure Bjorn, I will split the current series to two series.

1st to consolidate all the fixes and the New Drivers(Multimedia Clocks) 
in another series and will keep the DT in the next series.

> Thanks,
> Bjorn
> 
>> Taniya Das (13):
>>    clk: qcom: gcc-sa8775p: Remove support for UFS hw ctl clocks
>>    clk: qcom: gcc-sa8775p: Update the GDSC wait_val fields and flags
>>    clk: qcom: gcc-sa8775p: Set FORCE_MEM_CORE_ON for
>>      gcc_ufs_phy_ice_core_clk
>>    clk: qcom: gpucc-sa8775p: Remove the CLK_IS_CRITICAL and ALWAYS_ON
>>      flags
>>    clk: qcom: gpucc-sa8775p: Park RCG's clk source at XO during disable
>>    clk: qcom: gpucc-sa8775p: Update wait_val fields for GPU GDSC's
>>    dt-bindings: clock: qcom: Add SA8775P video clock controller
>>    clk: qcom: Add support for Video clock controller on SA8775P
>>    dt-bindings: clock: qcom: Add SA8775P camera controller
>>    clk: qcom: Add support for Camera Clock Controller on SA8775P
>>    dt-bindings: clock: qcom: Add SA8775P display controller
>>    clk: qcom: Add support for Display Controllers on SA8775P
>>    arm64: dts: qcom: Add support for multimedia clock controllers
>>
>>   .../bindings/clock/qcom,sa8775p-camcc.yaml    |   76 +
>>   .../bindings/clock/qcom,sa8775p-dispcc.yaml   |   88 +
>>   .../bindings/clock/qcom,sa8775p-videocc.yaml  |   75 +
>>   arch/arm64/boot/dts/qcom/sa8775p-ride.dts     |    2 +-
>>   arch/arm64/boot/dts/qcom/sa8775p.dtsi         |   59 +
>>   drivers/clk/qcom/Kconfig                      |   31 +
>>   drivers/clk/qcom/Makefile                     |    3 +
>>   drivers/clk/qcom/camcc-sa8775p.c              | 1849 +++++++++++++++++
>>   drivers/clk/qcom/dispcc0-sa8775p.c            | 1481 +++++++++++++
>>   drivers/clk/qcom/dispcc1-sa8775p.c            | 1481 +++++++++++++
>>   drivers/clk/qcom/gcc-sa8775p.c                |  154 +-
>>   drivers/clk/qcom/gpucc-sa8775p.c              |   41 +-
>>   drivers/clk/qcom/videocc-sa8775p.c            |  576 +++++
>>   .../dt-bindings/clock/qcom,sa8775p-camcc.h    |  107 +
>>   .../dt-bindings/clock/qcom,sa8775p-dispcc.h   |   87 +
>>   .../dt-bindings/clock/qcom,sa8775p-videocc.h  |   47 +
>>   16 files changed, 6027 insertions(+), 130 deletions(-)
>>   create mode 100644 Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml
>>   create mode 100644 Documentation/devicetree/bindings/clock/qcom,sa8775p-dispcc.yaml
>>   create mode 100644 Documentation/devicetree/bindings/clock/qcom,sa8775p-videocc.yaml
>>   create mode 100644 drivers/clk/qcom/camcc-sa8775p.c
>>   create mode 100644 drivers/clk/qcom/dispcc0-sa8775p.c
>>   create mode 100644 drivers/clk/qcom/dispcc1-sa8775p.c
>>   create mode 100644 drivers/clk/qcom/videocc-sa8775p.c
>>   create mode 100644 include/dt-bindings/clock/qcom,sa8775p-camcc.h
>>   create mode 100644 include/dt-bindings/clock/qcom,sa8775p-dispcc.h
>>   create mode 100644 include/dt-bindings/clock/qcom,sa8775p-videocc.h
>>
>> --
>> 2.17.1
>>