Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: clock: Use gcc.yaml for common clock properties

Various of the camcc bindings are repeated serially. We can use
qcom,gcc.yaml to encapsulate the generic repeated patterns.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231026105345.3376-2-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Bryan O'Donoghue and committed by
Bjorn Andersson
4ab17216 b85ea95d

+20 -70
+4 -14
Documentation/devicetree/bindings/clock/qcom,camcc-sm8250.yaml
··· 15 15 16 16 See also:: include/dt-bindings/clock/qcom,camcc-sm8250.h 17 17 18 + allOf: 19 + - $ref: qcom,gcc.yaml# 20 + 18 21 properties: 19 22 compatible: 20 23 const: qcom,sm8250-camcc ··· 36 33 - const: bi_tcxo_ao 37 34 - const: sleep_clk 38 35 39 - '#clock-cells': 40 - const: 1 41 - 42 - '#reset-cells': 43 - const: 1 44 - 45 - '#power-domain-cells': 46 - const: 1 47 - 48 36 power-domains: 49 37 items: 50 38 - description: MMCX power domain ··· 50 56 51 57 required: 52 58 - compatible 53 - - reg 54 59 - clocks 55 60 - clock-names 56 - - '#clock-cells' 57 - - '#reset-cells' 58 - - '#power-domain-cells' 59 61 60 - additionalProperties: false 62 + unevaluatedProperties: false 61 63 62 64 examples: 63 65 - |
+4 -14
Documentation/devicetree/bindings/clock/qcom,sc7180-camcc.yaml
··· 15 15 16 16 See also:: include/dt-bindings/clock/qcom,camcc-sc7180.h 17 17 18 + allOf: 19 + - $ref: qcom,gcc.yaml# 20 + 18 21 properties: 19 22 compatible: 20 23 const: qcom,sc7180-camcc ··· 34 31 - const: iface 35 32 - const: xo 36 33 37 - '#clock-cells': 38 - const: 1 39 - 40 - '#reset-cells': 41 - const: 1 42 - 43 - '#power-domain-cells': 44 - const: 1 45 - 46 34 reg: 47 35 maxItems: 1 48 36 49 37 required: 50 38 - compatible 51 - - reg 52 39 - clocks 53 40 - clock-names 54 - - '#clock-cells' 55 - - '#reset-cells' 56 - - '#power-domain-cells' 57 41 58 - additionalProperties: false 42 + unevaluatedProperties: false 59 43 60 44 examples: 61 45 - |
+4 -14
Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml
··· 15 15 16 16 See also:: include/dt-bindings/clock/qcom,camcc-sc7280.h 17 17 18 + allOf: 19 + - $ref: qcom,gcc.yaml# 20 + 18 21 properties: 19 22 compatible: 20 23 const: qcom,sc7280-camcc ··· 34 31 - const: bi_tcxo_ao 35 32 - const: sleep_clk 36 33 37 - '#clock-cells': 38 - const: 1 39 - 40 - '#reset-cells': 41 - const: 1 42 - 43 - '#power-domain-cells': 44 - const: 1 45 - 46 34 reg: 47 35 maxItems: 1 48 36 49 37 required: 50 38 - compatible 51 - - reg 52 39 - clocks 53 40 - clock-names 54 - - '#clock-cells' 55 - - '#reset-cells' 56 - - '#power-domain-cells' 57 41 58 - additionalProperties: false 42 + unevaluatedProperties: false 59 43 60 44 examples: 61 45 - |
+4 -14
Documentation/devicetree/bindings/clock/qcom,sdm845-camcc.yaml
··· 15 15 16 16 See also:: include/dt-bindings/clock/qcom,camcc-sm845.h 17 17 18 + allOf: 19 + - $ref: qcom,gcc.yaml# 20 + 18 21 properties: 19 22 compatible: 20 23 const: qcom,sdm845-camcc ··· 30 27 items: 31 28 - const: bi_tcxo 32 29 33 - '#clock-cells': 34 - const: 1 35 - 36 - '#reset-cells': 37 - const: 1 38 - 39 - '#power-domain-cells': 40 - const: 1 41 - 42 30 reg: 43 31 maxItems: 1 44 32 45 33 required: 46 34 - compatible 47 - - reg 48 35 - clocks 49 36 - clock-names 50 - - '#clock-cells' 51 - - '#reset-cells' 52 - - '#power-domain-cells' 53 37 54 - additionalProperties: false 38 + unevaluatedProperties: false 55 39 56 40 examples: 57 41 - |
+4 -14
Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
··· 17 17 include/dt-bindings/clock/qcom,sm8450-camcc.h 18 18 include/dt-bindings/clock/qcom,sm8550-camcc.h 19 19 20 + allOf: 21 + - $ref: qcom,gcc.yaml# 22 + 20 23 properties: 21 24 compatible: 22 25 enum: ··· 43 40 description: 44 41 A phandle to an OPP node describing required MMCX performance point. 45 42 46 - '#clock-cells': 47 - const: 1 48 - 49 - '#reset-cells': 50 - const: 1 51 - 52 - '#power-domain-cells': 53 - const: 1 54 - 55 43 reg: 56 44 maxItems: 1 57 45 58 46 required: 59 47 - compatible 60 - - reg 61 48 - clocks 62 49 - power-domains 63 50 - required-opps 64 - - '#clock-cells' 65 - - '#reset-cells' 66 - - '#power-domain-cells' 67 51 68 - additionalProperties: false 52 + unevaluatedProperties: false 69 53 70 54 examples: 71 55 - |