diff mbox series

[v2,01/10] dt-bindings: clock: qcom,gcc-sm8450: Add SM8475 GCC bindings

Message ID 20240818204348.197788-2-danila@jiaxyga.com
State Accepted
Commit 61b17d072d811df5733a1570889b8c6fa6834bf8
Headers show
Series Add SM8475 clock controller drivers | expand

Commit Message

Danila Tikhonov Aug. 18, 2024, 8:43 p.m. UTC
Add new entry to the SM8450 dt-bindings and add SM8475-specific clocks
to SM8450 GCC header file.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
---
 Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml | 4 +++-
 include/dt-bindings/clock/qcom,gcc-sm8450.h                  | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)

Comments

Krzysztof Kozlowski Aug. 19, 2024, 6:21 a.m. UTC | #1
On 18/08/2024 22:43, Danila Tikhonov wrote:
> Add new entry to the SM8450 dt-bindings and add SM8475-specific clocks
> to SM8450 GCC header file.
> 
> Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml
index d848361beeb3..77273aee5d52 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml
@@ -17,7 +17,9 @@  description: |
 
 properties:
   compatible:
-    const: qcom,gcc-sm8450
+    enum:
+      - qcom,gcc-sm8450
+      - qcom,sm8475-gcc
 
   clocks:
     items:
diff --git a/include/dt-bindings/clock/qcom,gcc-sm8450.h b/include/dt-bindings/clock/qcom,gcc-sm8450.h
index 9679410843a0..7320e63c3a2f 100644
--- a/include/dt-bindings/clock/qcom,gcc-sm8450.h
+++ b/include/dt-bindings/clock/qcom,gcc-sm8450.h
@@ -194,6 +194,9 @@ 
 #define GCC_VIDEO_AXI0_CLK					182
 #define GCC_VIDEO_AXI1_CLK					183
 #define GCC_VIDEO_XO_CLK					184
+/* Additional SM8475-specific clocks */
+#define SM8475_GCC_GPLL2					185
+#define SM8475_GCC_GPLL3					186
 
 /* GCC resets */
 #define GCC_CAMERA_BCR						0