Skip to content

Commit

Permalink
dt-bindings: clock: simplify qcom,gcc-apq8064 Documentation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ansuel Smith authored and Bjorn Andersson committed Mar 8, 2022
1 parent a03965e commit a469bf8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 25 deletions.
29 changes: 7 additions & 22 deletions Documentation/devicetree/bindings/clock/qcom,gcc-apq8064.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm Global Clock & Reset Controller Binding for APQ8064

allOf:
- $ref: qcom,gcc.yaml#

maintainers:
- Stephen Boyd <sboyd@kernel.org>
- Taniya Das <tdas@codeaurora.org>
Expand All @@ -17,22 +20,12 @@ description: |
See also:
- dt-bindings/clock/qcom,gcc-msm8960.h
- dt-bindings/reset/qcom,gcc-msm8960.h
- dt-bindings/clock/qcom,gcc-apq8084.h
- dt-bindings/reset/qcom,gcc-apq8084.h
properties:
compatible:
const: qcom,gcc-apq8064

'#clock-cells':
const: 1

'#reset-cells':
const: 1

'#power-domain-cells':
const: 1

reg:
maxItems: 1
const: qcom,gcc-apq8084

nvmem-cells:
minItems: 1
Expand All @@ -53,21 +46,13 @@ properties:
'#thermal-sensor-cells':
const: 1

protected-clocks:
description:
Protected clock specifier list as per common clock binding.

required:
- compatible
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
- nvmem-cells
- nvmem-cell-names
- '#thermal-sensor-cells'

additionalProperties: false
unevaluatedProperties: false

examples:
- |
Expand Down
3 changes: 0 additions & 3 deletions Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ description:
power domains.

See also:
- dt-bindings/clock/qcom,gcc-apq8084.h
- dt-bindings/reset/qcom,gcc-apq8084.h
- dt-bindings/clock/qcom,gcc-ipq4019.h
- dt-bindings/clock/qcom,gcc-ipq6018.h
- dt-bindings/reset/qcom,gcc-ipq6018.h
Expand All @@ -40,7 +38,6 @@ allOf:
properties:
compatible:
enum:
- qcom,gcc-apq8084
- qcom,gcc-ipq4019
- qcom,gcc-ipq6018
- qcom,gcc-ipq8064
Expand Down

0 comments on commit a469bf8

Please sign in to comment.