diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2023-10-26 12:53:42 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-12-07 17:00:51 +0100 |
commit | 4ab1721694a07651afef97dfb150f06c267cf2c4 (patch) | |
tree | e8e26f488598bcd898c377bc28bf7c745bf91c55 /Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml | |
parent | Linux 6.7-rc1 (diff) | |
download | linux-4ab1721694a07651afef97dfb150f06c267cf2c4.tar.xz linux-4ab1721694a07651afef97dfb150f06c267cf2c4.zip |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml index 01feef1cab0a..dcef8de3a905 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sc7280-camcc.yaml @@ -15,6 +15,9 @@ description: | See also:: include/dt-bindings/clock/qcom,camcc-sc7280.h +allOf: + - $ref: qcom,gcc.yaml# + properties: compatible: const: qcom,sc7280-camcc @@ -31,28 +34,15 @@ properties: - const: bi_tcxo_ao - const: sleep_clk - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - reg: maxItems: 1 required: - compatible - - reg - clocks - clock-names - - '#clock-cells' - - '#reset-cells' - - '#power-domain-cells' -additionalProperties: false +unevaluatedProperties: false examples: - | |