summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authormark <mcampbellsmith@gmail.com>2013-04-30 21:03:46 +1000
committermark <mcampbellsmith@gmail.com>2013-04-30 21:03:46 +1000
commita38078ae67a818482c6c5db1eb6887db0b6562e9 (patch)
tree80ed1726b0eab4222fbd2b350cbb6f4847a599bd /configs
parentfce8d658847dec3ffbd5a10bb4dcafc8f02e33ea (diff)
downloaddevice_samsung_i9305-a38078ae67a818482c6c5db1eb6887db0b6562e9.zip
device_samsung_i9305-a38078ae67a818482c6c5db1eb6887db0b6562e9.tar.gz
device_samsung_i9305-a38078ae67a818482c6c5db1eb6887db0b6562e9.tar.bz2
i9305: clean up dock audio configuration
Separate the dock configuration for analogue-dock and digital-dock. Previous configuration meant the analogue-dock configuration for AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET was never applied Change-Id: I0239cf13bf6e8e85cf8033b91e1832e10f9b3315
Diffstat (limited to 'configs')
-rw-r--r--configs/tiny_hw.xml21
1 files changed, 20 insertions, 1 deletions
diff --git a/configs/tiny_hw.xml b/configs/tiny_hw.xml
index 6cfc499..ae3d8a6 100644
--- a/configs/tiny_hw.xml
+++ b/configs/tiny_hw.xml
@@ -213,7 +213,26 @@ We are able to have most of our routing static so do that
<ctl name="AIF2DAC2R Mixer AIF1.1 Switch" val="0"/>
</path>
</device>
-<device name="dock">
+<device name="analogue-dock">
+ <path name="on">
+ <ctl name="LINEOUT2N Switch" val="1"/>
+ <ctl name="LINEOUT2P Switch" val="1"/>
+ <ctl name="LINEOUT2N Mixer Left Output Switch" val="1"/>
+ <ctl name="LINEOUT2N Mixer Right Output Switch" val="0"/>
+ <ctl name="LINEOUT2P Mixer Right Output Switch" val="1"/>
+ <ctl name="LINE Switch" val="1"/>
+ <ctl name="LineoutSwitch Mode" val="1"/>
+ <ctl name="Left Output Mixer DAC Volume" val="7"/>
+ <ctl name="Right Output Mixer DAC Volume" val="7"/>
+ </path>
+ <path name="off">
+ <ctl name="LineoutSwitch Mode" val="0"/>
+ <ctl name="LINEOUT2N Switch" val="0"/>
+ <ctl name="LINEOUT2P Switch" val="0"/>
+ <ctl name="LINE Switch" val="0"/>
+ </path>
+</device>
+<device name="digital-dock">
<path name="on">
<ctl name="LINEOUT2N Switch" val="1"/>
<ctl name="LINEOUT2P Switch" val="1"/>