xref: /freebsd/sys/contrib/device-tree/Bindings/clock/samsung,s5pv210-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,s5pv210-audss-clock.yaml#
5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
7354d7675SEmmanuel Vadottitle: Samsung S5Pv210 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/s5pv210-audss.h header.
18354d7675SEmmanuel Vadot
19354d7675SEmmanuel Vadotproperties:
20354d7675SEmmanuel Vadot  compatible:
21354d7675SEmmanuel Vadot    const: samsung,s5pv210-audss-clock
22354d7675SEmmanuel Vadot
23354d7675SEmmanuel Vadot  clocks:
24354d7675SEmmanuel Vadot    minItems: 4
25354d7675SEmmanuel Vadot    items:
26354d7675SEmmanuel Vadot      - description:
27354d7675SEmmanuel Vadot          AHB bus clock of the Audio Subsystem.
28354d7675SEmmanuel Vadot      - description:
29354d7675SEmmanuel Vadot          Optional fixed rate PLL reference clock, parent of mout_audss. If not
30354d7675SEmmanuel Vadot          specified (i.e. xusbxti is used for PLL reference), it is fixed to a
31354d7675SEmmanuel Vadot          clock named "xxti".
32354d7675SEmmanuel Vadot      - description:
33354d7675SEmmanuel Vadot          Input PLL to the AudioSS block, parent of mout_audss.
34354d7675SEmmanuel Vadot      - description:
35354d7675SEmmanuel Vadot          Audio bus clock, parent of mout_i2s.
36354d7675SEmmanuel Vadot      - description:
37354d7675SEmmanuel Vadot          Optional external i2s clock, parent of mout_i2s. If not specified, it
38354d7675SEmmanuel Vadot          is fixed to a clock named "iiscdclk0".
39354d7675SEmmanuel Vadot
40354d7675SEmmanuel Vadot  clock-names:
41354d7675SEmmanuel Vadot    minItems: 4
42354d7675SEmmanuel Vadot    items:
43354d7675SEmmanuel Vadot      - const: hclk
44354d7675SEmmanuel Vadot      - const: xxti
45354d7675SEmmanuel Vadot      - const: fout_epll
46354d7675SEmmanuel Vadot      - const: sclk_audio0
47354d7675SEmmanuel Vadot      - const: iiscdclk0
48354d7675SEmmanuel Vadot
49354d7675SEmmanuel Vadot  "#clock-cells":
50354d7675SEmmanuel Vadot    const: 1
51354d7675SEmmanuel Vadot
52354d7675SEmmanuel Vadot  power-domains:
53354d7675SEmmanuel Vadot    maxItems: 1
54354d7675SEmmanuel Vadot
55354d7675SEmmanuel Vadot  reg:
56354d7675SEmmanuel Vadot    maxItems: 1
57354d7675SEmmanuel Vadot
58354d7675SEmmanuel Vadotrequired:
59354d7675SEmmanuel Vadot  - compatible
60354d7675SEmmanuel Vadot  - clocks
61354d7675SEmmanuel Vadot  - clock-names
62354d7675SEmmanuel Vadot  - "#clock-cells"
63354d7675SEmmanuel Vadot  - reg
64354d7675SEmmanuel Vadot
65354d7675SEmmanuel VadotadditionalProperties: false
66354d7675SEmmanuel Vadot
67354d7675SEmmanuel Vadotexamples:
68354d7675SEmmanuel Vadot  - |
69354d7675SEmmanuel Vadot    #include <dt-bindings/clock/s5pv210.h>
70354d7675SEmmanuel Vadot
71354d7675SEmmanuel Vadot    clock-controller@c0900000 {
72354d7675SEmmanuel Vadot        compatible = "samsung,s5pv210-audss-clock";
73354d7675SEmmanuel Vadot        reg = <0xc0900000 0x1000>;
74354d7675SEmmanuel Vadot        #clock-cells = <1>;
75354d7675SEmmanuel Vadot        clock-names = "hclk", "xxti", "fout_epll", "sclk_audio0";
76354d7675SEmmanuel Vadot        clocks = <&clocks DOUT_HCLKP>, <&xxti>, <&clocks FOUT_EPLL>,
77354d7675SEmmanuel Vadot                 <&clocks SCLK_AUDIO0>;
78354d7675SEmmanuel Vadot    };
79