xref: /freebsd/sys/contrib/device-tree/Bindings/sound/mediatek,mt2701-audio.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1*8d13bc63SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*8d13bc63SEmmanuel Vadot%YAML 1.2
3*8d13bc63SEmmanuel Vadot---
4*8d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/mediatek,mt2701-audio.yaml#
5*8d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8d13bc63SEmmanuel Vadot
7*8d13bc63SEmmanuel Vadottitle: MediaTek Audio Front End (AFE) PCM controller for mt2701
8*8d13bc63SEmmanuel Vadot
9*8d13bc63SEmmanuel Vadotdescription:
10*8d13bc63SEmmanuel Vadot  The AFE PCM node must be a subnode of the MediaTek audsys device tree node.
11*8d13bc63SEmmanuel Vadot
12*8d13bc63SEmmanuel Vadotmaintainers:
13*8d13bc63SEmmanuel Vadot  - Eugen Hristev <eugen.hristev@collabora.com>
14*8d13bc63SEmmanuel Vadot
15*8d13bc63SEmmanuel Vadotproperties:
16*8d13bc63SEmmanuel Vadot  compatible:
17*8d13bc63SEmmanuel Vadot    enum:
18*8d13bc63SEmmanuel Vadot      - mediatek,mt2701-audio
19*8d13bc63SEmmanuel Vadot      - mediatek,mt7622-audio
20*8d13bc63SEmmanuel Vadot
21*8d13bc63SEmmanuel Vadot  interrupts:
22*8d13bc63SEmmanuel Vadot    items:
23*8d13bc63SEmmanuel Vadot      - description: AFE interrupt
24*8d13bc63SEmmanuel Vadot      - description: ASYS interrupt
25*8d13bc63SEmmanuel Vadot
26*8d13bc63SEmmanuel Vadot  interrupt-names:
27*8d13bc63SEmmanuel Vadot    items:
28*8d13bc63SEmmanuel Vadot      - const: afe
29*8d13bc63SEmmanuel Vadot      - const: asys
30*8d13bc63SEmmanuel Vadot
31*8d13bc63SEmmanuel Vadot  power-domains:
32*8d13bc63SEmmanuel Vadot    maxItems: 1
33*8d13bc63SEmmanuel Vadot
34*8d13bc63SEmmanuel Vadot  clocks:
35*8d13bc63SEmmanuel Vadot    items:
36*8d13bc63SEmmanuel Vadot      - description: audio infra sys clock
37*8d13bc63SEmmanuel Vadot      - description: top audio mux 1
38*8d13bc63SEmmanuel Vadot      - description: top audio mux 2
39*8d13bc63SEmmanuel Vadot      - description: top audio sys a1 clock
40*8d13bc63SEmmanuel Vadot      - description: top audio sys a2 clock
41*8d13bc63SEmmanuel Vadot      - description: i2s0 source selection
42*8d13bc63SEmmanuel Vadot      - description: i2s1 source selection
43*8d13bc63SEmmanuel Vadot      - description: i2s2 source selection
44*8d13bc63SEmmanuel Vadot      - description: i2s3 source selection
45*8d13bc63SEmmanuel Vadot      - description: i2s0 source divider
46*8d13bc63SEmmanuel Vadot      - description: i2s1 source divider
47*8d13bc63SEmmanuel Vadot      - description: i2s2 source divider
48*8d13bc63SEmmanuel Vadot      - description: i2s3 source divider
49*8d13bc63SEmmanuel Vadot      - description: i2s0 master clock
50*8d13bc63SEmmanuel Vadot      - description: i2s1 master clock
51*8d13bc63SEmmanuel Vadot      - description: i2s2 master clock
52*8d13bc63SEmmanuel Vadot      - description: i2s3 master clock
53*8d13bc63SEmmanuel Vadot      - description: i2so0 hopping clock
54*8d13bc63SEmmanuel Vadot      - description: i2so1 hopping clock
55*8d13bc63SEmmanuel Vadot      - description: i2so2 hopping clock
56*8d13bc63SEmmanuel Vadot      - description: i2so3 hopping clock
57*8d13bc63SEmmanuel Vadot      - description: i2si0 hopping clock
58*8d13bc63SEmmanuel Vadot      - description: i2si1 hopping clock
59*8d13bc63SEmmanuel Vadot      - description: i2si2 hopping clock
60*8d13bc63SEmmanuel Vadot      - description: i2si3 hopping clock
61*8d13bc63SEmmanuel Vadot      - description: asrc0 output clock
62*8d13bc63SEmmanuel Vadot      - description: asrc1 output clock
63*8d13bc63SEmmanuel Vadot      - description: asrc2 output clock
64*8d13bc63SEmmanuel Vadot      - description: asrc3 output clock
65*8d13bc63SEmmanuel Vadot      - description: audio front end pd clock
66*8d13bc63SEmmanuel Vadot      - description: audio front end conn pd clock
67*8d13bc63SEmmanuel Vadot      - description: top audio a1 sys pd
68*8d13bc63SEmmanuel Vadot      - description: top audio a2 sys pd
69*8d13bc63SEmmanuel Vadot      - description: audio merge interface pd
70*8d13bc63SEmmanuel Vadot
71*8d13bc63SEmmanuel Vadot  clock-names:
72*8d13bc63SEmmanuel Vadot    items:
73*8d13bc63SEmmanuel Vadot      - const: infra_sys_audio_clk
74*8d13bc63SEmmanuel Vadot      - const: top_audio_mux1_sel
75*8d13bc63SEmmanuel Vadot      - const: top_audio_mux2_sel
76*8d13bc63SEmmanuel Vadot      - const: top_audio_a1sys_hp
77*8d13bc63SEmmanuel Vadot      - const: top_audio_a2sys_hp
78*8d13bc63SEmmanuel Vadot      - const: i2s0_src_sel
79*8d13bc63SEmmanuel Vadot      - const: i2s1_src_sel
80*8d13bc63SEmmanuel Vadot      - const: i2s2_src_sel
81*8d13bc63SEmmanuel Vadot      - const: i2s3_src_sel
82*8d13bc63SEmmanuel Vadot      - const: i2s0_src_div
83*8d13bc63SEmmanuel Vadot      - const: i2s1_src_div
84*8d13bc63SEmmanuel Vadot      - const: i2s2_src_div
85*8d13bc63SEmmanuel Vadot      - const: i2s3_src_div
86*8d13bc63SEmmanuel Vadot      - const: i2s0_mclk_en
87*8d13bc63SEmmanuel Vadot      - const: i2s1_mclk_en
88*8d13bc63SEmmanuel Vadot      - const: i2s2_mclk_en
89*8d13bc63SEmmanuel Vadot      - const: i2s3_mclk_en
90*8d13bc63SEmmanuel Vadot      - const: i2so0_hop_ck
91*8d13bc63SEmmanuel Vadot      - const: i2so1_hop_ck
92*8d13bc63SEmmanuel Vadot      - const: i2so2_hop_ck
93*8d13bc63SEmmanuel Vadot      - const: i2so3_hop_ck
94*8d13bc63SEmmanuel Vadot      - const: i2si0_hop_ck
95*8d13bc63SEmmanuel Vadot      - const: i2si1_hop_ck
96*8d13bc63SEmmanuel Vadot      - const: i2si2_hop_ck
97*8d13bc63SEmmanuel Vadot      - const: i2si3_hop_ck
98*8d13bc63SEmmanuel Vadot      - const: asrc0_out_ck
99*8d13bc63SEmmanuel Vadot      - const: asrc1_out_ck
100*8d13bc63SEmmanuel Vadot      - const: asrc2_out_ck
101*8d13bc63SEmmanuel Vadot      - const: asrc3_out_ck
102*8d13bc63SEmmanuel Vadot      - const: audio_afe_pd
103*8d13bc63SEmmanuel Vadot      - const: audio_afe_conn_pd
104*8d13bc63SEmmanuel Vadot      - const: audio_a1sys_pd
105*8d13bc63SEmmanuel Vadot      - const: audio_a2sys_pd
106*8d13bc63SEmmanuel Vadot      - const: audio_mrgif_pd
107*8d13bc63SEmmanuel Vadot
108*8d13bc63SEmmanuel Vadotrequired:
109*8d13bc63SEmmanuel Vadot  - compatible
110*8d13bc63SEmmanuel Vadot  - interrupts
111*8d13bc63SEmmanuel Vadot  - interrupt-names
112*8d13bc63SEmmanuel Vadot  - power-domains
113*8d13bc63SEmmanuel Vadot  - clocks
114*8d13bc63SEmmanuel Vadot  - clock-names
115*8d13bc63SEmmanuel Vadot
116*8d13bc63SEmmanuel VadotadditionalProperties: false
117