dt-bindings: clock: qcom,sm6115-dispcc: reference qcom,gcc.yaml
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 5 Jun 2024 08:09:40 +0000 (10:09 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 13 Jun 2024 04:03:13 +0000 (23:03 -0500)
Just like most of Qualcomm clock controllers, we can reference common
qcom,gcc.yaml schema to unify the common parts of the binding.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240605-dt-bindings-qcom-gcc-v2-13-f947b24f1283@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Documentation/devicetree/bindings/clock/qcom,sm6115-dispcc.yaml

index f802a2e7f8189aa9bd21ea72788358c984e20bfd..00be36683eb5d7a64380ea8f63209196651882f1 100644 (file)
@@ -28,27 +28,15 @@ properties:
       - description: Pixel clock from DSI PHY0
       - description: GPLL0 DISP DIV clock from GCC
 
-  '#clock-cells':
-    const: 1
-
-  '#reset-cells':
-    const: 1
-
-  '#power-domain-cells':
-    const: 1
-
-  reg:
-    maxItems: 1
-
 required:
   - compatible
-  - reg
   - clocks
-  - '#clock-cells'
-  - '#reset-cells'
   - '#power-domain-cells'
 
-additionalProperties: false
+allOf:
+  - $ref: qcom,gcc.yaml#
+
+unevaluatedProperties: false
 
 examples:
   - |