Skip to content

Commit a469bf8

Browse files
Ansuelandersson
authored andcommitted
dt-bindings: clock: simplify qcom,gcc-apq8064 Documentation
Simplify qcon,gcc-apq8064 Documentation by using qcom,gcc.yaml as a template and remove the compatible from qcom,gcc.yaml Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Tested-by: Jonathan McDowell <noodles@earth.li> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220226135235.10051-3-ansuelsmth@gmail.com
1 parent a03965e commit a469bf8

2 files changed

Lines changed: 7 additions & 25 deletions

File tree

Documentation/devicetree/bindings/clock/qcom,gcc-apq8064.yaml

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: Qualcomm Global Clock & Reset Controller Binding for APQ8064
88

9+
allOf:
10+
- $ref: qcom,gcc.yaml#
11+
912
maintainers:
1013
- Stephen Boyd <sboyd@kernel.org>
1114
- Taniya Das <tdas@codeaurora.org>
@@ -17,22 +20,12 @@ description: |
1720
See also:
1821
- dt-bindings/clock/qcom,gcc-msm8960.h
1922
- dt-bindings/reset/qcom,gcc-msm8960.h
23+
- dt-bindings/clock/qcom,gcc-apq8084.h
24+
- dt-bindings/reset/qcom,gcc-apq8084.h
2025
2126
properties:
2227
compatible:
23-
const: qcom,gcc-apq8064
24-
25-
'#clock-cells':
26-
const: 1
27-
28-
'#reset-cells':
29-
const: 1
30-
31-
'#power-domain-cells':
32-
const: 1
33-
34-
reg:
35-
maxItems: 1
28+
const: qcom,gcc-apq8084
3629

3730
nvmem-cells:
3831
minItems: 1
@@ -53,21 +46,13 @@ properties:
5346
'#thermal-sensor-cells':
5447
const: 1
5548

56-
protected-clocks:
57-
description:
58-
Protected clock specifier list as per common clock binding.
59-
6049
required:
6150
- compatible
62-
- reg
63-
- '#clock-cells'
64-
- '#reset-cells'
65-
- '#power-domain-cells'
6651
- nvmem-cells
6752
- nvmem-cell-names
6853
- '#thermal-sensor-cells'
6954

70-
additionalProperties: false
55+
unevaluatedProperties: false
7156

7257
examples:
7358
- |

Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ description:
1515
power domains.
1616

1717
See also:
18-
- dt-bindings/clock/qcom,gcc-apq8084.h
19-
- dt-bindings/reset/qcom,gcc-apq8084.h
2018
- dt-bindings/clock/qcom,gcc-ipq4019.h
2119
- dt-bindings/clock/qcom,gcc-ipq6018.h
2220
- dt-bindings/reset/qcom,gcc-ipq6018.h
@@ -40,7 +38,6 @@ allOf:
4038
properties:
4139
compatible:
4240
enum:
43-
- qcom,gcc-apq8084
4441
- qcom,gcc-ipq4019
4542
- qcom,gcc-ipq6018
4643
- qcom,gcc-ipq8064

0 commit comments

Comments
 (0)