]> www.infradead.org Git - users/hch/misc.git/commitdiff
dt-bindings: clock: qcom,gcc-sm8450: Add SM8475 GCC bindings
authorDanila Tikhonov <danila@jiaxyga.com>
Sun, 18 Aug 2024 20:43:39 +0000 (23:43 +0300)
committerBjorn Andersson <andersson@kernel.org>
Sun, 6 Oct 2024 03:08:40 +0000 (22:08 -0500)
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>
Link: https://lore.kernel.org/r/20240818204348.197788-2-danila@jiaxyga.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml
include/dt-bindings/clock/qcom,gcc-sm8450.h

index d848361beeb32b498b061703a37da940a438e98c..77273aee5d52d63996b19490bb5ed15ecf96d013 100644 (file)
@@ -17,7 +17,9 @@ description: |
 
 properties:
   compatible:
-    const: qcom,gcc-sm8450
+    enum:
+      - qcom,gcc-sm8450
+      - qcom,sm8475-gcc
 
   clocks:
     items:
index 9679410843a0d023f870c299fa5e7a3812c10d56..7320e63c3a2f170c7a45a1c6e1fe8c8174f5ded8 100644 (file)
 #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