xref: /freebsd/sys/contrib/device-tree/Bindings/clock/samsung,s5pv210-audss-clock.yaml (revision 354d7675fe12ace9cde344cb79c7ded792802f88)
1*354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*354d7675SEmmanuel Vadot%YAML 1.2
3*354d7675SEmmanuel Vadot---
4*354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/samsung,s5pv210-audss-clock.yaml#
5*354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*354d7675SEmmanuel Vadot
7*354d7675SEmmanuel Vadottitle: Samsung S5Pv210 SoC Audio SubSystem clock controller
8*354d7675SEmmanuel Vadot
9*354d7675SEmmanuel Vadotmaintainers:
10*354d7675SEmmanuel Vadot  - Chanwoo Choi <cw00.choi@samsung.com>
11*354d7675SEmmanuel Vadot  - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
12*354d7675SEmmanuel Vadot  - Sylwester Nawrocki <s.nawrocki@samsung.com>
13*354d7675SEmmanuel Vadot  - Tomasz Figa <tomasz.figa@gmail.com>
14*354d7675SEmmanuel Vadot
15*354d7675SEmmanuel Vadotdescription: |
16*354d7675SEmmanuel Vadot  All available clocks are defined as preprocessor macros in
17*354d7675SEmmanuel Vadot  include/dt-bindings/clock/s5pv210-audss.h header.
18*354d7675SEmmanuel Vadot
19*354d7675SEmmanuel Vadotproperties:
20*354d7675SEmmanuel Vadot  compatible:
21*354d7675SEmmanuel Vadot    const: samsung,s5pv210-audss-clock
22*354d7675SEmmanuel Vadot
23*354d7675SEmmanuel Vadot  clocks:
24*354d7675SEmmanuel Vadot    minItems: 4
25*354d7675SEmmanuel Vadot    items:
26*354d7675SEmmanuel Vadot      - description:
27*354d7675SEmmanuel Vadot          AHB bus clock of the Audio Subsystem.
28*354d7675SEmmanuel Vadot      - description:
29*354d7675SEmmanuel Vadot          Optional fixed rate PLL reference clock, parent of mout_audss. If not
30*354d7675SEmmanuel Vadot          specified (i.e. xusbxti is used for PLL reference), it is fixed to a
31*354d7675SEmmanuel Vadot          clock named "xxti".
32*354d7675SEmmanuel Vadot      - description:
33*354d7675SEmmanuel Vadot          Input PLL to the AudioSS block, parent of mout_audss.
34*354d7675SEmmanuel Vadot      - description:
35*354d7675SEmmanuel Vadot          Audio bus clock, parent of mout_i2s.
36*354d7675SEmmanuel Vadot      - description:
37*354d7675SEmmanuel Vadot          Optional external i2s clock, parent of mout_i2s. If not specified, it
38*354d7675SEmmanuel Vadot          is fixed to a clock named "iiscdclk0".
39*354d7675SEmmanuel Vadot
40*354d7675SEmmanuel Vadot  clock-names:
41*354d7675SEmmanuel Vadot    minItems: 4
42*354d7675SEmmanuel Vadot    items:
43*354d7675SEmmanuel Vadot      - const: hclk
44*354d7675SEmmanuel Vadot      - const: xxti
45*354d7675SEmmanuel Vadot      - const: fout_epll
46*354d7675SEmmanuel Vadot      - const: sclk_audio0
47*354d7675SEmmanuel Vadot      - const: iiscdclk0
48*354d7675SEmmanuel Vadot
49*354d7675SEmmanuel Vadot  "#clock-cells":
50*354d7675SEmmanuel Vadot    const: 1
51*354d7675SEmmanuel Vadot
52*354d7675SEmmanuel Vadot  power-domains:
53*354d7675SEmmanuel Vadot    maxItems: 1
54*354d7675SEmmanuel Vadot
55*354d7675SEmmanuel Vadot  reg:
56*354d7675SEmmanuel Vadot    maxItems: 1
57*354d7675SEmmanuel Vadot
58*354d7675SEmmanuel Vadotrequired:
59*354d7675SEmmanuel Vadot  - compatible
60*354d7675SEmmanuel Vadot  - clocks
61*354d7675SEmmanuel Vadot  - clock-names
62*354d7675SEmmanuel Vadot  - "#clock-cells"
63*354d7675SEmmanuel Vadot  - reg
64*354d7675SEmmanuel Vadot
65*354d7675SEmmanuel VadotadditionalProperties: false
66*354d7675SEmmanuel Vadot
67*354d7675SEmmanuel Vadotexamples:
68*354d7675SEmmanuel Vadot  - |
69*354d7675SEmmanuel Vadot    #include <dt-bindings/clock/s5pv210.h>
70*354d7675SEmmanuel Vadot
71*354d7675SEmmanuel Vadot    clock-controller@c0900000 {
72*354d7675SEmmanuel Vadot        compatible = "samsung,s5pv210-audss-clock";
73*354d7675SEmmanuel Vadot        reg = <0xc0900000 0x1000>;
74*354d7675SEmmanuel Vadot        #clock-cells = <1>;
75*354d7675SEmmanuel Vadot        clock-names = "hclk", "xxti", "fout_epll", "sclk_audio0";
76*354d7675SEmmanuel Vadot        clocks = <&clocks DOUT_HCLKP>, <&xxti>, <&clocks FOUT_EPLL>,
77*354d7675SEmmanuel Vadot                 <&clocks SCLK_AUDIO0>;
78*354d7675SEmmanuel Vadot    };
79