treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / clock / qcom,rpmhcc.yaml
blob94e2f14eb9677ec7ee1b6ed5cc489cd30bf0d544
1 # SPDX-License-Identifier: GPL-2.0-only
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/bindings/clock/qcom,rpmhcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Technologies, Inc. RPMh Clocks Bindings
9 maintainers:
10   - Taniya Das <tdas@codeaurora.org>
12 description: |
13   Resource Power Manager Hardened (RPMh) manages shared resources on
14   some Qualcomm Technologies Inc. SoCs. It accepts clock requests from
15   other hardware subsystems via RSC to control clocks.
17 properties:
18   compatible:
19     enum:
20       - qcom,sc7180-rpmh-clk
21       - qcom,sdm845-rpmh-clk
22       - qcom,sm8150-rpmh-clk
24   clocks:
25     maxItems: 1
27   clock-names:
28     items:
29       - const: xo
31   '#clock-cells':
32     const: 1
34 required:
35   - compatible
36   - '#clock-cells'
38 examples:
39   # Example for GCC for SDM845: The below node should be defined inside
40   # &apps_rsc node.
41   - |
42     #include <dt-bindings/clock/qcom,rpmh.h>
43     rpmhcc: clock-controller {
44       compatible = "qcom,sdm845-rpmh-clk";
45       clocks = <&xo_board>;
46       clock-names = "xo";
47       #clock-cells = <1>;
48     };
49 ...