summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-05-29 17:47:00 +0300
committerBjorn Andersson <andersson@kernel.org>2024-06-01 02:07:30 +0300
commitb0ef3434da07e7516a89a80206af53ea81954a80 (patch)
tree87d38a1bf4d6c0cb8990fd58f3303b5c94b6394d /Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml
parentd99c899d2c42a37d331b8ac6f38c025884df15b2 (diff)
downloadlinux-b0ef3434da07e7516a89a80206af53ea81954a80.tar.xz
dt-bindings: clock: qcom,gcc: sort out power-domains support
On some of Qualcomm platforms the Global Clock Controller (GCC) doesn't provide power domains. Move requirement for the '#power-domain-cells' out of the common qcom,gcc.yaml into individual schema files. For the platforms that do not provide power-domains, explicitly forbid having the '#power-domain-cells' property. Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240529-qcom-gdscs-v2-2-69c63d0ae1e7@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml')
-rw-r--r--Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml
index 5681e535fede..5cfde8a4de4e 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml
@@ -65,6 +65,7 @@ properties:
required:
- compatible
- clocks
+ - '#power-domain-cells'
allOf:
- $ref: qcom,gcc.yaml#