Commit graph

212 commits

Author SHA1 Message Date
Max Weffers
26da63dffb
clover: deps: switch to common kernel
Change-Id: I108cbf2702f82cfe825e44265916aefceaaa0778
2020-04-24 15:36:33 +02:00
Max Weffers
0a3d146f89
clover: prepare for new kernel
Change-Id: Id48334e22316d487a148dadc46b781e6908968c4
2020-04-24 15:32:20 +02:00
Max Weffers
3be79c71b8
clover: Import sensors from common vendor
Change-Id: I07741825a4248b6ec0ebd873a0a71e1c36db4b97
2020-04-24 15:32:19 +02:00
Anush02198
a228617fb2
clover: Audio: Add speaker gain combo in mixer path
*Add spkr-gain-in-headphone-combo , spkr-gain-in-line-combo , spkr-safe-gain-in-line-combo , speaker-gain-default , spkr-safe-gain-in-line-combo and spkr-safe-gain-in-headphone-combo
* This should help us fixing E audio_hw_pr.. :Unable to find 'spkr-gain-in-headphone-combo'
* Also fix rest dependency if needed

Change-Id: I296560768dd938486981615c38fab54a34e1dbd7
2020-04-24 15:32:19 +02:00
pranavkapoor001
1531743d9d
clover: Audio: Add hph-lowpower-mode
Change-Id: I2ba1999b7df23888b87070e1316cef3ca68e00a2
2020-04-24 15:32:19 +02:00
Max Weffers
3543d249b7
clover: unify DRM and Keymaster libs
Change-Id: I9620e1316eac1d0a23cf25dc7f4969fdc826d2df
2020-04-24 15:32:17 +02:00
Max Weffers
0a1ec71cd2
clover: Make Dependencies ready for Official Release 2020-04-08 10:24:54 +02:00
Aryan Gupta
65a451821b
clover: add device specific cryptfs_hw
since it's nuked in common tree

Change-Id: I284b9d3335abff4be56ad28c66b5dd67bf126550
2020-01-31 16:35:24 +01:00
Davide Garberi
edc9a09d7c
clover: audio: Add all routes for headphones-hifi-filter
* These are needed since caf chose to introduce these routes for TRS headphones
* Reference: https://github.com/LineageOS/android_hardware_qcom_audio/commit/10d22b9b

Change-Id: I270d40d015bb57f004e51013f73e86060e9dfa48
2020-01-28 16:42:45 +01:00
Gabriele M
a6fcea92b0
clover: audio: Add voice-hac-handset path
The HAL expects voice-hac-handset.

Change-Id: I5926071d6074e829fa33f551b1a6ba44d0bf888b
2020-01-11 10:43:15 +01:00
Max Weffers
012522dd48
clover: build: Update dependencies for PAX Release 2020-01-10 17:20:47 +01:00
Max Weffers
7b0e0c60a0
clover: Treewide: Cleanup and Reorder
* Remove Double Definition
* Reordeder Alphabetic
* Move Audio and Media Files to Configs
* Move sensor files to configs
* Reorder Properties
* Fix whitespaces
2020-01-02 14:26:30 +01:00
Kunlei Zhang
35b0612b99
clover: configs: configure channel number for voip echo reference
Configure channel number for voip echo reference to ensure voip
tx path is started properly.

Change-Id: I3433f2884c5fb6712aecad910aebf06423e4e684
2020-01-02 12:59:12 +01:00
kunleiz
28fbd22456
clover: configs: add mixer path for voip echo reference
Add mixer path entries to support voip echo reference
with using AUDIO_REF_EC_UL10 mixer.

CRs-Fixed: 2329216
Change-Id: I5bcc653e5cb5d51c44745b04c2fb7290c681cc6c

taken from here https://source.codeaurora.org/external/gigabyte/platform/hardware/qcom/audio/commit/configs?h=LA.UM.8.1.r1-13000-sm8150.0&id=001b677cd5acfcb2b4a4862d1326f6c15e552e9c
2020-01-02 12:54:08 +01:00
ramandeep trehan
a9d3682617
clover: init: Start qseecom daemon as early as possible for FBE
Qseecom needs to start at earlier stage for FBE to work properly.

Change-Id: Ie2408f652df291ad6a1b0dee1e4d559ff35c7c45
Signed-off-by: Ramandeep Trehan <rtrehan@codeaurora.org>
2020-01-02 11:40:40 +01:00
Max Weffers
38fe2f0836
clover: Fix bt mic while in call with fluence enable 2019-12-30 22:52:37 +01:00
Max Weffers
906bbd45a5
clover: audio: use Both bottom speaker for stereo audio 2019-12-17 17:39:04 +01:00
Max Weffers
da0459f87f
clover: audio: Import missing SND_Devices from MIUI 10
clover-user 8.1.0 OPM1.171019.019 V10.3.2.0.ODJCNXM
2019-12-17 17:25:03 +01:00
Sujin Panicker
c35e8f7825
clover: configs: Add speaker-safe mixer paths to all targets
Add mixer paths for speaker-safe device for sdm845,
sdm710, sdm660, & msm8998 targets.

CRs-Fixed: 2528564
Change-Id: Ie6686682f28075eaca6535e17011fb18477af80b
2019-12-17 17:17:54 +01:00
Prasad Kumpatla
250a93dac7
clover: audio: add mixer controls and be updation in platform_info
For custom_upsampler, add mixer controls and backend updation in
platform info in atoll, kona and steppe.

* fixes Headphones without mic on sdm660

Change-Id: I0c61024c444e9950568797779545f43e7ec3ba1b
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2019-12-12 07:57:21 +01:00
Max Weffers
c19d7bcca1
clover: Bring Audio_platform_info inline with CAF 2019-12-07 19:25:14 +01:00
pranavkapoor001
f382b057f4
clover: Audio: Fix Incall-Mic With Earphones
* E/audio_route(694): unable to find path 'voice-headset

Signed-off-by: pranavkapoor001 <pranavkapoor001@gmail.com>
Signed-off-by: TH779 <tongsj2333@gmail.com>
2019-12-07 14:09:47 +01:00
Aalique Grahame
650eba7be1
clover: configs: Unify audio configuration files
* fixes stereo dual mic
* refering to
https://github.com/LineageOS/android_hardware_qcom_audio/blob/lineage-17.0-caf-msm8998/hal/msm8974/platform.c#L676
and
https://github.com/LineageOS/android_hardware_qcom_audio/blob/lineage-16.0-caf-8998/hal/msm8916/platform.c#L538

CRs-Fixed: 2380934
Change-Id: Id88d0940fd0d720d55cb1ae67098fdedcc0d6935
2019-11-26 13:07:01 +01:00
Max Weffers
400edbb493
clover: Carbon-ify 2019-11-12 15:22:11 +01:00
Max Weffers
c99ef4328f
clover: Move Build fingerprint to common
* set correct Build description
2019-11-02 16:45:45 +01:00
Max Weffers
3b36b4ef0d
clover: remove useless override of product name 2019-11-02 15:23:47 +01:00
Max Weffers
989e3caaa7
clover: Move Audio FX Modules to common 2019-10-30 12:38:16 +01:00
Max Weffers
b7dc1c5d89
clover: Unify Adsp and Adsp Modules blobs 2019-10-30 12:37:50 +01:00
Stylogey
01ebc438b3
clover: overlay: Set a rounded corner radius
* Fixes the path of the assistant animation
2019-10-28 16:49:20 +01:00
UnparallelSKY
9aebc863de clover: Define first api level in the device tree instead in the common tree
All sdm660 xiaomi device didn't launched with oreo-mr1 and it will be easer for add other device (jason, lavender, nitrogen, platina, tulip and whyred) who didn't launched with oreo-mr1 in xiaomi-sdm660 org
2019-10-14 20:02:23 +02:00
Max Weffers
0d72613529
clover: Rename Fingerprint hal to match other Xiaomi Devices 2019-10-05 10:10:27 +02:00
Max Weffers
2727c8285a
clover: move Thermal-engine blobs to common 2019-10-05 09:02:36 +02:00
Max Weffers
b97a117784
clover: audio: Remove unneeded audio_platform_info_extcodec 2019-10-03 17:13:05 +02:00
Max Weffers
347eb232be
clover: audio: move audio policy configuration to common 2019-10-03 17:12:52 +02:00
Sujin Panicker
036b2dec51
clover: audio: Update audio files due 8916 & 8974 platform convergence 2019-10-03 17:12:37 +02:00
Max Weffers
fc541b1c84
clover: move sensors to common 2019-10-03 12:18:52 +02:00
Sujin Panicker
6d6655a7c7
clover: audio: Rename audio_platform_info to audio_platform_info_intcodec
* fixes Audio with new CAF Audio Hals
* refering to
b904fbec49
2019-10-03 12:17:16 +02:00
Rashed Abdel-Tawab
d2adce7434
clover: Remove deprecated vendorsetup.sh
Change-Id: I13d6b98e9520e8f61b261ffdf171c11624303122
2019-10-01 16:37:04 +02:00
Max Weffers
faa4567539
clover: mac: Change path for generate mac out of /mnt/vendor/persist 2019-09-26 11:07:36 +02:00
Dhananjay Kumar
92fa602ce4
clover: configs: Remove surround recording support from audio policy config xml
Remove surround sound recording support from audio policy config xml
as its resulting in CTS failure due to mismatch in channel index support
for record usecase.
Change-Id: Idf50b3f2e71c4209720e79c0248ce74bc1a0edf2
2019-09-26 11:07:36 +02:00
Erfan Abdi
0724652ce7
clover: Setup device soong namespace
Change-Id: I2e9c0ab68a0fe86ba18e3955e2823b87d88e835a
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-11 10:26:54 +02:00
Samyak Jain
28322472be
clover: config: Remove 2 instance support for "primary input"
As FM app no longer uses app loopback,
2 instances of "primary input" is not needed

Change-Id: I7d5e941e916bdf221798ca89360e4751d4af322b
2019-09-11 08:27:48 +02:00
Max Weffers
8c348a898e
lineage-ify Mi Pad4 2019-09-11 08:27:04 +02:00
mamarama9904
01b6577f5e clover: move and add PRODUCT_NAME override
if not, device name will be "havoc_clover".
2019-09-02 05:10:13 +02:00
Max Weffers
fa586d1daa
clover: prop: set persist.camera.preview.ubwc to 0
Fixes front cam with beautify enabled
2019-08-25 23:07:15 +02:00
guaiyihu
df889fc605
clover: keylayout: Map Button Jack keylayout to fix headset button controls
* input: sdm660-snd-card Button Jack as 
/devices/soc/soc:sound/sound/card0/input8
Change-Id: I26b4f9dd54856e4b43b9c79c81873641c7b7082b
2019-08-21 10:39:45 +02:00
ix5
00b16d9f08
clover: Remove "eng" from LOCAL_MODULE_TAGS
This has been deprecated for some time and will throw and
error in Android Q
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
Change-Id: I9e4caaa6f401a051e5edd341112dcc01c8f040b7
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-21 09:58:35 +02:00
Luca Stefani
72be253d70
clover: Make Android.mk search recursive
Change-Id: I3a05344f949eae581f1f17cc33b1df475d3e6760
2019-08-21 09:55:31 +02:00
dianlujitao
35102a6467
clover:media: Tweak media profiles
* Remove unsupported profiles in AOSP from media_profiles_vendor.xml:
   - vga
   - 4kdci
   - timelapsevga
   - timelapse4kdci
   - highspeedcif
   - highspeedvga
   - highspeed4kdci
   - qhd
   - 2k
   - timelapseqhd
   - timelapse2k
   - lpcm
   and use it as media_profiles_V1_0.xml
 * Remove never used CAF media_profiles_V1_0.xml.

Change-Id: I8309af0804caf32ab0870a7ad754b8d41dc9b544
2019-08-21 09:52:25 +02:00
Henrique Silva
7dec4c788f
clover: media_profiles: Remove highspeed profiles
* Fix slowmo on MiuiCamera
2019-08-21 09:47:26 +02:00