|
sound {
compatible = "myzr,myimx6-wm8962",
"fsl,imx-audio-wm8962";
model = "wm8962-audio";
cpu-dai = <&ssi2>;
audio-codec = <&codec>;
asrc-controller = <&asrc>;
audio-routing =
"Headphone Jack", "HPOUTL",
"Headphone Jack", "HPOUTR",
"Ext Spk", "SPKOUTL",
"Ext Spk", "SPKOUTR",
"MICBIAS", "AMIC",
"IN3R", "MICBIAS",
"DMIC", "MICBIAS",
"DMICDAT", "DMIC",
"CPU-Playback", "ASRC-Playback",
"Playback", "CPU-Playback",
"ASRC-Capture", "CPU-Capture",
"CPU-Capture", "Capture";
mux-int-port = <2>;
mux-ext-port = <3>;
hp-det-gpios = <&gpio1 5 1>;
};
我们耳机MX6QDL_PAD_GPIO_5__GPIO1_IO05 用的是GPIO_5管脚,因为拉低,默认是耳机输出,拉高是功放;自己增加管脚例如mic-det-gpios = <&gpio1 9 1>;(前提要定义GPIO管脚)
|
|