treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / clock / allwinner,sun4i-a10-cpu-clk.yaml
blob0dfafba1a168b0a4cc1d12d8dc90485a457f2bc6
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-cpu-clk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 CPU Clock Device Tree Bindings
9 maintainers:
10   - Chen-Yu Tsai <wens@csie.org>
11   - Maxime Ripard <mripard@kernel.org>
13 deprecated: true
15 properties:
16   "#clock-cells":
17     const: 0
19   compatible:
20     const: allwinner,sun4i-a10-cpu-clk
22   reg:
23     maxItems: 1
25   clocks:
26     maxItems: 4
27     description: >
28       The parent order must match the hardware programming order.
30   clock-output-names:
31     maxItems: 1
33 required:
34   - "#clock-cells"
35   - compatible
36   - reg
37   - clocks
38   - clock-output-names
40 additionalProperties: false
42 examples:
43   - |
44     cpu@1c20054 {
45         #clock-cells = <0>;
46         compatible = "allwinner,sun4i-a10-cpu-clk";
47         reg = <0x01c20054 0x4>;
48         clocks = <&osc32k>, <&osc24M>, <&pll1>, <&dummy>;
49         clock-output-names = "cpu";
50     };
52 ...