Commit graph

184 commits

Author SHA1 Message Date
clarencelol
05447bf3cc sdm660-common: Update thermal blobs from laurel_sprout
* Seems to work just fine with 4.19 version of jaswayne
* Nuked mi_thermald

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:20:03 +02:00
Alin Jerpelea
0624be886a sdm660-common: configs: Add qmi_fw.conf
This file will silence the warnings on qmi

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Change-Id: I7d7ec0da00a33a0da8f189b0181d40919b9918e5
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Alcatraz323
707d3e73b7 sdm660-common: audio: correct primary input route source
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-09 12:29:09 +02:00
Alcatraz323
cc15380b70 sdm660-common: configs: remove blacklist irq setup
* referenced by legacy drivers/staging/qca-wifi-host-cmn/hif/src/hif_napi.h
* /sys/kernel/irq_helper/irq_blacklist_on not exist on 4.19
* correct 4.19 irq name in comment

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-08 09:04:30 +02:00
Dusan Uveric
ce7930fb0e sdm660-common: configs: squash multiple irq optimises
* clover: configs: Adjust msm_irqbalance prio
* clover: configs: Don't balance mdss or kgsl IRQs
* clover: configs: Add glink lpass irq to ignored list

Co-authored-by: Rashed Abdel-Tawab <rashed@linux.com>
Co-authored-by: Soumya Managoli <smanag@codeaurora.org>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-08 09:04:25 +02:00
Christian Oder
b068b7999b sdm660-common: update permission file for HotwordEnrollment
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 09:48:58 +02:00
Alcatraz323
0e8661dea0 sdm660-common: Partially revert "Nuke msm_irqbalance"
* replace with 660 stock irq conf(miui/s62pro are same)
* remove not needed service define in init.qcom.rc

This reverts commit fe0aeb3704.

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 09:48:58 +02:00
pix106
6ea66cca8a sdm660-common: configs: drop audio_platform_info_intcodec.xml and mixer_paths.xml from common source 2023-03-20 07:18:06 +01:00
pix106
7fcb3519a9 Revert "sdm660-common: Add support for Google Dialer Call recording"
This reverts commit 3bef50be1a.
2023-03-20 07:07:36 +01:00
Kunmun
2cf5718249 sdm660-common: audio: Import configs from LA.UM.10.2.1.r1-03400-sdm660.0
• Override some properties
• Import minimal device specific changes for lavender

Change-Id: Iacfc1d97928935a57f76d276dbab8761138bf0e5
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:27 +01:00
Kunmun
6a3ebc0e0d sdm660-common: configs: Import keylayout from LA.UM.10.2.1.r1-03400-sdm660.0
Change-Id: Ibb9cb3d1b5670d795d5e8ab050b7a967e1794c66
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
Kunmun
df2c4bda6c sdm660-common: media: Import configs and props from LA.UM.10.2.1.r1-03400-sdm660.0
• Build required media packages

Change-Id: Id1828f9fad2c939b8d87f0cc2562a32b2aa0026e
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
pix106
0fcf8ea137 Revert "sdm660-common: Migrate to Xiaomi power AIDL HAL"
Revert "sdm660-common: rootdir: Clean part of Unexported properties"
Revert "sdm660-common: power-libperfmgr: Reduce GPU idle timer to 64ms"
2023-01-04 06:23:14 +01:00
clarencelol
80a4284c7a sdm660-common: power-libperfmgr: Reduce GPU idle timer to 64ms
* Set it according to kernel value shown here 3f4fbeaa44

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-27 07:34:56 +01:00
Bruno Martins
71c49fcc8c sdm660-common: Migrate to Xiaomi power AIDL HAL
Change-Id: I42170d51a517170b58d532addd9c38496e43457c

jasmine_sprout: Remove QTI perfd

Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4

jasmine_sprout: Declare BOARD_VENDOR

* Needed for xiaomi-perfmgr power AIDL guards

Change-Id: Idbb48e0f9b01090a456ad5d3f2d51f4dfab55672

jasmine_sprout: Create dummy libqti-perfd-client

* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future

[SebaUbuntu]: Cleanup Android.bp and add copyright header

Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb

jasmine_sprout: libqti-perfd-client: Remove namespace declaration

It's pointless when using extern "C".

Change-Id: Ibdf9f06a70aa3a75687b33781c78cf2172bb334d

jasmine_sprout: libqti-perfd-client: return a dummy value

Return a positive integer for perf lock acquire and release so
that Goodix/FPC fingerprint sensor blobs will not complain.

Goodix:
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_acquire: Failed to acquire perf lock, err: 0
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_release: Perf lock release error 0

FPC:
E fpc_tac : fpc_perf_lock_acquire: Incorrect params, Failed to acquire perf lock, err
E fpc_tac : fpc_perf_lock_release: Perf lock release error 0

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I861672e9a738c2204755d802670f4b28b662f286

jasmine_sprout: libqti-perfd-client: Move to C

* Why bothering with C++ mangling when we can just build it as a standard C library?

Change-Id: I45ea977edf7ea7fab6fece76f3049654a8d24c5d

jasmine_sprout: Add powerhint.json jasmine

Change-Id: If270fc906fd833bb6b0d3b00621c0b079346e47d

jasmine_sprout: rootdir: Initial libperfmgr init config

* From coral, heavily stripped down

Change-Id: Ib6846e4f4f23baf56910d2330e26846b99830218

jasmine_sprout: sepolicy: Initial libperfmgr sepolicy

Change-Id: I3d0a259bc89b4ecd0bf1632199172710d98230e0

jasmine_sprout: Don't explicitly build older minor version HIDL libs

Change-Id: Ib0caa49054a79b1f01ffc751826286a29c642e06

jasmine_sprout: Remove QTI perf reminants

jasmine_sprout: Add back ro.vendor.extension_library definition

 * We aren't using QCOM's perfd but our blobs still check for this.
 * To avoid unnecessary errors, let's just add it back.

Change-Id: Icc44b330f21a658cfa8ded691a6628d8f62c3649
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-27 07:34:56 +01:00
Anver sadhique
2a07f5a662 sdm660-common: audio: Set valid and supported channel mask for earpiece
For earpiece to be properly enumerated as a output device,
set valid and supported out_ channel mask.

Change-Id: Ic83b009956ff43567b3acbb186d0069b16e91e83
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:40:13 +01:00
Shreedhan003
bf1280a174 sdm660-common: configs: media from LA.UM.10.2.1.r1-03400-sdm660.0
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:40:13 +01:00
pix106
0a0ce12e6c sdm660-common: Decommonize task_profiles
This reverts commit 0450345165.
2022-11-07 12:51:58 +01:00
Alexander Winkowski
1be0581d35 sdm660-common: wifi: Clean up WCNSS_qcom_cfg.ini
Remove parameters that no longer exist.

Change-Id: Ib6800987c57d050ea6fa621191e2d6df3fc80c97
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-11-07 08:15:11 +01:00
Kunmun
02f8cef620 sdm660-common: wifi: Update wifi configs from LA.UM.10.2.1.r1-03400-sdm660.0
* Basically clean all deprecated stuffs

Signed-off-by: Clarence K <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
clarencelol
fe0aeb3704 sdm660-common: Nuke msm_irqbalance
* Not necessary needed, 32bit stuffs

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
Bruno Martins
7483dcc2ef sdm660-common: Drop component overrides
This is no longer needed as of Android 13.

Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-10-11 08:47:30 +02:00
pix106
8324656fc1 Revert "sdm660-common: Drop non-functional soundtrigger"
This reverts commit 0ae0e2d50a.
2022-08-25 10:08:30 +02:00
pix106
985430ecd7 sdm660-common: audio: FIX "Switch audio HAL to V7 Updated audio policy manager configuration files to comply with the changes in the XML schema." 2022-08-25 10:04:35 +02:00
pix106
c4f9a89b6e Revert "sdm660-common: displayconfig: Add brightness ramp rate"
This reverts commit 77fa9fca99.
2022-08-25 10:04:35 +02:00
pix106
3d6eaf7c46 Revert "Revert "sdm660-common: Add display config file""
This reverts commit d1f590b76c.
2022-08-25 10:04:35 +02:00
pix106
d1f590b76c Revert "sdm660-common: Add display config file"
This reverts commit 63db93d56b.
2022-07-14 11:38:16 +02:00
clarencelol
0a671bb3d1 sdm660-common: audio: Use AOSP USB audio configs
* Apparently, this is the fix for DAC Type C

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-07-04 07:40:35 +02:00
Georg Veichtlbauer
51989fce41 sdm660-common: wifi: Update Wifi PowerSaveOffload
When the parameter is set to this value and voice packets are
detected in uplink or downlink data traffic, the QPower inactivity
timeout is reset to the default QPower-disabled value (200 ms).
This means that QPower power saving is not be triggered until
after 200ms of inactivity (EAPOL and ARP packets are excluded from
the check).

Change-Id: I86553a1f1dee73add4eb1b6c3933a39745a16de8
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-07-04 07:40:35 +02:00
Chiranth A J
3bef50be1a sdm660-common: Add support for Google Dialer Call recording
[someone5678] Modularized

Original commit:
c3b9f5c170

Signed-off-by: Chiranth A J <chiranth@m.ms.evolution-x.org>
Change-Id: I88ddeb57aa54e4fad88c3c9cba331dbbd7b4bd59
Signed-off-by: someone5678 <nemui3353@gmail.com>
Signed-off-by: Vitorgl2003 <vitorgl.2003@gmail.com>
Signed-off-by: ImPrashantt <prashant33968@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-06 12:41:59 +02:00
SakilMondal
0ae0e2d50a sdm660-common: Drop non-functional soundtrigger
* Fixes google assistant voice match in android 11
* Also remove unessential soundtrigger configs

Change-Id: I21100e2f368ec0ddf3b546372b241d85bb698747
Signed-off-by: faham1997 <nafidfaham08@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-06 12:41:59 +02:00
Ratoriku
e23c170daa sdm660-common: Copy excluded-input-devices.xml from main source
* Since there are no need for us to do any specific changes here

Signed-off-by: Ratoriku <a1063021545@gmail.com>
Signed-off-by: raiyanbinmohsin <raiyanbinmohsinshishir@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-06-06 12:41:59 +02:00
Zinadin Zidan
442d1f79fb sdm660-common: media: Enable media Codec2
* https://source.android.com/devices/media/updatable-media

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-15 07:07:31 +02:00
clarencelol
a4c1504118 sdm660-common: media: Adapt S62Pro changes
* Build libgui_vendor from source
* Using CAF's way of media_{codecs, profiles}
* Uprev media.c2
* Cleanup dead and unused target

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-06 23:52:59 +02:00
Ashish Kumar Dhanotiya
d321b462f2 sdm660-common: wifi: Remove TxPower2g and 5g from config file
Ini config values TxPower2g and TxPower5g are not
getting used anymore.
Remove TxPower2g and TxPower5g from WCNSS_qcom_cfg.ini
for all the targets.

Change-Id: Id85bec3e4ae3bb8012e13844bb0afa682a593fee
CRs-Fixed: 2607679
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-06 23:52:59 +02:00
clarencelol
295fb5f78a sdm660-common: configs: Restore back irqbalance changes
* In commit bc36bfe914, 1c184ff28c and 61f0dfadb14b74d4e36f8c1a19413a9c907c7abb

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:35 +01:00
clarencelol
a040f9147c sdm660-common: Update msm_irqbalance from LA.UM.9.1.r1-11500.02-SMxxx0.QSSI12.0
* kgsl -> kgsl-3d0

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:35 +01:00
Srinivas Ramana
8bb0c0275b sdm660-common: configs: Correct the arch_mem_timer interrupt
correct the arch_mem_timer interrupt to 38.

Change-Id: Ie5fe976eef084231beb5e32abf88a35a5c4bc70d
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:35 +01:00
Dusan Uveric
122952f604 sdm660-common: configs: Adjust msm_irqbalance prio
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
Signed-off-by: Reinazhard <reinazhard@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:35 +01:00
clarencelol
0450345165 sdm660-common: Add task_profiles to system
* cgroups and task_profiles exists in system/etc/task_profiles, but it does not has API26 ones so we add it
* Schedtune sometimes fail maybe because of this but still unsure

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:35 +01:00
pix106
c39b0cd11e Revert "sdm660-common: Copy Modified libprocessgroup configs to vendor"
This reverts commit cf5fe98a53.
2022-03-26 11:56:35 +01:00
Mohit Aggarwal
cddd39999b sdm660-common: sec_config: Add net_raw permissions for time_daemon service
Currently, time_daemon is not able to send message to modem
time-services over QMI due to permission denials. The patch
takes care of the issue by adding net_raw permissions for
time_daemon service ID.

Change-Id: Ibbd55349a7abc536486dea7b29e293f9f533dd85
Signed-off-by: Akash Srivastava <akashniki@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:35 +01:00
Chenyang Zhong
77fa9fca99 sdm660-common: displayconfig: Add brightness ramp rate
Android 12 allows the brightness ramp rate to be changed separately
for fast/slow and increase/decrease in float. Once loaded,
DisplayDeviceConfig has higher priority than the integer config
values in frameworks. The format definition is in [1].

The value can be found in boot logs by grepping DisplayDeviceInfo.
On android 11, boot log reports the 19xxxxx value of the second
variant. On android 12, boot log reports the 46xxxxx value of the
first variant.

The xml file can be put in either product or vendor.

[1] frameworks/base/services/core/xsd/display-device-config/display-device-config.xsd

[clarencelol: Adjust accordingly based on brightness minimum and nits in overlay]
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:35 +01:00
clarencelol
0538dd9791 sdm660-common: Update media codecs
* Retune some fps values based on CAF
* Removed some unused decoder
* From LA.UM.8.2.r1-07400-sdm660.0
* Build some media extensions
* Added some media codecs from google

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:34 +01:00
clarencelol
b380d6f268 sdm660-common: Cleanup
* clean some duplicates,deprecated and not uses anymore
* build vendor.qti.hardware.btconfigstore@1.0 from source

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-02-16 20:58:05 +01:00
Shalini Manjunatha
9392f28e5b sdm660-common: audio: New attribute in sound trigger xml to know support for second stage detection
-> Introducing new attribute to know if second stage detection
supported on given target
-> By default it is supported on all targets
-> Define only on those targets with value false where no support

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-02-16 20:58:05 +01:00
Dhananjay Kumar
299f9f9098 sdm660-common: audio: 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
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:34 +01:00
clarencelol
d397ab7a8b sdm660-common: configs: Update config.fs from LA.UM.9.2.1.r1-08700-sdm660.0
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Edwin Moquete
df54499694 sdm660-common: Update config.fs from LA.UM.9.2.1.r1-06300-sdm660.0
Signed-off-by: Anush02198 <Anush.4376@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Edwin Moquete
8071e94bcf sdm660-common: vibrator: Add excluded-input-devices.xml
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00