Commit Graph

1022 Commits

Author SHA1 Message Date
Linux Build Service Account 25ebbb584b Merge "hal: Add property for speaker protection v3" 2019-03-19 22:50:03 -07:00
Linux Build Service Account 184418415b Merge "Initial Android target definition for lito." 2019-03-19 07:30:08 -07:00
Banajit Goswami 526079aa9b hal: configs: Enable audio custom policy for Kona
Enable audio custom policy flag for Kona target.

Change-Id: I453cf7f524b9e607719fe16c10126ef052c395f9
2019-03-18 20:49:41 -07:00
Aalique Grahame 88d69c6e70 configs: kona: enable mirrorlink
Enable mirrorlink feature by default

CRs-Fixed: 2418503
Change-Id: I4d0d6fd8b6fb7a252df6877bbc728cb45461fc2c
2019-03-18 14:08:27 -07:00
Sujin Panicker ac42031215 sdm710: Disable sound trigger ffv flags
- Disable flags to avoid sound trigger related ffv
  libraries to be loaded from sound trigger hal
- Red Dragon target is not yet migrated to AHAL-6.0 consider
  enabling when moved to 6.0.

Change-Id: I5f81acd740c64e75dab755d3d94ed1ea1cc31a76
2019-03-15 11:10:24 +05:30
Karthikeyan Mani fdcdf94395 hal: remove unused mixer commands for Kona
Remove unused native mixer commands for Kona.

Change-Id: I8651702beef164c5882719af25587236af88a450
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-03-14 16:03:26 -07:00
Linux Build Service Account 20b28fb7ca Merge "sdm710: Disable ffv feature flag" 2019-03-14 11:11:30 -07:00
Linux Build Service Account 8cc9617aae Merge "hal: configs: update backend for handset device" 2019-03-14 05:14:49 -07:00
Linux Build Service Account 3dd8e23fa7 Merge "hal: kona: update soundtrigger mixer paths for QRD device" 2019-03-13 20:48:40 -07:00
Sujin Panicker 8423c35481 sdm710: Disable ffv feature flag
- Disable ffv feature flag temporarily to fix build error
- Red Dragon target is not yet migrated to AHAL-6.0 consider
  enabling when moved to 6.0.

Change-Id: Ibd23062bc1d49551a901d8afefeecfe2d6510a3d
2019-03-13 04:28:37 -07:00
Linux Build Service Account 958f6961ab Merge "hal: config: update mixer paths file name for Kona" 2019-03-13 02:39:36 -07:00
Linux Build Service Account a3f8455d44 Merge "hal: kona: remove unused listen_platform_info.xml" 2019-03-13 00:40:22 -07:00
Meng Wang 39f9346d54 hal: configs: update backend for handset device
Receiver on QRD device is connected to earpiece which has
different backend with speaker. Update backend for handset
device to RX_CDC_DMA_RX_0.

Change-Id: If37cd2bad15c6f6c59f6e507eb74c74a92d9bb85
2019-03-13 09:25:43 +08:00
Karthikeyan Mani 882fb71f40 hal: config: update mixer paths file name for Kona
Rename mtp mixer paths file to compile the updated
mixer paths file for Kona.

Change-Id: I3055c652fe32b83829997554be1794d2b148bfb8
2019-03-12 13:13:26 -07:00
Linux Build Service Account 967f3ea3e3 Merge "hal: config: fix mixer paths name mismatch for Kona cdp" 2019-03-11 23:18:04 -07:00
Linux Build Service Account 4afc524c11 Merge "config: Disable feature flag for QSSI compliance." 2019-03-10 22:44:49 -07:00
Banajit Goswami 405ad56616 hal: disable QSSI for audio on Kona target
QSSI for audio on Kona is not ready. Disable the feature flag for
Kona target.

Change-Id: Ibdbe79d02397482a612f421edec1e79ec9abc7b3
2019-03-08 17:00:34 -08:00
Linux Build Service Account 7df13dcd4e Merge "hal: kona: update missed audio properties for kona" 2019-03-08 08:05:47 -08:00
Samyak Jain 66ea924955 config: Disable feature flag for QSSI compliance.
Disabling QSSI feature flag for now to unblock
build failure. Will be enabled once it is fixed.

Change-Id: I4b8e7a96acae3fce4a5aa93e86492ec1776bb185
2019-03-08 16:55:03 +05:30
Meng Wang 0fea914231 hal: kona: update soundtrigger mixer paths for QRD device
VA macro is used for soundtrigger use cases on Kona.
Add mixer paths for corresponding use cases for QRD device.

Change-Id: I584e71755ea436db42f038b22cacda4ba9d780ff
2019-03-08 17:29:39 +08:00
Karthikeyan Mani 2db56d396a hal: config: fix mixer paths name mismatch for Kona cdp
Rename mtp mixer paths file to not have any device
specific tag so that this same file gets loaded for
cdp as well.

Change-Id: I63f5b7ff3ebb4dd217a6abbd7581d28f75f0d81e
2019-03-07 15:23:11 -08:00
Weiyin Jiang aec970e173 kona: disable audiohalext feature
Disable audiohalext feature.

Change-Id: I0b8976c271bbbb76d46770fe2538dafa5a0d0638
2019-03-07 00:40:12 -08:00
Meng Wang 0d7e3bb05f hal: kona: remove unused listen_platform_info.xml
listen_platform_info.xml is not used anymore on kona.
Remove it from kona config folder.

Change-Id: Ie93a721d1b2e11ba12969c6f4e19c7754c74e9d8
2019-03-06 18:57:14 -08:00
Linux Build Service Account 610bd7fa3b Merge "hal: config: Update PCM ID for different usecases" 2019-03-05 17:24:54 -08:00
Banajit Goswami eab9ad2eb7 hal: kona: update soundtrigger mixer paths to fix compilation error
Update the soundtrigger mixer paths file to fix parser errors during
compilation.

Change-Id: I3c5d82308a5e330a30443fcb68ddee4f38867391
2019-03-04 21:10:42 -08:00
Sudheer Papothi 2d39e3d044 hal: config: Update PCM ID for different usecases
Update PCM ID for different usecases for Kona target.

Change-Id: I7086c3b02a1a0b1ca1f38921c8cbc1a19a1f6f6a
2019-03-04 18:59:39 -08:00
Linux Build Service Account c8f3fddf87 Merge "config: remove USB devices in policy config file" 2019-03-04 01:17:02 -08:00
Linux Build Service Account a17b380afe Merge "config: update acdb dev id for primary playback" 2019-03-04 01:17:02 -08:00
Linux Build Service Account cc08e187b3 Merge "configs: conditionally disable audio device overlay." 2019-03-04 01:17:00 -08:00
Linux Build Service Account d0d780d41f Merge "config: update pri pcm sample rate for hfp-sco-wb" 2019-03-04 01:16:52 -08:00
Meng Wang 267816fff0 hal: kona: update missed audio properties for kona
Update missed audio prperties for kona.

Change-Id: Iea2ef376be5642a5ea2b7443f8829b778fde6b71
2019-03-04 10:09:03 +08:00
Linux Build Service Account 9341c03a96 Merge "configs: kona: Add mixer controls for headset SVA" 2019-03-02 20:12:49 -08:00
Linux Build Service Account 49326fd7b3 Merge "configs: kona: Add new common params and lsm_usecase for MD" 2019-03-02 20:12:48 -08:00
Linux Build Service Account 6efec777ec Merge "hal: update headphones mixer controls on Kona" 2019-03-02 20:12:47 -08:00
Derek Chen ccf24898b4 config: update pri pcm sample rate for hfp-sco-wb
Update primary AUX PCM sample rate configuration
for HFP SCO WB usecase.
Update custom xml configurations to align with adp.

Change-Id: I33454f969d8b84f8e7eab4c50c60100a63b8f9d7
2019-03-02 09:53:43 -08:00
Derek Chen ab6a1a5518 config: remove USB devices in policy config file
Remove USB device in audio policy configuration
files for USB Tunnel Mode support in automotive
targets.

Change-Id: I0ec43208457c5b362b24961dfb99269dadb27ff5
2019-03-02 09:48:54 -08:00
Derek Chen 2bacf8b5ef config: update acdb dev id for primary playback
Update ACDB device ID for primary playback
usecase to use default 6CH RX CoPP topology.

Change-Id: I5f19c1e306b6916a3ed3cb4216322ec557305c61
2019-03-02 09:46:16 -08:00
Meng Wang 30e970e618 hal: kona: update device setting for kona
Update mic, headphone and speaker setting for Kona MTP
and QRD devices.

Change-Id: I9459cfcda2b52363e120bb6bfca5613a61bbdb1d
2019-03-01 17:40:56 -08:00
Karthikeyan Mani bc05fa00ef hal: update headphones mixer controls on Kona
Headphone record uses ADC1 of internal codec and
needs power mode settings on play back path on Kona.

Change-Id: Id055c31425a20b23862c67fa03741bef6055b412
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-03-01 17:31:07 -08:00
Linux Build Service Account b5dc6873f1 Merge "configs: Disable 3D Audio project" 2019-03-01 15:43:04 -08:00
Manisha Agarwal 0173f7e0c3 Initial Android target definition for lito.
Initial Android target definition for lito.
Add config files.

Change-Id: I30e0dabb9a66b85dc0611bc25be05c278b650e18
2019-03-01 14:36:26 +05:30
Dallas Delaney 8e3899a09b configs: kona: Add mixer controls for headset SVA
Add mixer controls to enable headset SVA detections

Change-Id: Ie8f27675d811f7583f05f16aa4e7e63186313add
2019-02-28 16:11:47 -08:00
Quinn Male f355507225 configs: kona: Add new common params and lsm_usecase for MD
New common params:
 - transit_to_non_lpi_on_battery_charging: Barge-in support flag
   for car mode.
 - disable_lpi_budget: Remove budget restrictions for LPI
   configuration.
LSM usecase for music detection:
 - Music detection needs to run on ADSP so it needs lsm_usecase
   params.

Change-Id: Iae3ade1afbe9388899c3eeddac614a8c5cfdd430
2019-02-28 11:20:57 -08:00
Aniket Kumar Lata d4747c473a audio: Add supported encoding formats to A2DP devicePort
Add tag to define supported encoded formats by devices
on a HwModule.

Change-Id: I73f4e88ab55739a2e1d13af74ff586f5e634fb45
2019-02-27 10:37:16 -08:00
Linux Build Service Account 4088895837 Merge "configs: kona: Add ACDB device for headset SVA support" 2019-02-27 04:23:57 -08:00
Linux Build Service Account 17fb25d35b Merge "hal: kona: update soundtrigger mixer paths and platform info" 2019-02-27 04:23:41 -08:00
Linux Build Service Account 12b55bcffc Merge "kona: enable audio hal extn" 2019-02-27 02:24:09 -08:00
shoudil b5e44a6a35 configs: conditionally disable audio device overlay.
Use macro TARGET_USES_RRO to conditionally disable build-time
audio specific device overlays to support QSSI on kona.

Change-Id: I66c509893305e6646300c1a25ae6fda503b091a1
CRs-Fixed: 2405916
2019-02-27 10:16:07 +08:00
Arun Mirpuri 77ce795dc5 configs: Disable 3D Audio project
Disable 3D Audio project temporarily until upstreamed changes
are available in AOSP

Change-Id: I12da2ca2a69f5a857389c8b94b77d1f4d170a216
2019-02-26 16:14:59 -08:00
Quinn Male b97aaaca58 configs: kona: Add ACDB device for headset SVA support
Add APE headset mic ACDB device to platform xml.

Change-Id: Ifb07023d437192a4e2c5cc8dc4bd12b0f3601c54
2019-02-26 11:09:32 -08:00
Xiaoyu Ye ee5139cfca hal: kona: update soundtrigger mixer paths and platform info
VA macro is used for soundtrigger use cases on Kona.
Add mixer paths for corresponding use cases.
Update ACDB devices and add LPI enable flag to platform info.

Change-Id: I01bf93bf505fee4443ca4f40388d4831a74151a0
2019-02-26 10:50:59 -08:00
Weiyin Jiang 239190cd97 kona: enable audio hal extn
Enable audio hal extn feature.

Change-Id: I45f59b43aa7f92e112814f79ac0a1d26f9c48ed0
2019-02-26 11:54:43 +08:00
Meng Wang 9755aca6f9 configs: kona: update pcm id for compress offload
Update PCM ID to 7 for Compress offload playback.

CRs-Fixed: 2403264
Change-Id: Ib96d3930f53864e0d909d086f75632613069481e
2019-02-25 14:51:46 -08:00
Naresh Tanniru 4ab871b237 configs: Disabled custom policy
- Disable audio policymanager to fix
  compilation issues due to AOSP refresh

Change-Id: I47de0341f13524a7cef141f550c4ef2cc1a9c043
2019-02-25 03:18:40 -08:00
Aalique Grahame 9164219af3 configs: kona: Fix build error for a new SP
Temporarily disable custom audio policy

CRs-Fixed: 2396341
Change-Id: I332dc532d759cc304c868db7bd9811bc63fa25f3
2019-02-21 17:16:31 -08:00
Linux Build Service Account 4323029d51 Merge "config: Add a feature flag for QSSI compliance" 2019-02-20 06:05:06 -08:00
Linux Build Service Account 7ef4a40ff4 Merge "configs: trinket: Change ACDB ID of speaker to mono" 2019-02-20 06:05:04 -08:00
Samyak Jain 83f00580ec configs: mixer path changes for ADSP SVA
Mixer path changes for ADSP SVA for trinket tasha codec.

Change-Id: Id8671cd83532978800a9004ff0ff47ac911261b0
2019-02-19 14:51:00 +05:30
Samyak Jain 271b2fb468 config: Add a feature flag for QSSI compliance
Add a feature flag for QSSI compliance.

Change-Id: I226e793ecc760f3052dcab59081455de307e389b
2019-02-19 00:58:20 -08:00
Aditya Bavanari fa5ddb2579 configs: trinket: Change ACDB ID of speaker to mono
Change the ACDB ID of speaker to mono as trinket
internal codec variant supports only one speaker.

Change-Id: I8b1d59fe1df2ccc233c02242070acd66ccac591c
2019-02-19 12:55:36 +05:30
Aditya Bavanari a8a60b3255 configs: trinket: Update Tx DEC volume to 102
Update Tx DEC volume for all decimators to 102 from 84
in order to accommodate for the mic sensitivity and
tuning parameters.

CRs-Fixed: 2397002
Change-Id: Iaf627dc471d5dde02d1610cac948defbcae01b8e
2019-02-19 12:53:35 +05:30
Tanya Dixit 82e3751929 configs: trinket: Config changes on trinket
Config file changes for speaker protection and
handset gain on trinket. Add sound trigger
mixer paths for trinket tasha variant.

Change-Id: Id55a04f23e81693ee003d82ffa3323eb328606f3
2019-02-18 23:17:36 -08:00
Aditya Bavanari 7ae4a45bf9 configs: trinket: Add mixer paths for tasha variants
Add mixer paths for tasha and tashalite variants of
trinket target.

CRs-Fixed: 2378972
Change-Id: Idd023f947deb1c5678262007e028dc5eec6f7c05
2019-02-18 23:17:31 -08:00
Aditya Bavanari dffcdeff61 configs: trinket: Add config files for trinket target
Add config files for trinket target referred from
msmsteppe target.

Change-Id: I7db1cfbd4e99d840627bb169a78dc7b98ef5c75d
2019-02-18 23:17:22 -08:00
Hari Veerubhotla e56a5fa07a Initial Android target definition for trinket
Initial Android target definition for trinket
configuration files.

Change-Id: Ie1761dff7235a6625ebf4c378596c944a67d66ef
2019-02-18 23:17:10 -08:00
Manisha Agarwal 6ed72e63eb hal: Add property for speaker protection v3
Add vendor properties to control speaker protection v3
and default ADSP AFE API version.

CRs-Fixed: 2386900
Change-Id: I0d10458984bd07f1d7bd9a783ec2a2995b089b0d
2019-02-13 22:18:23 -08:00
Meng Wang b2ab186202 hal: enable USE_XML_AUDIO_POLICY_CONF for compilation
USE_XML_AUDIO_POLICY_CONF is needed for both STUB HAL and
primary HAL. Enable it for both.

Change-Id: Id4e2e2b6eafc18f980a45e15a6a015ae11cefe1c
2019-02-12 16:29:46 -08:00
Naresh Tanniru 6bcdccacb2 Fix build error for a new SP
Temporarily disable custom audio policy

Change-Id: I241618729d0d051f0097c94263a72d9a4ea35c42
2019-02-10 21:42:52 -08:00
Linux Build Service Account 68cc8af045 Merge "QMAA: Add support for HAL module disable" 2019-02-06 16:31:44 -08:00
Linux Build Service Account cfc707dd48 Merge "config: enable AHAL extension feature" 2019-02-06 07:29:19 -08:00
Linux Build Service Account aac0c301b3 Merge "hal: Add separate backend for headset-mic" 2019-02-06 01:32:09 -08:00
Linux Build Service Account 2efca04176 Merge "hal: add new property for GCS" 2019-02-05 14:35:47 -08:00
Linux Build Service Account 9e45bfef51 Merge "configs: Add support for QSSI" 2019-02-05 02:25:05 -08:00
Naresh Tanniru f61a81c447 configs: Add support for QSSI
- Add support for QSSI target to build
  system image
- QSSI is to support common system image
  across all targets & each target system
  image compilation will include audio
  qssi config files

Change-Id: I9e76a4d28712987235570634c5c40aa48648fbd5
2019-02-05 00:54:45 +05:30
Samyak Jain 118314e721 config: Add separate backend for headset-mic
Add separate backend for headset-mic for
concurrent record usecase.

Change-Id: I73a374f791a0646fcbd02b1a889fe7f5c5aafe42
2019-02-01 03:20:49 -08:00
Linux Build Service Account e859bba755 Merge changes I0b570bb8,If0f82077 into audio-hal.lnx.6.0
* changes:
  hal: Add support for two concurrent record sessions.
  config: Add support for two concurrent record sessions.
2019-02-01 03:10:18 -08:00
Samyak Jain 2725368d5e config: Add support for two concurrent record sessions.
Add new mixer control for compress record session
Update io policy to support more input profiles.

Change-Id: If0f820771e3d32eb4b1b264fd798ce0d26207e9f
2019-02-01 03:00:30 -08:00
Samyak Jain c5fe5426fa config: Enable concurrent record
Enable compress input flag and introduce
a new flag to enable concurrent record.

Change-Id: I2700aff2fb776eb56d127a5536bcb81d066cfad4
2019-02-01 00:23:18 -08:00
Naresh Tanniru 5beb813035 QMAA: Add support for HAL module disable
- Disable audio HAL modules compilation
  based on QMAA flag

Change-Id: I3ec8c82bfcf699a3bbf5e7133480a4bda1240a5a
2019-01-31 23:18:14 -08:00
Weiyin Jiang 34c3c23778 config: enable AHAL extension feature
Enable AHAL extension feature.

Change-Id: I2e99584a93cf316ad8745fc4b7784cf8faaef024
2019-01-31 22:50:09 -08:00
Weiyin Jiang e6ce631fc8 hal: add AHAL hidl registration entry
Add AHAL hidl registration entry, and register AHAL extension service
from adev_open().

Change-Id: Idce42ba6da97a26fde6c88d23b7be71b886e376f
2019-01-31 22:47:48 -08:00
Weiyin Jiang b4928136db audio: add audio configs xml
Add audio configs xml.

Change-Id: I9e128cf0d3c19b130ef825017989c1fddfb7febb
2019-01-31 19:35:06 -08:00
Aalique Grahame 57058a6c2f configs: unify configs
Unify audio configuration files

CRs-Fixed: 2380934
Change-Id: Id88d0940fd0d720d55cb1ae67098fdedcc0d6935
2019-01-18 16:38:26 -08:00
Meng Wang c688a065e0 hal: add new property for GCS
Add new property to disable GCS for kona.

Change-Id: I72d6f8b334998e32dcfd7922905a12848eb7b035
2019-01-10 09:37:46 +08:00
Linux Build Service Account e91b251694 Merge "sdm670: configs: Remove sdm670 configs" 2019-01-07 07:26:53 -08:00
Meng Wang b5ea195d36 hal: remove extra path to resolve compile failure for kona
Remove extra path to resolve compile failure for kona.

Change-Id: I6e0edc1733722e66348c45877cdc4be23f7a86e2
2019-01-07 13:01:01 +08:00
Sachin Mohan Gadag 5fecf1f4a0 sdm670: configs: Remove sdm670 configs
- Remove sdm670 configs as sdm710 configs are being used.

Change-Id: I71e7b0b6a636a3537baedde7243f92974448037e
2019-01-04 13:09:35 +05:30
Linux Build Service Account 6303662927 Merge "hal: add support for FFV get params" 2019-01-03 03:28:32 -08:00
Linux Build Service Account efcf1451ab Merge "configs: support 4 ch EC-ref for FFV" 2019-01-02 02:49:24 -08:00
Linux Build Service Account 1fa2973862 Merge "hal: add audio specific config files for kona" 2018-12-31 03:44:29 -08:00
Sidipotu Ashok aa4fa6a614 hal: add support for FFV get params
-Audio HAL to support FFV get_paramters via sound trigger
callback.

-FFV needs clients to pass down the SM handle info to get a few
paramerters with respect to the given SM handle but standard
get_parameters doesn't support kvpairs for input keys, it does
support for return of kvpairs, add support for a new delimiter
which will be used while sending keys in get_parameter.

-Enable Keep alive for Red Dragon

-Adjust volume gains based on the systems team tuned values

Change-Id: I96c7214b4a084568862e3550eaabbb9d51e253d9
2018-12-28 15:20:28 +05:30
Meng Wang 595b3d051e hal: add audio specific config files for kona
Create a new folder and add audio specific config files for kona.

Change-Id: Iaf9281fe3c93586cb358421d6190bde632a165bc
2018-12-26 15:07:42 +08:00
Linux Build Service Account 0337652dde Merge "QMAA: Add support for HAL module disable" 2018-12-25 21:15:01 -08:00
Linux Build Service Account c510b19fd4 Merge "configs: enable compander for sm6150 qrd" 2018-12-23 21:00:34 -08:00
Naresh Tanniru f129015268 QMAA: Add support for HAL module disable
- Disable audio HAL modules compilation
  based on QMAA flag

Change-Id: I3ec8c82bfcf699a3bbf5e7133480a4bda1240a5a
2018-12-18 23:02:27 +05:30
Linux Build Service Account fb1489dc69 Merge "msmsteppe_au: audio bring-up changes on auto platform" 2018-12-17 01:27:24 -08:00
Manisha Agarwal fb682e6076 configs: msmsteppe: Update audio config files
Update module ids for sva devices.
Add microphone info and device mapping.
Add route from voip_rx source to A2DP sinks.
Increase dmic gain to adjust with the change in sensitivity.

Change-Id: Ife0c0b4e2229a4b48b1aae46624ed60de742fed2
2018-12-12 21:57:42 -08:00
Linux Build Service Account eb31a01974 Merge "configs: Enable AAC frame control for A2DP" 2018-12-12 01:12:31 -08:00
Rahul Sharma 64c3ad1e8b msmsteppe_au: audio bring-up changes on auto platform
Initial changes to bring-up audio on automotive
platform, which include:
1. Add automotive snd card support in hw info.
2. Rename mixer_paths for automotive adp and custom
   snd card variant support.
3. Makefile update to load ADP acdb files for calibration.
4. Audio platform info override for acdb_id, pcm_id and
   backend selection.

Change-Id: I6e27bb7172d5393f12bb390dae99640be131299d
2018-12-12 00:39:07 -08:00
Sidipotu Ashok 502218af19 configs: support 4 ch EC-ref for FFV
- FFV now supports 4 ch EC ref, enable it for Red Dragon.

Change-Id: I464d54247b30a95f64d14e236c67b70570bbf3d2
2018-12-10 22:27:52 -08:00