summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml
blob: bee13436d1eae5001a539c4721484786afe331df (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
60
61
62
63
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/samsung,exynos4412-isp-clock.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung Exynos4412 SoC ISP 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: |
  Clock controller for Samsung Exynos4412 SoC FIMC-ISP (Camera ISP)
  All available clocks are defined as preprocessor macros in
  dt-bindings/clock/ headers.

properties:
  compatible:
    const: samsung,exynos4412-isp-clock

  clocks:
    items:
      - description: CLK_ACLK200 from the main clock controller
      - description: CLK_ACLK400_MCUISP from the main clock controller

  clock-names:
    items:
      - const: aclk200
      - const: aclk400_mcuisp

  "#clock-cells":
    const: 1

  power-domains:
    maxItems: 1

  reg:
    maxItems: 1

required:
  - compatible
  - "#clock-cells"
  - clocks
  - clock-names
  - power-domains
  - reg

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/exynos4.h>
    clock-controller@10048000 {
        compatible = "samsung,exynos4412-isp-clock";
        reg = <0x10048000 0x1000>;
        #clock-cells = <1>;
        power-domains = <&pd_isp>;
        clocks = <&clock CLK_ACLK200>, <&clock CLK_ACLK400_MCUISP>;
        clock-names = "aclk200", "aclk400_mcuisp";
    };