summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
blob: 0589a63e273a126935eaffb54b0fffd6605380a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/samsung,exynos-clock.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung Exynos SoC clock controller

maintainers:
  - Chanwoo Choi <cw00.choi@samsung.com>
  - Krzysztof Kozlowski <krzk@kernel.org>
  - Sylwester Nawrocki <s.nawrocki@samsung.com>
  - Tomasz Figa <tomasz.figa@gmail.com>

description: |
  All available clocks are defined as preprocessor macros in
  dt-bindings/clock/ headers.

properties:
  compatible:
    oneOf:
      - enum:
          - samsung,exynos3250-cmu
          - samsung,exynos3250-cmu-dmc
          - samsung,exynos3250-cmu-isp
          - samsung,exynos4210-clock
          - samsung,exynos4412-clock
          - samsung,exynos5250-clock
      - items:
          - enum:
              - samsung,exynos5420-clock
              - samsung,exynos5800-clock
          - const: syscon

  clocks:
    minItems: 1
    maxItems: 4

  "#clock-cells":
    const: 1

  reg:
    maxItems: 1

required:
  - compatible
  - "#clock-cells"
  - reg

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/exynos5250.h>
    clock: clock-controller@10010000 {
        compatible = "samsung,exynos5250-clock";
        reg = <0x10010000 0x30000>;
        #clock-cells = <1>;
    };