Lines Matching +full:pcm +full:- +full:clock +full:- +full:mode

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mediatek,mt8188-afe.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek AFE PCM controller for mt8188
10 - Trevor Wu <trevor.wu@mediatek.com>
14 const: mediatek,mt8188-afe
25 reset-names:
28 memory-region:
31 Shared memory region for AFE memif. A "shared-dma-pool".
32 See dtschema reserved-memory/shared-dma-pool.yaml for details.
42 power-domains:
47 - description: 26M clock
48 - description: audio pll1 clock
49 - description: audio pll2 clock
50 - description: clock divider for i2si1_mck
51 - description: clock divider for i2si2_mck
52 - description: clock divider for i2so1_mck
53 - description: clock divider for i2so2_mck
54 - description: clock divider for dptx_mck
55 - description: a1sys hoping clock
56 - description: audio intbus clock
57 - description: audio hires clock
58 - description: audio local bus clock
59 - description: mux for dptx_mck
60 - description: mux for i2so1_mck
61 - description: mux for i2so2_mck
62 - description: mux for i2si1_mck
63 - description: mux for i2si2_mck
64 - description: audio 26m clock
65 - description: audio pll1 divide 4
66 - description: audio pll2 divide 4
67 - description: clock divider for iec
68 - description: mux for a2sys clock
69 - description: mux for aud_iec
71 clock-names:
73 - const: clk26m
74 - const: apll1
75 - const: apll2
76 - const: apll12_div0
77 - const: apll12_div1
78 - const: apll12_div2
79 - const: apll12_div3
80 - const: apll12_div9
81 - const: top_a1sys_hp
82 - const: top_aud_intbus
83 - const: top_audio_h
84 - const: top_audio_local_bus
85 - const: top_dptx
86 - const: top_i2so1
87 - const: top_i2so2
88 - const: top_i2si1
89 - const: top_i2si2
90 - const: adsp_audio_26m
91 - const: apll1_d4
92 - const: apll2_d4
93 - const: apll12_div4
94 - const: top_a2sys
95 - const: top_aud_iec
97 mediatek,etdm-in1-cowork-source:
100 etdm modules can share the same external clock pin. Specify
101 which etdm clock source is required by this etdm in module.
103 - 1 # etdm2_in
104 - 2 # etdm1_out
105 - 3 # etdm2_out
107 mediatek,etdm-in2-cowork-source:
110 etdm modules can share the same external clock pin. Specify
111 which etdm clock source is required by this etdm in module.
113 - 0 # etdm1_in
114 - 2 # etdm1_out
115 - 3 # etdm2_out
117 mediatek,etdm-out1-cowork-source:
120 etdm modules can share the same external clock pin. Specify
121 which etdm clock source is required by this etdm out module.
123 - 0 # etdm1_in
124 - 1 # etdm2_in
125 - 3 # etdm2_out
127 mediatek,etdm-out2-cowork-source:
130 etdm modules can share the same external clock pin. Specify
131 which etdm clock source is required by this etdm out module.
133 - 0 # etdm1_in
134 - 1 # etdm2_in
135 - 2 # etdm1_out
138 "^mediatek,etdm-in[1-2]-chn-disabled$":
139 $ref: /schemas/types.yaml#/definitions/uint8-array
145 memory. etdm in supports disable_out in direct mode(w/o interconn),
152 "^mediatek,etdm-in[1-2]-multi-pin-mode$":
154 description: if present, the etdm data mode is I2S.
156 "^mediatek,etdm-out[1-3]-multi-pin-mode$":
158 description: if present, the etdm data mode is I2S.
161 - compatible
162 - reg
163 - interrupts
164 - resets
165 - reset-names
166 - mediatek,topckgen
167 - mediatek,infracfg
168 - power-domains
169 - clocks
170 - clock-names
175 - |
176 #include <dt-bindings/interrupt-controller/arm-gic.h>
177 #include <dt-bindings/interrupt-controller/irq.h>
180 compatible = "mediatek,mt8188-afe";
184 reset-names = "audiosys";
185 memory-region = <&snd_dma_mem_reserved>;
188 power-domains = <&spm 13>; //MT8188_POWER_DOMAIN_AUDIO
189 mediatek,etdm-in2-cowork-source = <2>;
190 mediatek,etdm-out2-cowork-source = <0>;
191 mediatek,etdm-in1-multi-pin-mode;
192 mediatek,etdm-in1-chn-disabled = /bits/ 8 <0x0 0x2>;
216 clock-names = "clk26m",