kfmapp: Add correct mixer ctl values for OMAP5

Also this patch replaces numerical mixer values with proper macro's.

Change-Id: I178d80518070c5d223e6de7c31fa3bb7e23787c5
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
FM Rx Digital: Enabling FM Rx Digital

Added the Mixer settings for enabling FM Rx digital.
FM digital data from Wilink will be fed to MM_EXT_IN(ABE) in OMAP via
I2S McBSP interface.

Note: Wilink chip FM I2S interface and OMAP McBSP/ABE also needs to be configured
additionally for FM Rx digital to work.

Change-Id: I8d65928e786b6d4c575dd08387f3b81c715d2833
Signed-off-by: Shitiz Kumar <shitiz_kumar@ti.com>
kfmapp: Add support for Russian and Weather bands

Change-Id: I9f83aefa492e85fcdc865a587e463a18fdfeacbb
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
kfmapp: Add support for wrap seek

Change-Id: I307ab7ac5ad317d3dcd3494da3e84969fffe8249
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
kfmapp: Add support for Complete Scan

Still need to add support for stop scan

Change-Id: I7f0bcdebed84010df8935d437f6cd1630d23cfa3
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
kfmapp: Add tuner type field before calling S_FREQ

Because of changes in V4L2 framework in K3.4, ioctl VIDEOC_S_FREQUENCY
first checks for type field before calling driver handler, so this patch
fills the type field before calling ioctl.

Change-Id: I99bfecb30f0a20c298461e4bfe77fcb870d61cea
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
kfmapp: Correcting FM audio mixer values

Change-Id: Ic73b3c2cb622763a73c4a70f7d570ab46f313686
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
FM GUI: Add the AID_FMRADIO permission to FM service

This patch adds AID_FMRADIO permission to FM Service
so that now FM Service can access the /dev/radio which
has the access permission only to AID_FMRADIO

This patch is similar to http://review.omapzoom.org/#/c/19554/
which was pushed to p-ics-mr1 branch
Cherry-pick from ICS to JB.

Change-Id: I5b91761a789c9a889089fc5b95fe5926f52421ca
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
FM_GUI: Update for FM RX GUI

This patch updates the overall look and feel of FM RX UI.

Change-Id: Ie8adf1451a08e86fce4b20fb98aec6e01449327d
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
FM GUI: Add support for Russian band and Weather Band

Change-Id: I8eb8dc2aa8bdba8f4229b1c5ef144640f49d0ece
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
FM GUI: Add support for FM Wrap Seek

Change-Id: Ib19dc60dd766077054d98a6158453ae57960ef29
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
FM GUI: Fix for reboot + set_band issue.

When set to other bands other than Europe and reboot the
board then next start of FM RX app use to fail, this patch
is fixing this issue.

Change-Id: I313f83158ba0d02e29274d6dbee0f5a812e3e291
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
FM GUI: Add support for Complete scan

Following features are supported as of now,

1) Start/Stop Complete Scan.
2) When pressed Start, new Activity launches and STOP option is
    given in new activity.
3) Complete Scan in weather band is not allowed.
4) Complete Scan with/without RDS enabled is working fine

Change-Id: I3ee68dc5392c19f5f0ae156d8893c9dd9d10d24c
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
FM GUI: Avoid unnecessary DEBUG prints

Change-Id: I3e19dfe37d8b1db68530a1b7ea3d7e7f697ea97d
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
Kfmapp: Enhance the RDS parsing

This patch parses the below mentioned RDS features
1) Traffic Message Channel (TMC), Traffic Announcment (TA) and
Traffic Program Identification (TP).
	This patch just decodes the Single Group TMC data but since
	unavailability of TMC location table we are not able to print
	out the exact name of the street instead we are printing the
	actual HEX value recieved from the station.
2) Program Identification and Extended Country Code (PI und ECC)
3) Decoder Identification (DI)
4) Music/Speech
5) Program Item Number (PIN)
6) Program Type Name (PTYN)
7) Enhanced Other Networks Information (EON)
8) EWS - Emergency Warning System

Also this patch Fixes the bug (kfmapp doesn't respond when RDS started).

Change-Id: I0893f6c653cc0aa79f34b068a812b7742e9f5875
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
FM GUI: Add tuner type field before calling S_FREQ ioctl

Because of changes in V4L2 framework in K3.4, ioctl
VIDEOC_S_FREQUENCY first checks for type field before
calling driver handler, so this patch fills the type
field before calling ioctl.

Change-Id: I3712707d582622ed3841fc892f79f947ed0bc032
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
FmService: Adding handling of audio focus

Requesting of audio focus allows to stop music playback
from other sources (like music players).
Also listening to audio focus changes allows to mute radio
if other player became active.

Change-Id: I159f0b4fc6ad8f544822587bf42fd5c8b56da94b
Signed-off-by: Ruslan Shymkevych <x0153342@ti.com>
wpan: Adds vendor library for TI's WiLink chipsets

This patch adds minimalalistic vendor library for newly
introduced Broadcom stack in Android JellyBean MR1 update.

Change-Id: Ib8b0ddea4d370da5cef461a45c296055d0be437d
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
wpan: Add rule to install copy BT firmware scripts

Also this patch removes unwanted SCO entries

Change-Id: Id18f422d4d9f7bc475ef98012bfeeaff6bbb67c2
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
Merge "wpan: Add rule to install copy BT firmware scripts" into d-jb-mr1-release