Add stub config file for JB tinyHAL.
This needs to be filled out based on our I2S tinymix settings.
diff --git a/audio/audio.pandaboard.xml b/audio/audio.pandaboard.xml
new file mode 100644
index 0000000..7293f03
--- /dev/null
+++ b/audio/audio.pandaboard.xml
@@ -0,0 +1,87 @@
+<!--
+
+ audio.pandaboard.xml
+
+ This file is adapted from audio.example.xml, which explains what
+ these mean, and may be viewed here:
+
+ http://opensource.wolfsonmicro.com/cgi-bin/gitweb.cgi?p=tinyhal.git;a=blob;f=audio.example.xml;h=4b74272c273349eee201d32a260584d525c5515f;hb=jb
+
+ -->
+
+<audiohal>
+ <mixer card="0">
+ <init>
+ <!-- # ABE playback path through DL1 -->
+ <ctl name="DL1 Mixer Multimedia" val="1"/>
+ <ctl name="Sidetone Mixer Playback" val="1"/>
+ <ctl name="DL1 PDM Switch" val="1"/>
+ <ctl name="DL1 Media Playback Volume" val="120"/>
+ <ctl name="SDT DL Volume" val="120"/>
+
+ <!-- # ABE PDM-UL Capture path -->
+ <ctl name="MUX_UL00" val="None"/>
+ <ctl name="MUX_UL11" val="AMic0"/>
+ <ctl name="MUX_UL10" val="AMic1"/>
+
+ <!-- # TWL6040 playback path -->
+ <ctl name="Headset Left Playback" val="1"/>
+ <ctl name="Headset Right Playback" val="1"/>
+ <ctl name="Capture Volume" val="4"/>
+
+ <!-- # TWL6040 Capture Path -->
+ <ctl name="Analog Left Capture Route" val="Aux/FM Left"/>
+ <ctl name="Capture Preamplifier Volume" val="2"/>
+
+ </init>
+ </mixer>
+
+<!-- Output devices. We don't actually have all of these, but we pretend. -->
+
+ <device name="speaker">
+ <!-- AUDIO_DEVICE_OUT_SPEAKER -->
+ </device>
+
+ <device name="earpiece">
+ <!-- AUDIO_DEVICE_OUT_EARPIECE -->
+ </device>
+
+ <device name="headset">
+ <!-- AUDIO_DEVICE_OUT_WIRED_HEADSET | AUDIO_DEVICE_IN_WIRED_HEADSET -->
+ </device>
+
+ <device name="headphone">
+ <!-- AUDIO_DEVICE_OUT_WIRED_HEADPHONE -->
+ </device>
+
+ <device name="voice">
+ <!-- AUDIO_DEVICE_IN_VOICE_CALL -->
+ </device>
+
+<!-- Input devices. Line-in is mic. -->
+
+ <device name="mic">
+ <!-- AUDIO_DEVICE_IN_BUILTIN_MIC -->
+ </device>
+
+<!-- Devices we don't pretend to have.
+ "sco" AUDIO_DEVICE_OUT_ALL_SCO | AUDIO_DEVICE_IN_ALL_SCO
+ "a2dp" AUDIO_DEVICE_OUT_ALL_A2DP
+ "usb" AUDIO_DEVICE_OUT_ALL_USB
+ "back mic" AUDIO_DEVICE_IN_BACK_MIC
+ "aux" AUDIO_DEVICE_IN_AUX_DIGITAL
+
+ Not configured:
+
+ "global" dummy global device
+ -->
+
+<!-- PCM input and output streams. -->
+
+ <stream type="pcm" dir="out" card="0" device="0">
+ </stream>
+
+ <stream type="pcm" dir="in" card="0" device="0">
+ </stream>
+
+</audiohal>
diff --git a/device.mk b/device.mk
index 2ac361f..5767ebc 100644
--- a/device.mk
+++ b/device.mk
@@ -27,7 +27,8 @@
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
device/ti/proprietary-open/wifi/omap4/LICENCE.ti-connectivity:root/LICENCE.ti-connectivity \
device/linaro/common/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \
- device/linaro/pandaboard/audio/audio_policy.conf:system/etc/audio_policy.conf
+ device/linaro/pandaboard/audio/audio_policy.conf:system/etc/audio_policy.conf \
+ device/linaro/pandaboard/audio/audio.pandaboard.xml:system/etc
PRODUCT_PACKAGES := \
make_ext4fs \