msm: ultrasound: add support for proximity

Add support for the proximity daemon:
new command and definition in the DSP interface for the proximity usage

Change-Id: I5acd768d4beeb0dd9b30b6167365167974af2b78
Signed-off-by: Baruch Eruchimovitch <baruche@codeaurora.org>
Signed-off-by: poondog <markj338@gmail.com>
msm: ultrasound: add support for various msm families

Various msm families have differences in interface with QDSP6.
To support these differences some updates in the ultrasound framework's
source files hierarchy are required.
Ultrasound related interface with QDSP6 for msm family
is implemented in dedicated files; the proper directory,
including the files, is selected during the kernel build.

Change-Id: Ic60f5822670e5c511f997e34f9530fb87cc32d62
Signed-off-by: Baruch Eruchimovitch <baruche@codeaurora.org>
Signed-off-by: poondog <markj338@gmail.com>

Conflicts:
	arch/arm/mach-msm/Kconfig
Ultrasound: Palm Rejection Support for Protocol B TSC Drivers

The Ultrasound stylus can't work simultaneously with touch screen
driver, because Android input module can't handle events from multiple
input drivers. The solution proposed was to filter out touchscreen
driver events, this solution proved to be efficient for Touchscreen
drivers that work with multitouch protocol A, but for drivers working
with multitouch protocol B this solution was not enough to clear out
all touchscreen driver trace. This commit fixes this by 'free'ing all
mt slots allocated by the touchscreen driver before filtering out all
of touchscreen driver's events.

Change-Id: Icde80fc9e238a72dac30a46927a7863424b209a7

Signed-off-by: Rani Khoury <rkhoury@codeaurora.org>
Signed-off-by: poondog <markj338@gmail.com>
msm: ultrasound: add support for new msm family

Various msm families have differences in interface with QDSP6.
To support these differences some updates in the ultrasound framework's
source files hierarchy are required.
Ultrasound related interface with QDSP6 for msm family
is implemented in dedicated files; the proper directory,
including the files, is selected during the kernel build.

Change-Id: If3cf5a1d65695551d10831cc4c28975bae1e2774
Signed-off-by: Baruch Eruchimovitch <baruche@codeaurora.org>
Signed-off-by: poondog <markj338@gmail.com>