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

dt-bindings: clock: qcom: Add SM8750 video clock controller

Add compatible string for SM8750 video clock controller and the bindings
for SM8750 Qualcomm SoC.

Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20251118-sm8750-videocc-v2-v4-4-049882a70c9f@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Taniya Das and committed by
Bjorn Andersson
b190eaea aa788d3b

+44 -1
+4 -1
Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml
··· 7 7 title: Qualcomm Video Clock & Reset Controller on SM8450 8 8 9 9 maintainers: 10 - - Taniya Das <quic_tdas@quicinc.com> 10 + - Taniya Das <taniya.das@oss.qualcomm.com> 11 11 - Jagadeesh Kona <quic_jkona@quicinc.com> 12 12 13 13 description: | ··· 17 17 See also: 18 18 include/dt-bindings/clock/qcom,sm8450-videocc.h 19 19 include/dt-bindings/clock/qcom,sm8650-videocc.h 20 + include/dt-bindings/clock/qcom,sm8750-videocc.h 20 21 21 22 properties: 22 23 compatible: ··· 26 25 - qcom,sm8475-videocc 27 26 - qcom,sm8550-videocc 28 27 - qcom,sm8650-videocc 28 + - qcom,sm8750-videocc 29 29 - qcom,x1e80100-videocc 30 30 31 31 clocks: ··· 63 61 enum: 64 62 - qcom,sm8450-videocc 65 63 - qcom,sm8550-videocc 64 + - qcom,sm8750-videocc 66 65 then: 67 66 required: 68 67 - required-opps
+40
include/dt-bindings/clock/qcom,sm8750-videocc.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + /* 3 + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. 4 + */ 5 + 6 + #ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8750_H 7 + #define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_SM8750_H 8 + 9 + /* VIDEO_CC clocks */ 10 + #define VIDEO_CC_AHB_CLK 0 11 + #define VIDEO_CC_AHB_CLK_SRC 1 12 + #define VIDEO_CC_MVS0_CLK 2 13 + #define VIDEO_CC_MVS0_CLK_SRC 3 14 + #define VIDEO_CC_MVS0_DIV_CLK_SRC 4 15 + #define VIDEO_CC_MVS0_FREERUN_CLK 5 16 + #define VIDEO_CC_MVS0_SHIFT_CLK 6 17 + #define VIDEO_CC_MVS0C_CLK 7 18 + #define VIDEO_CC_MVS0C_DIV2_DIV_CLK_SRC 8 19 + #define VIDEO_CC_MVS0C_FREERUN_CLK 9 20 + #define VIDEO_CC_MVS0C_SHIFT_CLK 10 21 + #define VIDEO_CC_PLL0 11 22 + #define VIDEO_CC_SLEEP_CLK 12 23 + #define VIDEO_CC_SLEEP_CLK_SRC 13 24 + #define VIDEO_CC_XO_CLK 14 25 + #define VIDEO_CC_XO_CLK_SRC 15 26 + 27 + /* VIDEO_CC power domains */ 28 + #define VIDEO_CC_MVS0_GDSC 0 29 + #define VIDEO_CC_MVS0C_GDSC 1 30 + 31 + /* VIDEO_CC resets */ 32 + #define VIDEO_CC_INTERFACE_BCR 0 33 + #define VIDEO_CC_MVS0_BCR 1 34 + #define VIDEO_CC_MVS0C_CLK_ARES 2 35 + #define VIDEO_CC_MVS0C_BCR 3 36 + #define VIDEO_CC_MVS0_FREERUN_CLK_ARES 4 37 + #define VIDEO_CC_MVS0C_FREERUN_CLK_ARES 5 38 + #define VIDEO_CC_XO_CLK_ARES 6 39 + 40 + #endif