Skip to content

Commit 7e828d7

Browse files
krzkandersson
authored andcommitted
dt-bindings: clock: qcom,sm8450-gpucc: reference qcom,gcc.yaml
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-16-f947b24f1283@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 4da364c commit 7e828d7

1 file changed

Lines changed: 4 additions & 16 deletions

File tree

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

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,15 @@ properties:
3434
- description: GPLL0 main branch source
3535
- description: GPLL0 div branch source
3636

37-
'#clock-cells':
38-
const: 1
39-
40-
'#reset-cells':
41-
const: 1
42-
43-
'#power-domain-cells':
44-
const: 1
45-
46-
reg:
47-
maxItems: 1
48-
4937
required:
5038
- compatible
51-
- reg
5239
- clocks
53-
- '#clock-cells'
54-
- '#reset-cells'
5540
- '#power-domain-cells'
5641

57-
additionalProperties: false
42+
allOf:
43+
- $ref: qcom,gcc.yaml#
44+
45+
unevaluatedProperties: false
5846

5947
examples:
6048
- |

0 commit comments

Comments
 (0)