[v2,1/2] dt-bindings: clock: qcom,gcc-ipq8074: Use common GCC schema

Message ID 20221102163153.55460-1-krzysztof.kozlowski@linaro.org
State New
Headers
Series [v2,1/2] dt-bindings: clock: qcom,gcc-ipq8074: Use common GCC schema |

Commit Message

Krzysztof Kozlowski Nov. 2, 2022, 4:31 p.m. UTC
  Reference common Qualcomm GCC schema to remove common pieces.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>

---

Changes since v1:
1. Add Ack.
---
 .../bindings/clock/qcom,gcc-ipq8074.yaml      | 25 +++----------------
 1 file changed, 4 insertions(+), 21 deletions(-)
  

Comments

Krzysztof Kozlowski Nov. 2, 2022, 7:25 p.m. UTC | #1
On 02/11/2022 15:14, Stephen Boyd wrote:
> Quoting Krzysztof Kozlowski (2022-11-02 09:31:52)
>> Reference common Qualcomm GCC schema to remove common pieces.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> Acked-by: Rob Herring <robh@kernel.org>
>>
>> ---
> 
> Acked-by: Stephen Boyd <sboyd@kernel.org>
> 
> I figure Bjorn will apply them with other qcom clk patches.

Bjorn,

I think you need to update your scripts:
https://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=325924

Best regards,
Krzysztof
  
Bjorn Andersson Nov. 8, 2022, 5:01 a.m. UTC | #2
On Wed, 2 Nov 2022 12:31:52 -0400, Krzysztof Kozlowski wrote:
> Reference common Qualcomm GCC schema to remove common pieces.
> 
> 

Applied, thanks!

[1/2] dt-bindings: clock: qcom,gcc-ipq8074: Use common GCC schema
      commit: 842b4ca1cb8cf547dc63cfe37342f0704454ac2f
[2/2] dt-bindings: clock: qcom: Clean-up titles and descriptions
      commit: ece3c3198182a13825a7f02844894ba6a03d58d1

Best regards,
  

Patch

diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-ipq8074.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-ipq8074.yaml
index 21470f52ce36..ac6711ed01ba 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-ipq8074.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-ipq8074.yaml
@@ -17,34 +17,17 @@  description: |
   See also:
   - dt-bindings/clock/qcom,gcc-ipq8074.h
 
+allOf:
+  - $ref: qcom,gcc.yaml#
+
 properties:
   compatible:
     const: qcom,gcc-ipq8074
 
-  '#clock-cells':
-    const: 1
-
-  '#power-domain-cells':
-    const: 1
-
-  '#reset-cells':
-    const: 1
-
-  reg:
-    maxItems: 1
-
-  protected-clocks:
-    description:
-      Protected clock specifier list as per common clock binding.
-
 required:
   - compatible
-  - reg
-  - '#clock-cells'
-  - '#power-domain-cells'
-  - '#reset-cells'
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |