xref: /linux/Documentation/devicetree/bindings/clock/samsung,exynos-audss-clock.yaml (revision 8a1e6bb3f78f06432e095758476358d8cb63c03d)
1e1ec3909SKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2e1ec3909SKrzysztof Kozlowski%YAML 1.2
3e1ec3909SKrzysztof Kozlowski---
4e1ec3909SKrzysztof Kozlowski$id: http://devicetree.org/schemas/clock/samsung,exynos-audss-clock.yaml#
5e1ec3909SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6e1ec3909SKrzysztof Kozlowski
7e1ec3909SKrzysztof Kozlowskititle: Samsung Exynos SoC Audio SubSystem clock controller
8e1ec3909SKrzysztof Kozlowski
9e1ec3909SKrzysztof Kozlowskimaintainers:
10e1ec3909SKrzysztof Kozlowski  - Chanwoo Choi <cw00.choi@samsung.com>
11*8a1e6bb3SKrzysztof Kozlowski  - Krzysztof Kozlowski <krzk@kernel.org>
12e1ec3909SKrzysztof Kozlowski  - Sylwester Nawrocki <s.nawrocki@samsung.com>
13e1ec3909SKrzysztof Kozlowski  - Tomasz Figa <tomasz.figa@gmail.com>
14e1ec3909SKrzysztof Kozlowski
15e1ec3909SKrzysztof Kozlowskidescription: |
16e1ec3909SKrzysztof Kozlowski  All available clocks are defined as preprocessor macros in
17e1ec3909SKrzysztof Kozlowski  include/dt-bindings/clock/exynos-audss-clk.h header.
18e1ec3909SKrzysztof Kozlowski
19e1ec3909SKrzysztof Kozlowskiproperties:
20e1ec3909SKrzysztof Kozlowski  compatible:
21e1ec3909SKrzysztof Kozlowski    enum:
22e1ec3909SKrzysztof Kozlowski      - samsung,exynos4210-audss-clock
23e1ec3909SKrzysztof Kozlowski      - samsung,exynos5250-audss-clock
24e1ec3909SKrzysztof Kozlowski      - samsung,exynos5410-audss-clock
25e1ec3909SKrzysztof Kozlowski      - samsung,exynos5420-audss-clock
26e1ec3909SKrzysztof Kozlowski
27e1ec3909SKrzysztof Kozlowski  clocks:
28e1ec3909SKrzysztof Kozlowski    minItems: 2
29e1ec3909SKrzysztof Kozlowski    items:
30e1ec3909SKrzysztof Kozlowski      - description:
31e1ec3909SKrzysztof Kozlowski          Fixed rate PLL reference clock, parent of mout_audss. "fin_pll" is
32e1ec3909SKrzysztof Kozlowski          used if not specified.
33e1ec3909SKrzysztof Kozlowski      - description:
34e1ec3909SKrzysztof Kozlowski          Input PLL to the AudioSS block, parent of mout_audss. "fout_epll" is
35e1ec3909SKrzysztof Kozlowski          used if not specified.
36e1ec3909SKrzysztof Kozlowski      - description:
37e1ec3909SKrzysztof Kozlowski          Audio bus clock, parent of mout_i2s. "sclk_audio0" is used if not
38e1ec3909SKrzysztof Kozlowski          specified.
39e1ec3909SKrzysztof Kozlowski      - description:
40e1ec3909SKrzysztof Kozlowski          PCM clock, parent of sclk_pcm.  "sclk_pcm0" is used if not specified.
41e1ec3909SKrzysztof Kozlowski      - description:
42e1ec3909SKrzysztof Kozlowski          External i2s clock, parent of mout_i2s. "cdclk0" is used if not
43e1ec3909SKrzysztof Kozlowski          specified.
44e1ec3909SKrzysztof Kozlowski
45e1ec3909SKrzysztof Kozlowski  clock-names:
46e1ec3909SKrzysztof Kozlowski    minItems: 2
47e1ec3909SKrzysztof Kozlowski    items:
48e1ec3909SKrzysztof Kozlowski      - const: pll_ref
49e1ec3909SKrzysztof Kozlowski      - const: pll_in
50e1ec3909SKrzysztof Kozlowski      - const: sclk_audio
51e1ec3909SKrzysztof Kozlowski      - const: sclk_pcm_in
52e1ec3909SKrzysztof Kozlowski      - const: cdclk
53e1ec3909SKrzysztof Kozlowski
54e1ec3909SKrzysztof Kozlowski  "#clock-cells":
55e1ec3909SKrzysztof Kozlowski    const: 1
56e1ec3909SKrzysztof Kozlowski
57e1ec3909SKrzysztof Kozlowski  power-domains:
58e1ec3909SKrzysztof Kozlowski    maxItems: 1
59e1ec3909SKrzysztof Kozlowski
60e1ec3909SKrzysztof Kozlowski  reg:
61e1ec3909SKrzysztof Kozlowski    maxItems: 1
62e1ec3909SKrzysztof Kozlowski
63e1ec3909SKrzysztof Kozlowskirequired:
64e1ec3909SKrzysztof Kozlowski  - compatible
65e1ec3909SKrzysztof Kozlowski  - clocks
66e1ec3909SKrzysztof Kozlowski  - clock-names
67e1ec3909SKrzysztof Kozlowski  - "#clock-cells"
68e1ec3909SKrzysztof Kozlowski  - reg
69e1ec3909SKrzysztof Kozlowski
70e1ec3909SKrzysztof KozlowskiadditionalProperties: false
71e1ec3909SKrzysztof Kozlowski
72e1ec3909SKrzysztof Kozlowskiexamples:
73e1ec3909SKrzysztof Kozlowski  - |
74e1ec3909SKrzysztof Kozlowski    clock-controller@3810000 {
75e1ec3909SKrzysztof Kozlowski        compatible = "samsung,exynos5250-audss-clock";
76e1ec3909SKrzysztof Kozlowski        reg = <0x03810000 0x0c>;
77e1ec3909SKrzysztof Kozlowski        #clock-cells = <1>;
78e1ec3909SKrzysztof Kozlowski        clocks = <&clock 1>, <&clock 7>, <&clock 138>, <&clock 160>, <&ext_i2s_clk>;
79e1ec3909SKrzysztof Kozlowski        clock-names = "pll_ref", "pll_in", "sclk_audio", "sclk_pcm_in", "cdclk";
80e1ec3909SKrzysztof Kozlowski    };
81