Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: clock: Add Qualcomm QCS615 Video clock controller

Add DT bindings for the Video clock on QCS615 platforms. Add the
relevant DT include definitions as well.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Link: https://lore.kernel.org/r/20250702-qcs615-mm-v10-clock-controllers-v11-8-9c216e1615ab@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Taniya Das and committed by
Bjorn Andersson
9c51c66c f4b5b408

+77
+47
Documentation/devicetree/bindings/clock/qcom,qcs615-videocc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/clock/qcom,qcs615-videocc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Video Clock & Reset Controller on QCS615 8 + 9 + maintainers: 10 + - Taniya Das <quic_tdas@quicinc.com> 11 + 12 + description: | 13 + Qualcomm video clock control module provides clocks, resets and power 14 + domains on QCS615 Qualcomm SoCs. 15 + 16 + See also: include/dt-bindings/clock/qcom,qcs615-videocc.h 17 + 18 + properties: 19 + compatible: 20 + const: qcom,qcs615-videocc 21 + 22 + clocks: 23 + items: 24 + - description: Board XO source 25 + - description: Sleep clock source 26 + 27 + allOf: 28 + - $ref: qcom,gcc.yaml# 29 + 30 + unevaluatedProperties: false 31 + 32 + examples: 33 + - | 34 + #include <dt-bindings/clock/qcom,rpmh.h> 35 + #include <dt-bindings/clock/qcom,qcs615-gcc.h> 36 + 37 + clock-controller@ab00000 { 38 + compatible = "qcom,qcs615-videocc"; 39 + reg = <0xab00000 0x10000>; 40 + clocks = <&rpmhcc RPMH_CXO_CLK>, 41 + <&sleep_clk>; 42 + 43 + #clock-cells = <1>; 44 + #reset-cells = <1>; 45 + #power-domain-cells = <1>; 46 + }; 47 + ...
+30
include/dt-bindings/clock/qcom,qcs615-videocc.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + /* 3 + * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved. 4 + */ 5 + 6 + #ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_QCS615_H 7 + #define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_QCS615_H 8 + 9 + /* VIDEO_CC clocks */ 10 + #define VIDEO_CC_SLEEP_CLK 0 11 + #define VIDEO_CC_SLEEP_CLK_SRC 1 12 + #define VIDEO_CC_VCODEC0_AXI_CLK 2 13 + #define VIDEO_CC_VCODEC0_CORE_CLK 3 14 + #define VIDEO_CC_VENUS_AHB_CLK 4 15 + #define VIDEO_CC_VENUS_CLK_SRC 5 16 + #define VIDEO_CC_VENUS_CTL_AXI_CLK 6 17 + #define VIDEO_CC_VENUS_CTL_CORE_CLK 7 18 + #define VIDEO_CC_XO_CLK 8 19 + #define VIDEO_PLL0 9 20 + 21 + /* VIDEO_CC power domains */ 22 + #define VCODEC0_GDSC 0 23 + #define VENUS_GDSC 1 24 + 25 + /* VIDEO_CC resets */ 26 + #define VIDEO_CC_INTERFACE_BCR 0 27 + #define VIDEO_CC_VCODEC0_BCR 1 28 + #define VIDEO_CC_VENUS_BCR 2 29 + 30 + #endif