summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-05-29 16:47:00 +0200
committerBjorn Andersson <andersson@kernel.org>2024-06-01 01:07:30 +0200
commitb0ef3434da07e7516a89a80206af53ea81954a80 (patch)
tree87d38a1bf4d6c0cb8990fd58f3303b5c94b6394d /Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml
parentdt-bindings: clock: qcom,gcc-other: rename to qcom,mdm-mdm9607 (diff)
downloadlinux-b0ef3434da07e7516a89a80206af53ea81954a80.tar.xz
linux-b0ef3434da07e7516a89a80206af53ea81954a80.zip
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,sm4450-gcc.yaml')
-rw-r--r--Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml
index 5953c8d92436..0ac92d7871e1 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml
@@ -32,6 +32,7 @@ properties:
required:
- compatible
- clocks
+ - '#power-domain-cells'
allOf:
- $ref: qcom,gcc.yaml#