[PATCH 5/8] dt-bindings: clock: qcom,qdu1000-ecpricc: Reference qcom,gcc.yaml

Satya Priya Kakitapalli posted 8 patches 3 months ago
There is a newer version of this series
[PATCH 5/8] dt-bindings: clock: qcom,qdu1000-ecpricc: Reference qcom,gcc.yaml
Posted by Satya Priya Kakitapalli 3 months ago
Reference the common qcom,gcc.yaml schema to unify the common
parts of the binding.

Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
---
 .../devicetree/bindings/clock/qcom,qdu1000-ecpricc.yaml | 17 ++++-------------
 1 file changed, 4 insertions(+), 13 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/qcom,qdu1000-ecpricc.yaml b/Documentation/devicetree/bindings/clock/qcom,qdu1000-ecpricc.yaml
index fd21df0e76976e6fecd32db5ee4a5eeec2757083..f452529437be8149ed83d95655bf89d34466f83e 100644
--- a/Documentation/devicetree/bindings/clock/qcom,qdu1000-ecpricc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,qdu1000-ecpricc.yaml
@@ -21,9 +21,6 @@ properties:
     enum:
       - qcom,qdu1000-ecpricc
 
-  reg:
-    maxItems: 1
-
   clocks:
     items:
       - description: Board XO source
@@ -34,20 +31,14 @@ properties:
       - description: GPLL4 source from GCC
       - description: GPLL5 source from GCC
 
-  '#clock-cells':
-    const: 1
-
-  '#reset-cells':
-    const: 1
-
 required:
   - compatible
-  - reg
   - clocks
-  - '#clock-cells'
-  - '#reset-cells'
 
-additionalProperties: false
+allOf:
+  - $ref: qcom,gcc.yaml#
+
+unevaluatedProperties: false
 
 examples:
   - |

-- 
2.25.1
Re: [PATCH 5/8] dt-bindings: clock: qcom,qdu1000-ecpricc: Reference qcom,gcc.yaml
Posted by Krzysztof Kozlowski 3 months ago
On 09/07/2025 11:37, Satya Priya Kakitapalli wrote:
> Reference the common qcom,gcc.yaml schema to unify the common
> parts of the binding.
> 
> Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
> ---
>  .../devicetree/bindings/clock/qcom,qdu1000-ecpricc.yaml | 17 ++++-------------
>  1 file changed, 4 insertions(+), 13 deletions(-)
> 
NAK

Best regards,
Krzysztof