[PATCH v4 0/5] Add the support for SM8750 Video clock controller

Taniya Das posted 5 patches 1 week, 6 days ago
.../bindings/clock/qcom,sm8450-videocc.yaml        |   5 +-
drivers/clk/qcom/Kconfig                           |  11 +
drivers/clk/qcom/Makefile                          |   1 +
drivers/clk/qcom/clk-branch.c                      |   8 +-
drivers/clk/qcom/clk-branch.h                      |   4 +
drivers/clk/qcom/ecpricc-qdu1000.c                 |  30 ++
drivers/clk/qcom/videocc-sm8750.c                  | 463 +++++++++++++++++++++
include/dt-bindings/clock/qcom,sm8750-videocc.h    |  40 ++
8 files changed, 557 insertions(+), 5 deletions(-)
[PATCH v4 0/5] Add the support for SM8750 Video clock controller
Posted by Taniya Das 1 week, 6 days ago
Support the Video clock controller for SM8750 Qualcomm SoC. It includes
the extended logic for branch clocks with mem_ops which requires the
inverted logic.

Changes in v4:
- Split the changes to remain functional as per suggestion [Konrad]
	- add the new struct fields
	- add the ECPRI driver
	- add the clk-branch.c changes for mem_ops invert
- update the commit text for ecpricc code changes.
- update the logic for mem_enable_invert [Konrad].
- use GENMASK for 'mem_enable_ack_mask' in videocc driver [Konrad]
- Link to v3: https://lore.kernel.org/r/20251024-sm8750-videocc-v2-v3-0-6286bbda3c8e@oss.qualcomm.com

Changes in v3:
  - simplify the logic for handling branch mem ops for non-invert
    and invert logic [Dmitry]
  - Due to the changes in the branch mem ops the ECPRICC which also
    requires branch mem ops are updated to align to the new code.
  - Update to use new _desc infra and use 'regmap_update_bits' to align for
    better readability [Konrad]
  - Link to v2: https://lore.kernel.org/r/20250829-sm8750-videocc-v2-v2-0-4517a5300e41@oss.qualcomm.com

Changes in v2:
 - Update the commit message for the invert branch mem ops [Dmitry]
 - Update the email to 'oss' and also update copyright.
 - update the RB-by tag from Rob.
 - Link to v1: https://lore.kernel.org/all/20241206-sm8750_videocc-v1-0-5da6e7eea2bd@quicinc.com/

Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com>
---
Taniya Das (5):
      clk: qcom: clk_mem_branch: add enable mask and invert flags
      clk: qcom: ecpricc-qdu100: Add mem_enable_mask to the clock memory branch
      clk: qcom: branch: Extend invert logic for branch2 mem clocks
      dt-bindings: clock: qcom: Add SM8750 video clock controller
      clk: qcom: videocc-sm8750: Add video clock controller driver for SM8750

 .../bindings/clock/qcom,sm8450-videocc.yaml        |   5 +-
 drivers/clk/qcom/Kconfig                           |  11 +
 drivers/clk/qcom/Makefile                          |   1 +
 drivers/clk/qcom/clk-branch.c                      |   8 +-
 drivers/clk/qcom/clk-branch.h                      |   4 +
 drivers/clk/qcom/ecpricc-qdu1000.c                 |  30 ++
 drivers/clk/qcom/videocc-sm8750.c                  | 463 +++++++++++++++++++++
 include/dt-bindings/clock/qcom,sm8750-videocc.h    |  40 ++
 8 files changed, 557 insertions(+), 5 deletions(-)
---
base-commit: 3cace99d63192a7250461b058279a42d91075d0c
change-id: 20250829-sm8750-videocc-v2-6311b334f7a9

Best regards,
-- 
Taniya Das <taniya.das@oss.qualcomm.com>
Re: [PATCH v4 0/5] Add the support for SM8750 Video clock controller
Posted by Bjorn Andersson 1 week, 6 days ago
On Tue, 18 Nov 2025 12:47:04 +0530, Taniya Das wrote:
> Support the Video clock controller for SM8750 Qualcomm SoC. It includes
> the extended logic for branch clocks with mem_ops which requires the
> inverted logic.
> 
> Changes in v4:
> - Split the changes to remain functional as per suggestion [Konrad]
> 	- add the new struct fields
> 	- add the ECPRI driver
> 	- add the clk-branch.c changes for mem_ops invert
> - update the commit text for ecpricc code changes.
> - update the logic for mem_enable_invert [Konrad].
> - use GENMASK for 'mem_enable_ack_mask' in videocc driver [Konrad]
> - Link to v3: https://lore.kernel.org/r/20251024-sm8750-videocc-v2-v3-0-6286bbda3c8e@oss.qualcomm.com
> 
> [...]

Applied, thanks!

[1/5] clk: qcom: clk_mem_branch: add enable mask and invert flags
      commit: 165d0b6dd248b939fb0d31a00687e6ef672b3b3c
[2/5] clk: qcom: ecpricc-qdu100: Add mem_enable_mask to the clock memory branch
      commit: 53a18958349a627ae5d6b1ea708289b6cf3d8b9d
[3/5] clk: qcom: branch: Extend invert logic for branch2 mem clocks
      commit: aa788d3b475652a3ebaca32ca714f02f8ece3393
[4/5] dt-bindings: clock: qcom: Add SM8750 video clock controller
      commit: b190eaea57803da00a4318ba12359625337be9e8
[5/5] clk: qcom: videocc-sm8750: Add video clock controller driver for SM8750
      commit: a160860529b55c54dbd54137f86c818a53d07655

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>