Skip to content

Commit 4d32c1f

Browse files
barni2000andersson
authored andcommitted
dt-bindings: clock: qcom: Add MSM8937 Global Clock Controller
Add device tree bindings for the global clock controller on Qualcomm MSM8937 platform. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org> Link: https://lore.kernel.org/r/20250903-msm8937-v9-1-a097c91c5801@mainlining.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 8f5ae30 commit 4d32c1f

2 files changed

Lines changed: 27 additions & 3 deletions

File tree

Documentation/devicetree/bindings/clock/qcom,gcc-msm8953.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,21 @@ title: Qualcomm Global Clock & Reset Controller on MSM8953
99
maintainers:
1010
- Adam Skladowski <a_skl39@protonmail.com>
1111
- Sireesh Kodali <sireeshkodali@protonmail.com>
12+
- Barnabas Czeman <barnabas.czeman@mainlining.org>
1213

1314
description: |
1415
Qualcomm global clock control module provides the clocks, resets and power
15-
domains on MSM8953.
16+
domains on MSM8937 or MSM8953.
1617
17-
See also: include/dt-bindings/clock/qcom,gcc-msm8953.h
18+
See also::
19+
include/dt-bindings/clock/qcom,gcc-msm8917.h
20+
include/dt-bindings/clock/qcom,gcc-msm8953.h
1821
1922
properties:
2023
compatible:
21-
const: qcom,gcc-msm8953
24+
enum:
25+
- qcom,gcc-msm8937
26+
- qcom,gcc-msm8953
2227

2328
clocks:
2429
items:

include/dt-bindings/clock/qcom,gcc-msm8917.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,23 @@
170170
#define VFE1_CLK_SRC 163
171171
#define VSYNC_CLK_SRC 164
172172
#define GPLL0_SLEEP_CLK_SRC 165
173+
/* Addtional MSM8937-specific clocks */
174+
#define MSM8937_BLSP1_QUP1_I2C_APPS_CLK_SRC 166
175+
#define MSM8937_BLSP1_QUP1_SPI_APPS_CLK_SRC 167
176+
#define MSM8937_BLSP2_QUP4_I2C_APPS_CLK_SRC 168
177+
#define MSM8937_BLSP2_QUP4_SPI_APPS_CLK_SRC 169
178+
#define MSM8937_BYTE1_CLK_SRC 170
179+
#define MSM8937_ESC1_CLK_SRC 171
180+
#define MSM8937_PCLK1_CLK_SRC 172
181+
#define MSM8937_GCC_BLSP1_QUP1_I2C_APPS_CLK 173
182+
#define MSM8937_GCC_BLSP1_QUP1_SPI_APPS_CLK 174
183+
#define MSM8937_GCC_BLSP2_QUP4_I2C_APPS_CLK 175
184+
#define MSM8937_GCC_BLSP2_QUP4_SPI_APPS_CLK 176
185+
#define MSM8937_GCC_MDSS_BYTE1_CLK 177
186+
#define MSM8937_GCC_MDSS_ESC1_CLK 178
187+
#define MSM8937_GCC_MDSS_PCLK1_CLK 179
188+
#define MSM8937_GCC_OXILI_AON_CLK 180
189+
#define MSM8937_GCC_OXILI_TIMER_CLK 181
173190

174191
/* GCC block resets */
175192
#define GCC_CAMSS_MICRO_BCR 0
@@ -187,5 +204,7 @@
187204
#define VENUS_GDSC 5
188205
#define VFE0_GDSC 6
189206
#define VFE1_GDSC 7
207+
/* Additional MSM8937-specific GDSCs */
208+
#define MSM8937_OXILI_CX_GDSC 8
190209

191210
#endif

0 commit comments

Comments
 (0)