xref: /freebsd/sys/contrib/device-tree/Bindings/clock/samsung,exynos-audss-clock.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2354d7675SEmmanuel Vadot%YAML 1.2
3354d7675SEmmanuel Vadot---
4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/samsung,exynos-audss-clock.yaml#
5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
7354d7675SEmmanuel Vadottitle: Samsung Exynos SoC Audio SubSystem clock controller
8354d7675SEmmanuel Vadot
9354d7675SEmmanuel Vadotmaintainers:
10354d7675SEmmanuel Vadot  - Chanwoo Choi <cw00.choi@samsung.com>
11*c9ccf3a3SEmmanuel Vadot  - Krzysztof Kozlowski <krzk@kernel.org>
12354d7675SEmmanuel Vadot  - Sylwester Nawrocki <s.nawrocki@samsung.com>
13354d7675SEmmanuel Vadot  - Tomasz Figa <tomasz.figa@gmail.com>
14354d7675SEmmanuel Vadot
15354d7675SEmmanuel Vadotdescription: |
16354d7675SEmmanuel Vadot  All available clocks are defined as preprocessor macros in
17354d7675SEmmanuel Vadot  include/dt-bindings/clock/exynos-audss-clk.h header.
18354d7675SEmmanuel Vadot
19354d7675SEmmanuel Vadotproperties:
20354d7675SEmmanuel Vadot  compatible:
21354d7675SEmmanuel Vadot    enum:
22354d7675SEmmanuel Vadot      - samsung,exynos4210-audss-clock
23354d7675SEmmanuel Vadot      - samsung,exynos5250-audss-clock
24354d7675SEmmanuel Vadot      - samsung,exynos5410-audss-clock
25354d7675SEmmanuel Vadot      - samsung,exynos5420-audss-clock
26354d7675SEmmanuel Vadot
27354d7675SEmmanuel Vadot  clocks:
28354d7675SEmmanuel Vadot    minItems: 2
29354d7675SEmmanuel Vadot    items:
30354d7675SEmmanuel Vadot      - description:
31354d7675SEmmanuel Vadot          Fixed rate PLL reference clock, parent of mout_audss. "fin_pll" is
32354d7675SEmmanuel Vadot          used if not specified.
33354d7675SEmmanuel Vadot      - description:
34354d7675SEmmanuel Vadot          Input PLL to the AudioSS block, parent of mout_audss. "fout_epll" is
35354d7675SEmmanuel Vadot          used if not specified.
36354d7675SEmmanuel Vadot      - description:
37354d7675SEmmanuel Vadot          Audio bus clock, parent of mout_i2s. "sclk_audio0" is used if not
38354d7675SEmmanuel Vadot          specified.
39354d7675SEmmanuel Vadot      - description:
40354d7675SEmmanuel Vadot          PCM clock, parent of sclk_pcm.  "sclk_pcm0" is used if not specified.
41354d7675SEmmanuel Vadot      - description:
42354d7675SEmmanuel Vadot          External i2s clock, parent of mout_i2s. "cdclk0" is used if not
43354d7675SEmmanuel Vadot          specified.
44354d7675SEmmanuel Vadot
45354d7675SEmmanuel Vadot  clock-names:
46354d7675SEmmanuel Vadot    minItems: 2
47354d7675SEmmanuel Vadot    items:
48354d7675SEmmanuel Vadot      - const: pll_ref
49354d7675SEmmanuel Vadot      - const: pll_in
50354d7675SEmmanuel Vadot      - const: sclk_audio
51354d7675SEmmanuel Vadot      - const: sclk_pcm_in
52354d7675SEmmanuel Vadot      - const: cdclk
53354d7675SEmmanuel Vadot
54354d7675SEmmanuel Vadot  "#clock-cells":
55354d7675SEmmanuel Vadot    const: 1
56354d7675SEmmanuel Vadot
57354d7675SEmmanuel Vadot  power-domains:
58354d7675SEmmanuel Vadot    maxItems: 1
59354d7675SEmmanuel Vadot
60354d7675SEmmanuel Vadot  reg:
61354d7675SEmmanuel Vadot    maxItems: 1
62354d7675SEmmanuel Vadot
63354d7675SEmmanuel Vadotrequired:
64354d7675SEmmanuel Vadot  - compatible
65354d7675SEmmanuel Vadot  - clocks
66354d7675SEmmanuel Vadot  - clock-names
67354d7675SEmmanuel Vadot  - "#clock-cells"
68354d7675SEmmanuel Vadot  - reg
69354d7675SEmmanuel Vadot
70354d7675SEmmanuel VadotadditionalProperties: false
71354d7675SEmmanuel Vadot
72354d7675SEmmanuel Vadotexamples:
73354d7675SEmmanuel Vadot  - |
74354d7675SEmmanuel Vadot    clock-controller@3810000 {
75354d7675SEmmanuel Vadot        compatible = "samsung,exynos5250-audss-clock";
76354d7675SEmmanuel Vadot        reg = <0x03810000 0x0c>;
77354d7675SEmmanuel Vadot        #clock-cells = <1>;
78354d7675SEmmanuel Vadot        clocks = <&clock 1>, <&clock 7>, <&clock 138>, <&clock 160>, <&ext_i2s_clk>;
79354d7675SEmmanuel Vadot        clock-names = "pll_ref", "pll_in", "sclk_audio", "sclk_pcm_in", "cdclk";
80354d7675SEmmanuel Vadot    };
81