Skip to content

Commit f68872f

Browse files
krzkandersson
authored andcommitted
dt-bindings: clock: qcom,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-7-f947b24f1283@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent b20b9a7 commit f68872f

1 file changed

Lines changed: 4 additions & 16 deletions

File tree

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

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,10 @@ properties:
5656
vdd-gfx-supply:
5757
description: Regulator supply for the VDD_GFX pads
5858

59-
'#clock-cells':
60-
const: 1
61-
62-
'#reset-cells':
63-
const: 1
64-
65-
'#power-domain-cells':
66-
const: 1
67-
68-
reg:
69-
maxItems: 1
70-
7159
required:
7260
- compatible
73-
- reg
7461
- clocks
7562
- clock-names
76-
- '#clock-cells'
77-
- '#reset-cells'
7863
- '#power-domain-cells'
7964

8065
# Require that power-domains and vdd-gfx-supply are not both present
@@ -83,7 +68,10 @@ not:
8368
- power-domains
8469
- vdd-gfx-supply
8570

86-
additionalProperties: false
71+
allOf:
72+
- $ref: qcom,gcc.yaml#
73+
74+
unevaluatedProperties: false
8775

8876
examples:
8977
- |

0 commit comments

Comments
 (0)