summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "TEMP: jacinto6evm: disable bluetooth permission""HEADmasterd-lollipop-releasePraneeth Bajjuri2015-01-211-1/+1
| | | | | | | | | Still see issues with Bluetooth service. So disabling for now. This reverts commit 88c190b824fdf57ebcb4a76c1ddb9f1363927617. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
* audio: Legacy: Use monotonic clock for presentation positionMisael Lopez Cruz2015-01-071-5/+13
| | | | | | | | | | The timestamp returned by AudioHAL's get_presentation_position() must be from the MONOTONIC clock. An additional flag has to be passed when opening the pcm ports in tinyalsa in order to get timestamps from the monotonic clock. Change-Id: Ib06c686985ae9229df59a2756c5da35e858e2d0e Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* jacinto6evm: add permission for backupVishal Mahaveer2015-01-021-0/+1
| | | | | | | New servoice added in lollipop Change-Id: If471b358bcfdf4ed109f9594ab26d30a226bb7ae Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: radio: use GateMP option in lad_dra7xxMisael Lopez Cruz2014-12-101-1/+1
| | | | | | | GateMP is required for radio rendering on the ARM side. Change-Id: Ib2d6e26f18dcb5ce3c69d6c172a912c659b4c843 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* audio: Legacy: Use pcm_update_avail for voice input framesMisael Lopez Cruz2014-12-041-3/+2
| | | | | | | | | | | | | | | | | | | The pcm input stream is said to be "steady" when the ALSA buffer has available frames to read. However, the input stream could go into the XRUN state when the voice thread takes too long between explicitly starting the stream and querying the number of available frames. For the purpose of determining whether the input stream is ready, the XRUN state means that the ALSA buffer is full and the audio frames can be read immediately. The number of available frames was previously queried using the pcm_get_htimestamp() function which returns an error when the stream is in overrun state and doesn't update the number of available frames. The pcm_update_avail() function does return the amount of available frames regardless of the stream state. Change-Id: I3afbb6f3d274b5f4fbd7133e48d2cbe51c223ccc Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* audio: Legacy: Use smaller ALSA buffersMisael Lopez Cruz2014-11-261-3/+3
| | | | | | | | Reduce the size of the ALSA buffers in order to reduce the audio latency. The new buffer sizes allow using fast tracks. Change-Id: I40f3af55cde72b1183d6fc8ffa8e01ecbef71a42 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* audio: Legacy: Use BT sound cardMisael Lopez Cruz2014-11-261-9/+25
| | | | | | | | | | Starting in kernel-3.14, Bluetooth SCO audio has a separate sound card. Previously, BT SCO was a PCM device of the primary card. The index of the BT SCO card is found dynamically when present in the system. Change-Id: I5c24e07df48b836473ce56170f9b12e5aac9f975 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* audio: Legacy: Zero-initialize allocated structsMisael Lopez Cruz2014-11-261-5/+5
| | | | | | | | | | Initialize to zeros the different structs used in the HAL. The HAL uses non-NULL checks to free temporary audio buffers. There were some aborts caused by freeing unallocated memory because the audio buffer pointers were not zero-initialized. Change-Id: I75ae704d5469e9e028bc7b67ef84b6a4047a7409 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* audio: Legacy: Remove BT SCO workaroundMisael Lopez Cruz2014-11-262-23/+1
| | | | | | | | | | WiLink 8 is now able to provide the PCM clocks until the voice call is completely terminated, so there is no risk of blocking read() and write() calls anymore. The workaround is no longer needed, so it is removed. Change-Id: Idb9c4d9dc9e2940c9ce6a9f49448a2fa9ad76ae2 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* audio: Legacy: Replace deprecated macros and methodsMisael Lopez Cruz2014-11-261-19/+9
| | | | | | | | | | | Replace deprecated macro audio_stream_frame_size() with the new per-stream direction macro: audio_stream_*_frame_size(). The get_supported_devices() method is also dropped as it's not required for API version 2.0. Change-Id: Ia7c1b6b020832401a0a6a018f704444ad465f78f Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* audio: Legacy: Fix input channel mask macroMisael Lopez Cruz2014-11-261-1/+1
| | | | | | | | | An incorrect channel mask macro was used to report the input channel mask. The correct macro is: audio_channel_in_mask_from_count(). Change-Id: I1b5c10980ddc7b034654d899d159df80ccc50b81 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* jacinto6evm: update bluedroid configurationVishal Mahaveer2014-11-143-0/+34
| | | | | | | | | Update bluedroid device configuration to enable car related Bluetooth profiles. Reference patch taken from device/lge/hammerhead. Change-Id: Idc3a00c98ce5a0f89153ad248d45994ad414ef0d Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: update fastboot script for J6 EVMVishal Mahaveer2014-11-141-1/+1
| | | | | | | Update fastboot script to keep 7" panel as default for J6 EVM boards. Change-Id: I26099079fa92b1b01b7da7d1e9d704ad263d08ab Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: enable OMAP_ENHANCEMENT flagVishal Mahaveer2014-11-121-1/+1
| | | | | | | Re-enable OMAP_ENHANCEMENT flag. Change-Id: I6d2253a96efcf5eedbc60ea5b443f4c702ca8f97 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* dra7xx: Add add dra7xx product libraries to the packageSunita Nadampalli2014-11-121-1/+1
| | | | | Change-Id: I8aa3990cbb5f8aded7c5ebb7d5a32ef4b8a65b96 Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
* Merge remote-tracking branch 'omap-mirror/d-kitkat-mr2.1-release-k3.14' into ↵Vishal Mahaveer2014-11-124-11/+7
|\ | | | | | | sync
| * audio: Legacy: Add DRA7xxEVM to supported cardsMisael Lopez Cruz2014-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There is an audio driver for the DRA7 EVM that supports a single PCM device (McASP3). The name of the card created by this driver is "DRA7xxEVM", so this name has to be added to the cards supported by this Audio HAL. The IN_CALL mode is supported in the Audio HAL but won't work with the "DRA7xxEVM" card because the PCM device used for BT is not implemented by the driver. Change-Id: Iacee36175cd4c90e74fce57f41cc6ca7c07291b9 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| * jacinto6evm: update fstab path for kernel 3.14Vishal Mahaveer2014-10-231-2/+2
| | | | | | | | | | | | | | Update external storage fstab path for kernel 3.14 Change-Id: I0f0ed41cb2faf2d27351c1deeda7c2422c15c02b Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
| * jacinto6evm: update fastboot script for kernel 3.14Vishal Mahaveer2014-10-221-8/+2
| | | | | | | | | | | | | | Update dtb file names for kernel 3.14 Change-Id: I83193b8eda5341d235efb7a9382916b6e82ca705 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
| * jacinto6evm: add libdrm to PRODUCT_PACKAGESVishal Mahaveer2014-10-141-1/+2
| | | | | | | | | | | | | | Add libdrm to list of PRODUCT_PACKAGES Change-Id: I224079898518bc21c08c199c484216712208ef72 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* | Revert "TEMP: jacinto6evm: disable bluetooth permission"Vishal Mahaveer2014-11-111-1/+1
| | | | | | | | | | | | | | | | | | Bluetooth error is now resolved. This reverts commit e53f56180daf92477fd6148a34a93073ef79b566. Change-Id: Ifb7ac6dee214f87d3bc254ef5dff7dabd3c3d292 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* | TEMP: jacinto6evm: disable bluetooth permissionVishal Mahaveer2014-11-101-1/+1
| | | | | | | | | | | | | | BT crashes at boot time, disable for time being Change-Id: I1b2d67585db3c8bab3dd9628f62ea90b1e9a820e Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* | jacinto6evm: TEMP: disable WLAN and OMAP_ENHANCEMENT flagsVishal Mahaveer2014-11-051-5/+5
| | | | | | | | | | | | | | Temporary for initial bring up. Change-Id: I42f4363492d77258e449b8c45fef841c05204879 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* | audio: Legacy: add parameters to open stream functionsVishal Mahaveer2014-11-051-2/+6
|/ | | | | | | Add new parameters needed in lollipop for open stream functions Change-Id: I69073c1fa908ef37d9097ed50fedc72cdd409a6d Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* audio: Legacy: Fix leave voice callMisael Lopez Cruz2014-08-281-1/+1
| | | | | | | | | The AudioHAL must leave the voice call only when it's no longer in the IN_CALL state. Previously, the voice call leave sequence was incorrectly executed when entering other modes (e.g. RINGTONE). Change-Id: Id0134706fcf1f5999a765c5152ff77ba15d86015 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* jacinto6evm: fix fastboot script for HS devicesVishal Mahaveer2014-08-261-1/+1
| | | | | | | | Commit 76b0af7cce79eed8bbe948546db1dab7e0681a14 broke the script for GP devices. This change fixes it. Change-Id: Icc786cb33a77519c50ec4d7d6fc37603518b65f1 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: fix fastboot script for HS devicesVishal Mahaveer2014-08-251-2/+4
| | | | | | | Use the correct file name for flashing QSPI on HS device EVM Change-Id: Iaefa5cbc524d390b594ef8fffbd4ee6608e000bb Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: enable FEATURE_DEVICE_ADMINVishal Mahaveer2014-08-131-0/+2
| | | | | | | add permission to support adding device admins Change-Id: Id9a146418e58c2bb05326bb290fc90a03b02a2d1 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: update fastboot script with revg optionVishal Mahaveer2014-08-081-1/+8
| | | | | | | | Add special argument --revg for flashing environemnt partition with special dtb file if available. Change-Id: I4f416c5292bc26f423307276383e3a9e61b521b3 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: SELinux: initial policy for enabling enforcing modeVishal Mahaveer2014-07-212-0/+5
| | | | | | | | | | With this change we are able to boot with enforcing mode. The rule added for healthd in this patch is taken from AOSP master. When we switch to next Android version, this policy could be removed. Change-Id: I8a87e1e4084c0186ae76b8b6f0cb87baf6e2ecf3 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: cleanup: remove legacy/unused configurationsVishal Mahaveer2014-07-084-46/+6
| | | | | | | Remove unused/legacy configurations from jacinto6evm device Change-Id: I046e4d1925a92e50096d5a32bc20b605fcc69fe9 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: cleanup: remove mtp host services and permissionsVishal Mahaveer2014-07-072-16/+0
| | | | | | | Remove MTP host related defenitions from jacinto6evm Change-Id: Ib58f46a505042626734039b238c986caca546360 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: update prebuilt kernel to latest oneVishal Mahaveer2014-06-111-0/+0
| | | | | | | | | | Update prebuilt kernel to more recent one config/kernel: commit d1683e8cecbf4132722a067d942af72c02fd7322 (origin/p-ti-android-3.8.y) Change-Id: I4801b0ba4cff5754c63ba2d1c67703d64686f3f1 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* audio: Legacy: BT SCO voice call supportMisael Lopez Cruz2014-06-032-24/+514
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Bluetooth SCO voice call has the following data flow: Uplink: +----------- SRC -----------+ | | McASP7 McASP3 | | Bluetooth Mic Downlink: +----------- SRC -----------+ | | McASP7 McASP3 | | Bluetooth Speaker The voice call uses the ALSA PCM devices that are normally used by the primary output and input. The primary output is switched to a null/dummy sink when the voice call starts, and switched back to the ALSA devices when the call ends. The null/dummy sink consumes the data at the same rate than an actual PCM device does, but does not render anything to an output device (e.g. speaker). Change-Id: I63a41de96c4ed34b60aab9240d10ad83c06c69ac Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* audio: Legacy: Use audio_route for kcontrol settingsMisael Lopez Cruz2014-06-036-163/+19
| | | | | | | | | Simplify the kcontrol settings through the audio_route library. The control settings are now moved to a XML audio paths file. Change-Id: I72670523968a6646aea28e1625798b04f7a7799f Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* audio: Legacy: Initialize Variables to NULLAngela Stegmaier2014-06-031-0/+2
| | | | | | | | | If uninitialized, then a crash may result if they were not successfully allocated during the constructor and then the destructor runs. Change-Id: Iad15e558fe6ba9b42aab482511cd30c1476f0f18 Signed-off-by: Angela Stegmaier <a0866189@ti.com>
* jacinto6evm: increase system image sizeVishal Mahaveer2014-05-291-1/+1
| | | | | | | Increase system image size from 512M to 768M Change-Id: If7c1f2919ebfb02e08b912a7e5974722c4947c98 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: radio: add insmod line for cmem moduleVishal Mahaveer2014-05-221-0/+3
| | | | | | | | | Radio now requires cmem module to run, cmem kernel module is not present in the system by default. Adding the line for supporting radio out of the box. Change-Id: I9bd65cd9c78b60bb20ee4de770effe9e64f359e7 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: add permissions for radioVishal Mahaveer2014-05-211-0/+2
| | | | | | | Add system permissions for cmem and i2c-5 device accessed by radio app Change-Id: I0372243649d368a0196eeb79f16dcbdc1472983b Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: add idc file for LDC 3001 touchscreen controllerVishal Mahaveer2014-05-162-0/+26
| | | | | | | Add idc file for supporting new touch screen controller Change-Id: Ibc6821495d00e49532f0253106b7e25f39397423 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: update external storage sysfs path in fstabVishal Mahaveer2014-05-152-3/+7
| | | | | | | | Update correct sysfs path in fstab file based on latest kernel. Also adding a missing service for sdcard storage. Change-Id: I1b28389e7000fd2aa3db1b4c404b4d4531e676dd Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: update fastboot script for supporting j6ecoVishal Mahaveer2014-05-141-16/+12
| | | | | | | Add steps in fastboot.sh script to flash device tree file based on cpu Change-Id: I7a3cb890035c258e46ae42bef248411c5fdcb3a1 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: Remove ITTIAM.WMA decoder entries from media_codec listSunita Nadampalli2014-04-161-16/+0
| | | | | | | | | Since ITTIAM.WMA codecs are no longer are supported on jacinto6, the corresponding entries have been removed from the media codec list of supported codecs. Change-Id: I24934fda247b8c7e0a7d33a11a0791a98c54afc0 Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
* jacinto6evm: copy vpetest to targetSundar Raman2014-04-161-1/+2
| | | | | | | | This patch copies the vpetest to the target folder vpetest helps validate the vpe features on 6AJ releases Change-Id: I05564629d2cda0eebee8a0af0d1032333cc9562f Signed-off-by: Sundar Raman <sunds@ti.com>
* audio: Enable remote submix AudioHALMisael Lopez Cruz2014-04-161-0/+2
| | | | | | | Enable the audio_hw module for the remote submix (WFD). Change-Id: Ib7c615a919bb5de744f1857f68847989777224a0 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* jacinto6evm: remove unused propertyVishal Mahaveer2014-04-141-1/+0
| | | | | | | | Based on the change http://review.omapzoom.org/35065 com.ti.omap_enhancement property is no longer used Change-Id: If6bce6ce83ad2a7543c43074666fd48e8000b9ec Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: ueventd: Add GNSS permissionRaghunandan Kamath2014-04-091-0/+3
| | | | | | | Update ueventd.jacinto6evmboard.rc file for GNSS permissions Change-Id: If5aa0dcabc5d640388184e9677925b0b1bf01c76 Signed-off-by: Raghunandan Kamath <r-kamath@ti.com>
* jacinto6evm: add changes for GNSSRaghunandan Kamath2014-04-091-0/+25
| | | | | | | | | - Define GNSS related services - Create folder structures needed for GNSS - Add step to load GNSS kernel module Change-Id: Iff5e9bf9d680e3a276c786e94b8ba7159de82dc2 Signed-off-by: Raghunandan Kamath <r-kamath@ti.com>
* jacinto6evm: update networkAttributesVishal Mahaveer2014-04-091-1/+0
| | | | | | | | | | | | | Remove wifi_p2p network. -- Similar to patch: commit a2e79fae23c5d5178ec7c534bd488eacc5d098ec on device/asus/tilapia Author: Robert Greenwalt <rgreenwalt@google.com> -- Change-Id: I1967b014c65a0a53fc81f570f4ec8d566b67344b Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* jacinto6evm: re-enable WLAN and BTEyal Reizer2014-04-092-4/+4
| | | | | | | | WLAN/BT were disabled initially during KitKat bringup. Enable them back. Change-Id: I6e9ccd3235fef64f6c8b669e3caf9ee87e889b15 Signed-off-by: Eyal Reizer <eyalr@ti.com>