GNU Linux-libre 4.19.264-gnu1
[releases.git] / Documentation / devicetree / bindings / arm / mediatek / mediatek,audsys.txt
1 MediaTek AUDSYS controller
2 ============================
3
4 The MediaTek AUDSYS controller provides various clocks to the system.
5
6 Required Properties:
7
8 - compatible: Should be one of:
9         - "mediatek,mt2701-audsys", "syscon"
10         - "mediatek,mt7622-audsys", "syscon"
11 - #clock-cells: Must be 1
12
13 The AUDSYS controller uses the common clk binding from
14 Documentation/devicetree/bindings/clock/clock-bindings.txt
15 The available clocks are defined in dt-bindings/clock/mt*-clk.h.
16
17 Required sub-nodes:
18 -------
19 For common binding part and usage, refer to
20 ../sonud/mt2701-afe-pcm.txt.
21
22 Example:
23
24         audsys: clock-controller@11220000 {
25                 compatible = "mediatek,mt7622-audsys", "syscon";
26                 reg = <0 0x11220000 0 0x2000>;
27                 #clock-cells = <1>;
28
29                 afe: audio-controller {
30                         ...
31                 };
32         };