Skip to content

Add QCOM video clock controller driver

Amit Nischal linux-arm-msm linux-clk lkml 2 versions – Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

https://lkml.org/lkml/2018/5/8/918
- Added #defines for resets in the header file.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: clock: Introduce QCOM Video clock bindingsDocumentation/devicetree/bindings/clock/qcom,videocc.txt include/dt-bindings/clock/qcom,videocc-sdm845.h+54 -01 reply
2/2clk: qcom: Add video clock controller driver for SDM845drivers/clk/qcom/Kconfig drivers/clk/qcom/Makefile drivers/clk/qcom/videocc-sdm845.c+370 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add QCOM video clock controller driver

Changes in v2:
https://lkml.org/lkml/2018/5/8/918
- Added #defines for resets in the header file.

Changes in v1:
https://lkml.org/lkml/2018/4/24/545
Addressed below review comments given by Rob
- Change the compatible property as per '<vendor>,<soc>-<block>' format.
- Add header definitions for resets and power-domain cells.

This patch series adds a driver and device tree documentation binding for the video clock controller on some Qualcomm Technologies, Inc, SoCs such as SDM845. This would allow video drivers to probe and control their clocks.

The video clock driver depends upon the RPMh driver[1], command DB driver[2], RPMh clock driver[3], rcg2 shared ops[4] and GCC clock driver[5] changes which are undergoing review.

[1]: https://lkml.org/lkml/2018/4/19/914
[2]: https://lkml.org/lkml/2018/4/5/451
[3]: https://lkml.org/lkml/2018/4/24/390
[4]: https://lkml.org/lkml/2018/4/18/367
[5]: https://lkml.org/lkml/2018/4/30/533

[v1]: https://lkml.org/lkml/2018/5/3/386

Amit Nischal (2):
dt-bindings: clock: Introduce QCOM Video clock bindings
clk: qcom: Add video clock controller driver for SDM845

 .../devicetree/bindings/clock/qcom,videocc.txt     |  19 ++
 drivers/clk/qcom/Kconfig                           |  11 +
 drivers/clk/qcom/Makefile                          |   1 +
 drivers/clk/qcom/videocc-sdm845.c                  | 358 +++++++++++++++++++++
 include/dt-bindings/clock/qcom,videocc-sdm845.h    |  35 ++
 5 files changed, 424 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/qcom,videocc.txt
 create mode 100644 drivers/clk/qcom/videocc-sdm845.c
 create mode 100644 include/dt-bindings/clock/qcom,videocc-sdm845.h

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