Commit | Line | Data |
---|---|---|
d3986650 GT |
1 | MT2701 with CS42448 CODEC |
2 | ||
3 | Required properties: | |
4 | - compatible: "mediatek,mt2701-cs42448-machine" | |
5 | - mediatek,platform: the phandle of MT2701 ASoC platform | |
6 | - audio-routing: a list of the connections between audio | |
7 | - mediatek,audio-codec: the phandles of cs42448 codec | |
8 | - mediatek,audio-codec-bt-mrg the phandles of bt-sco dummy codec | |
9 | - pinctrl-names: Should contain only one value - "default" | |
10 | - pinctrl-0: Should specify pin control groups used for this controller. | |
11 | - i2s1-in-sel-gpio1, i2s1-in-sel-gpio2: Should specify two gpio pins to | |
12 | control I2S1-in mux. | |
13 | ||
14 | Example: | |
15 | ||
16 | sound:sound { | |
17 | compatible = "mediatek,mt2701-cs42448-machine"; | |
18 | mediatek,platform = <&afe>; | |
19 | /* CS42448 Machine name */ | |
20 | audio-routing = | |
21 | "Line Out Jack", "AOUT1L", | |
22 | "Line Out Jack", "AOUT1R", | |
23 | "Line Out Jack", "AOUT2L", | |
24 | "Line Out Jack", "AOUT2R", | |
25 | "Line Out Jack", "AOUT3L", | |
26 | "Line Out Jack", "AOUT3R", | |
27 | "Line Out Jack", "AOUT4L", | |
28 | "Line Out Jack", "AOUT4R", | |
29 | "AIN1L", "AMIC", | |
30 | "AIN1R", "AMIC", | |
31 | "AIN2L", "Tuner In", | |
32 | "AIN2R", "Tuner In", | |
33 | "AIN3L", "Satellite Tuner In", | |
34 | "AIN3R", "Satellite Tuner In", | |
35 | "AIN3L", "AUX In", | |
36 | "AIN3R", "AUX In"; | |
37 | mediatek,audio-codec = <&cs42448>; | |
38 | mediatek,audio-codec-bt-mrg = <&bt_sco_codec>; | |
39 | pinctrl-names = "default"; | |
40 | pinctrl-0 = <&aud_pins_default>; | |
41 | i2s1-in-sel-gpio1 = <&pio 53 0>; | |
42 | i2s1-in-sel-gpio2 = <&pio 54 0>; | |
43 | }; |