Commit 0f71ae94 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson

dt-bindings: clk: qcom,gcc-*: use qcom,gcc.yaml

Use qcom,gcc.yaml which contains a set of properties common to most
Qualcomm GCC bindings.
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220704172453.838303-2-dmitry.baryshkov@linaro.org
parent f6d373ff
...@@ -45,29 +45,16 @@ properties: ...@@ -45,29 +45,16 @@ properties:
description: description:
Phandle to voltage regulator providing power to the GX domain. Phandle to voltage regulator providing power to the GX domain.
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
required: required:
- compatible - compatible
- reg
- clocks - clocks
- clock-names - clock-names
- vdd_gfx-supply - vdd_gfx-supply
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -32,28 +32,15 @@ properties: ...@@ -32,28 +32,15 @@ properties:
- const: xo - const: xo
- const: sleep - const: sleep
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -49,30 +49,13 @@ properties: ...@@ -49,30 +49,13 @@ properties:
- const: ufs_rx_symbol_1_clk_src - const: ufs_rx_symbol_1_clk_src
- const: ufs_tx_symbol_0_clk_src - const: ufs_tx_symbol_0_clk_src
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
protected-clocks:
description:
Protected clock specifier list as per common clock binding.
required: required:
- compatible - compatible
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -37,32 +37,15 @@ properties: ...@@ -37,32 +37,15 @@ properties:
- const: core_bi_pll_test_se # Optional clock - const: core_bi_pll_test_se # Optional clock
minItems: 2 minItems: 2
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
protected-clocks:
description:
Protected clock specifier list as per common clock binding.
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -30,32 +30,15 @@ properties: ...@@ -30,32 +30,15 @@ properties:
- const: bi_tcxo - const: bi_tcxo
- const: sleep_clk - const: sleep_clk
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
protected-clocks:
description:
Protected clock specifier list as per common clock binding.
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -33,32 +33,15 @@ properties: ...@@ -33,32 +33,15 @@ properties:
- const: bi_tcxo_ao - const: bi_tcxo_ao
- const: sleep_clk - const: sleep_clk
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
protected-clocks:
description:
Protected clock specifier list as per common clock binding.
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -44,28 +44,15 @@ properties: ...@@ -44,28 +44,15 @@ properties:
- const: ufs_phy_tx_symbol_0_clk - const: ufs_phy_tx_symbol_0_clk
- const: usb3_phy_wrapper_gcc_usb30_pipe_clk - const: usb3_phy_wrapper_gcc_usb30_pipe_clk
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -32,32 +32,15 @@ properties: ...@@ -32,32 +32,15 @@ properties:
- const: bi_tcxo_ao - const: bi_tcxo_ao
- const: sleep_clk - const: sleep_clk
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
protected-clocks:
description:
Protected clock specifier list as per common clock binding.
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -56,30 +56,17 @@ properties: ...@@ -56,30 +56,17 @@ properties:
- description: First EMAC controller reference clock - description: First EMAC controller reference clock
- description: Second EMAC controller reference clock - description: Second EMAC controller reference clock
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
protected-clocks: protected-clocks:
maxItems: 389 maxItems: 389
required: required:
- compatible - compatible
- clocks - clocks
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -37,33 +37,16 @@ properties: ...@@ -37,33 +37,16 @@ properties:
- const: pcie_0_pipe_clk - const: pcie_0_pipe_clk
- const: pcie_1_pipe_clk - const: pcie_1_pipe_clk
'#clock-cells':
const: 1
'#reset-cells':
const: 1
power-domains: power-domains:
maxItems: 1 maxItems: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
protected-clocks:
description:
Protected clock specifier list as per common clock binding.
required: required:
- compatible - compatible
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
# Example for GCC for SDM845: # Example for GCC for SDM845:
......
...@@ -35,28 +35,15 @@ properties: ...@@ -35,28 +35,15 @@ properties:
- const: core_bi_pll_test_se # Optional clock - const: core_bi_pll_test_se # Optional clock
minItems: 2 minItems: 2
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -20,9 +20,6 @@ properties: ...@@ -20,9 +20,6 @@ properties:
compatible: compatible:
const: qcom,gcc-sdx65 const: qcom,gcc-sdx65
reg:
maxItems: 1
clocks: clocks:
items: items:
- description: Board XO source - description: Board XO source
...@@ -43,25 +40,15 @@ properties: ...@@ -43,25 +40,15 @@ properties:
- const: core_bi_pll_test_se # Optional clock - const: core_bi_pll_test_se # Optional clock
minItems: 5 minItems: 5
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
required: required:
- compatible - compatible
- reg
- clocks - clocks
- clock-names - clock-names
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -30,32 +30,15 @@ properties: ...@@ -30,32 +30,15 @@ properties:
- const: bi_tcxo - const: bi_tcxo
- const: sleep_clk - const: sleep_clk
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
protected-clocks:
description:
Protected clock specifier list as per common clock binding.
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -30,32 +30,15 @@ properties: ...@@ -30,32 +30,15 @@ properties:
- const: bi_tcxo - const: bi_tcxo
- const: sleep_clk - const: sleep_clk
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
protected-clocks:
description:
Protected clock specifier list as per common clock binding.
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -32,32 +32,15 @@ properties: ...@@ -32,32 +32,15 @@ properties:
- const: bi_tcxo_ao - const: bi_tcxo_ao
- const: sleep_clk - const: sleep_clk
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
protected-clocks:
description:
Protected clock specifier list as per common clock binding.
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -31,32 +31,15 @@ properties: ...@@ -31,32 +31,15 @@ properties:
- const: bi_tcxo - const: bi_tcxo
- const: sleep_clk - const: sleep_clk
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
protected-clocks:
description:
Protected clock specifier list as per common clock binding.
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -31,32 +31,15 @@ properties: ...@@ -31,32 +31,15 @@ properties:
- const: bi_tcxo - const: bi_tcxo
- const: sleep_clk - const: sleep_clk
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
protected-clocks:
description:
Protected clock specifier list as per common clock binding.
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -54,28 +54,15 @@ properties: ...@@ -54,28 +54,15 @@ properties:
- const: usb3_uni_phy_sec_gcc_usb30_pipe_clk # Optional clock - const: usb3_uni_phy_sec_gcc_usb30_pipe_clk # Optional clock
minItems: 2 minItems: 2
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
required: required:
- compatible - compatible
- clocks - clocks
- clock-names - clock-names
- reg
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -46,28 +46,15 @@ properties: ...@@ -46,28 +46,15 @@ properties:
- const: usb3_phy_wrapper_gcc_usb30_pipe_clk # Optional clock - const: usb3_phy_wrapper_gcc_usb30_pipe_clk # Optional clock
minItems: 2 minItems: 2
'#clock-cells':
const: 1
'#reset-cells':
const: 1
'#power-domain-cells':
const: 1
reg:
maxItems: 1
required: required:
- compatible - compatible
- reg
- clocks - clocks
- clock-names - clock-names
- '#clock-cells'
- '#reset-cells'
- '#power-domain-cells'
additionalProperties: false allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples: examples:
- | - |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment