diff options
author | Adam YH Lee <adam.yh.lee@gmail.com> | 2015-07-14 14:17:24 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-07-15 06:03:01 -0400 |
commit | 9908ac3daa3da2d236b5406b95d0865ddb8b29c4 (patch) | |
tree | 55946a3bacaa2835b7f741d10488c6444f6a79c9 | |
parent | f87d089d4469d05f565c8ce350b6631b14c4fff8 (diff) |
ARM: dts: Correct audio input route & set mic bias for am335x-pepper
Audio-in was incorrectly routed to Line In. It should be Mic3L as per
schematic.
Using mic-bias voltage at 2.0v (<0x1>) does not work for some reason. There
is no voltage seen on micbias (R127). Mic-bias voltage of 2.5v (<0x2>) works.
I see voltage of 2.475v across GND and micbias.
With these changes, I can record audio with a pair of proliferate TRRS earbuds.
Signed-off-by: Adam YH Lee <adam.yh.lee@gmail.com>
Acked-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/am335x-pepper.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/am335x-pepper.dts b/arch/arm/boot/dts/am335x-pepper.dts index 206c042a7c48..7106114c7464 100644 --- a/arch/arm/boot/dts/am335x-pepper.dts +++ b/arch/arm/boot/dts/am335x-pepper.dts | |||
@@ -74,6 +74,7 @@ | |||
74 | audio_codec: tlv320aic3106@1b { | 74 | audio_codec: tlv320aic3106@1b { |
75 | compatible = "ti,tlv320aic3106"; | 75 | compatible = "ti,tlv320aic3106"; |
76 | reg = <0x1b>; | 76 | reg = <0x1b>; |
77 | ai3x-micbias-vg = <0x2>; | ||
77 | }; | 78 | }; |
78 | 79 | ||
79 | accel: lis331dlh@1d { | 80 | accel: lis331dlh@1d { |
@@ -153,7 +154,7 @@ | |||
153 | ti,audio-routing = | 154 | ti,audio-routing = |
154 | "Headphone Jack", "HPLOUT", | 155 | "Headphone Jack", "HPLOUT", |
155 | "Headphone Jack", "HPROUT", | 156 | "Headphone Jack", "HPROUT", |
156 | "LINE1L", "Line In"; | 157 | "MIC3L", "Mic3L Switch"; |
157 | }; | 158 | }; |
158 | 159 | ||
159 | &mcasp0 { | 160 | &mcasp0 { |