Commit Graph

592 Commits

Author SHA1 Message Date
Adithya R
605de37605
sm6150-common: Decommonize cnss-daemon
* surya needs stock cnss-daemon to load j20 custom
   bdwlan firmware for 5ghz wifi.

Change-Id: I34a7165f20740858c92355e92e5db52291fc25aa
2021-06-18 18:34:00 +02:00
Arian
c8c613c3d7
sm6150-common: Exclude additional haptics devices from input subsystem
Change-Id: I4465c5afd2dcfa085367e4e9fad9f0e0fba67d1a
2021-06-18 18:34:00 +02:00
Fenglin Wu
e6e3bc7b76
sm6150-common: Add config to exclude haptics devices from input subsystem
Haptics devices which registers as input FF devices are not supposed to
be detected by input subsystem. Add excluded-input-devices.xml file for
input subsystem to exclude them.

Change-Id: I52dc6e502b29e2813299d073195a0991bb2cf692
2021-06-18 18:33:55 +02:00
Arian
b049682209
Revert "davinci: Increase media volume from 15 to 25 steps"
This reverts commit a5b5e3ac21.

Change-Id: Id7e5645f59dba82352c38d3691dcfd924960ccf1
2021-06-18 18:33:51 +02:00
Adithya R
e4ea795457
sm6150-common: Decommonize audio fluencetype prop
* surya needs fluence disabled to fix mic in certain apps

Change-Id: I4fd647330759ca5f97c85176f614ae75dda14aca
2021-06-18 18:33:47 +02:00
Rasenkai
fb7663b4aa
sm6150-common: Add missing librice for soundtrigger
* This was removed during 90d2b593847cae4bc46ff33e8be8856a8a2a0735
  but was added back with Redmi Note 10 Pro blobs.

Change-Id: Id67d3d80454744c937e7fc0ca261e73979f0a160
2021-06-18 18:33:41 +02:00
Arian
bc384c8a64
sm6150-common: Add libadpcmdec for sound trigger
Change-Id: I99cff257c7a6068336870d5a6defb8a77f40da9f
2021-06-18 18:32:56 +02:00
Arian
783e9dfe36
sm6150-common: Update blobs from sweet V12.0.14.0
Change-Id: Ic06de82e723829339a4a38e0cf71e6f0740477eb
2021-06-18 18:32:32 +02:00
Arian
182b1dc663
sm6150-common: Remove wfdhdcphal service
Change-Id: I5237de894613a3565df16046083db4228a3713b4
2021-06-18 18:32:32 +02:00
Arian
5471dad5f8
sm6150-common: Remove Super Sensor/Photo ADSP modules
Change-Id: I44d39fa16f1e0416d3efca28ad8f743afea9cb53
2021-06-18 18:32:31 +02:00
Arian
a04fb57165
sm6150-common: Re-add shoebox and audio sphere effects
This partially reverts c77b652733 and fea051b9c7.

Change-Id: Id8519fc86e914ed2f5e9af14279fceaa6f97c35b
2021-06-18 18:32:31 +02:00
Arian
72b92051ad
sm6150-common: Decommonize audio libraries
Change-Id: Iccdc4ff0efd15d35b18f299f7dcc713b0b862476
2021-06-18 18:32:31 +02:00
Arian
237862f024
sm6150-common: Move btaudio_offload_if.so to audio section
* This is just a proprietary dependency of liba2dpoffload which
  is an audio extension.

Change-Id: Iacbbc2197f22ba1c61e4e749f100b08bb921edd9
2021-06-18 18:32:31 +02:00
Arian
7cd101a1d1
sm6150-common: Decommonize audio HAL
Change-Id: Icb5c9aae4f0a788bd39dcbc27a1a146c12cd3de2
2021-06-18 18:32:31 +02:00
Arian
484f6e5bf2
sm6150-common: Decommonize tfa98xx amplifier
Change-Id: I2deb6d5e7c12ca077e64eb87f64567163c84a250
2021-06-18 18:32:31 +02:00
Dhananjay Kumar
a25e0e9265
sm6150-common: rootdir: Update audio hal service override as per latest base service definition
Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead
2021-06-18 18:32:31 +02:00
Arian
a75fe3e862
Revert "davinci: rootdir: Stop overriding audio hal 2.0 service"
This reverts commit 80bafc10ee.

Change-Id: I0d5d967d2a4a57c762abbcd34cda50efb686a0c3
2021-06-18 18:32:31 +02:00
Arian
4fd1fd2a1c
Revert "davinci: sepolicy: Unlabel audio_hw_socket"
This reverts commit af13479df1.

Change-Id: I532e78d5d5da2a1d2ebdf6723e92e603c4d1b7e1
2021-06-18 18:32:31 +02:00
Arian
d9a98b74d6
sm6150-common: Add all stock ADSP modules
Change-Id: I610c1cddab2eb043170711eb699b989cb1561b55
2021-06-18 18:32:31 +02:00
Arian
27700c723f
Revert "davinci: overlay: Enable STATE_DOZE_SUSPEND"
* We do not support different low power modes and handle doze lp1
  and lp2 the same in kernel which makes this redundant.

This reverts commit ba52828323.

Change-Id: Ie51dea708f157d1f0ba19f1b00dc8ce3cf892931
2021-06-18 18:32:31 +02:00
dianlujitao
5848b702e0
sm6150-common: livedisplay: Use modules from common implementation
Change-Id: Iafb9f6a56187beb574ca2eb9a97fb9c7e72893ce
2021-06-18 18:32:31 +02:00
Arian
6d05622ab1
sm6150-common: livedisplay: Uprev to 2.1
Change-Id: Icd9d97078cb339aaff04d7e0a52ce8b9b97d35de
2021-06-18 18:32:31 +02:00
Arian
afb4a21c3f
sm6150-common: livedisplay: Renamed AntiFlicker node
Change-Id: I9951abe702730435f840bf041b8cbcf3839fae79
2021-06-18 18:32:31 +02:00
Arian
83f9791ee2
sm6150-common: livedisplay: Add anti flicker support
Change-Id: Ieb91a3efe0fc124e120f95f5ec197aa3c5cecb14
2021-06-18 18:32:31 +02:00
Arian
72944d2612
sm6150-common: overlay: Remove adaptive colour mode
Change-Id: I4f36e2c874773c44161536b2f8dbf4cbb7325b84
2021-06-18 18:32:31 +02:00
Rasenkai
fbefbbb0d7
sm6150-common: power: Add NVTCapacitiveTouchScreen support
Change-Id: Ifd151f0642b495f80cc512d4fe19d1cfab97bcf8
2021-06-18 18:32:31 +02:00
raghavt20
6d7d3b5096
sm6150-common: Remove hard-code for ro.boot.bootdevice 2021-06-18 18:32:31 +02:00
Adithya R
113fdbeac4
sm6150-common: Do not set nosdcard characteristic 2021-06-18 18:32:31 +02:00
Adithya R
af5219144f
sm6150-common: Welcome POCO X3 - surya!
Change-Id: I259b0407aad28b2dc47ac874bdd13df6e2e0842c
2021-06-18 18:32:31 +02:00
Adithya R
2bd715b223
sm6150-common: rootdir: Add IR nodes to ueventd
Change-Id: I96b52f810a5e8e8ab7ec5e1335923e6622f2294d
2021-06-18 18:32:31 +02:00
Purushottam Kushwaha
58d33f1755
sm6150-common: Enable SAP+SAP for wifi hal interface
This enables support for SAP+SAP by enabling
QC_WIFI_HIDL_FEATURE_DUAL_AP build flag.

Change-Id: I5da3045598b486fdcff56fa3e42173cf53e0aa69
CRs-Fixed: 2262243
2021-06-18 18:32:31 +02:00
Michael Bestas
bd18886586
sm6150-common: gps: Lower debug level
* Kill logcat spam

Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2021-06-18 18:32:31 +02:00
Michael Bestas
f3e8480dc8
sm6150-common: Remove unused gps certificates
* They are used by xtwifi-inet-agent which we disabled.

Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8
2021-06-18 18:32:31 +02:00
Arian
59684442f2
sm6150-common: Remove xtwfi-client and xtwifi-inet-agent
Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64
2021-06-18 18:32:31 +02:00
TheStrix
2ce94a5f9f
sm6150-common: gps: Disable xtwifi location services
* Disable XTWIFI

Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
2021-06-18 18:32:31 +02:00
Adithya R
97937bd5d5
sm6150-common: Sync earlycon kernel cmdline with CAF
Change-Id: I85067603b8fd233a35eca2195b12cc9763096ba2
2021-06-18 18:32:31 +02:00
Volodymyr Zhdanov
bea69bcb8e
sm6150-common: Add new surfaceflinger flags
* since [1] caf sets these for all platforms

[1] https://source.codeaurora.org/quic/la/platform/hardware/qcom/display/commit/?id=1b056c2223143ea401a47f8726a32b7e58656ab2

Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2021-06-18 18:32:31 +02:00
Volodymyr Zhdanov
97896a108d
sm6150-common: Disable SF configstore
* it's finally deprecated in R
* ship disable_configstore because we have API level 29

Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2021-06-18 18:32:31 +02:00
raghavt20
4efee45bf3
sm6150-common: fingerprint: Setup permissions for violet's goodix node
Change-Id: I7349fa80f6576e2892283a21b6f2acd1f42e3e8b
2021-06-18 18:32:31 +02:00
merothh
a4bc80a800
sm6150-common: fingerprint: Setup permissions for violet FPC nodes
Signed-off-by: merothh <merothh@gmail.com>
Change-Id: Id68148dd222dc4a72b9b1e5db761a01177350769
2021-06-18 18:32:31 +02:00
raghavt20
32e23fe941
sm6150-common: fingerprint: Label fpc and fpdump data dirs
Change-Id: Ib522a7e573465ce0cd9bc982d1264947e731da22
2021-06-18 18:32:30 +02:00
raghavt20
876d672a65
sm6150-common: Add FRP permissions for violet
Change-Id: I1a6813962c5b08a39843d669333040beae57ec69
2021-06-18 18:32:30 +02:00
Arian
b227173d9e
sm6150-common: Update from Mi Note 10 Lite V12.1.4.0.RFNMIXM
Change-Id: I80f4200b46268a3c4bc638529c916122eb20ddba
2021-06-18 18:32:23 +02:00
Arian
48936b4c54
sm6150-common: Drop unused 3.0 and 4.1 keymaster service
Change-Id: Ica391eb12fb9558657090652c6616e04111242a2
2021-06-18 18:21:34 +02:00
Arian
f60089a8b8
sm6150-common: Don't build Image.gz-dtb for dynamic devices
Change-Id: I44727c1ec68e0c590a91aa1f853612aa3576d4fd
2021-06-18 18:21:34 +02:00
Swetha Chikkaboraiah
6c7410e835
sm6150-common: TARGET_KERNEL_APPEND_DTB handling
Set TARGET_KERNEL_APPEND_DTB flag true or false depend on
Dyanmic partition support.

Change-Id: I02a113263315e90114575cbeda076a1154f60c14
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2021-06-18 18:21:34 +02:00
Swetha Chikkaboraiah
07f53dd2f3
sm6150-common: BoardConfig: Add support for header version 2 of boot image
Adding support to make a bootimage with header version as 2.
This bootimage no longer has the dtbs appended to the kernel.
All the dtbs are made into a new image called dtb.img and
this image is present in the bootimage.

Change-Id: I44fe055caafc3306313e1012fb2e14d335a13337
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2021-06-18 18:21:34 +02:00
Arian
69b52a2a9a
Revert "Revert "davinci: rootdir: Import coral fs tuning""
This reverts commit bbe34cefca.

Change-Id: If98a6d1d2db3457555ac0908fe1d048ab84c830e
2021-06-18 18:21:34 +02:00
Arian
506cf92d7a
sm6150-common: rootdir: Support more soc-id's
Change-Id: I80e2ccf5a3e5b15d9a527f9a7c4e3ee06b997ab6
2021-06-18 18:21:34 +02:00
Arian
a54ae83f4c
sm6150-common: rootdir: Prepare for different soc_id's
Change-Id: I08bd87247ae937fe465b8cfd1d7d8e24950d9c4b
2021-06-18 18:21:34 +02:00