Skip to content

Commit b190eae

Browse files
taniyadas20andersson
authored andcommitted
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>
1 parent aa788d3 commit b190eae

2 files changed

Lines changed: 44 additions & 1 deletion

File tree

Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Qualcomm Video Clock & Reset Controller on SM8450
88

99
maintainers:
10-
- Taniya Das <quic_tdas@quicinc.com>
10+
- Taniya Das <taniya.das@oss.qualcomm.com>
1111
- Jagadeesh Kona <quic_jkona@quicinc.com>
1212

1313
description: |
@@ -17,6 +17,7 @@ description: |
1717
See also:
1818
include/dt-bindings/clock/qcom,sm8450-videocc.h
1919
include/dt-bindings/clock/qcom,sm8650-videocc.h
20+
include/dt-bindings/clock/qcom,sm8750-videocc.h
2021
2122
properties:
2223
compatible:
@@ -25,6 +26,7 @@ properties:
2526
- qcom,sm8475-videocc
2627
- qcom,sm8550-videocc
2728
- qcom,sm8650-videocc
29+
- qcom,sm8750-videocc
2830
- qcom,x1e80100-videocc
2931

3032
clocks:
@@ -61,6 +63,7 @@ allOf:
6163
enum:
6264
- qcom,sm8450-videocc
6365
- qcom,sm8550-videocc
66+
- qcom,sm8750-videocc
6467
then:
6568
required:
6669
- required-opps
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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

0 commit comments

Comments
 (0)