Commit Graph

655 Commits

Author SHA1 Message Date
Arian
bb69958805
sm6150-common: rootdir: Setup all permissions for left, right and white LEDs
Change-Id: Id49a80bb2d55186ed908962d90e0be3d90e1acdf
2021-04-25 15:23:51 +02:00
Arian
264c3a5ca8
Revert "davinci: rootdir: Drop led permissions from ueventd"
This reverts commit 688407d50e.

Change-Id: I30ee38523f5ab05e8ca6101522062fdd99e91280
2021-04-25 15:23:51 +02:00
Arian
4d4f9e343b
sm6150-common: lights: Dynamically pick the left or white LED path
Change-Id: I1bc0514c29f9d63554240e1fb95e9aa9625bda6d
2021-04-25 15:23:51 +02:00
LuK1337
645f7d8c90
sm6150-common: Disable qti-telephony-common injection for time being
TODO: revisit once usable qti-telephony-common jar is available.

Change-Id: I2b80a3beb931d11db4b8367cded738e935797002
2021-04-25 15:23:51 +02:00
Jake Weinstein
b88cdb9def
sm6150-common: Enable UXE and IOP in perfconfigstore
Matches stock Qualcomm configuration and improves performance.

Change-Id: I2b6e8c9ed59415bc7841bf244bd3dd9b5633088c
2021-04-25 15:23:51 +02:00
Arian
bc47dee6eb
sm6150-common: perf: Revert Xiaomi's perfboostconfig changes
Change-Id: Ibdf26e215d9dbbd8962c9b5b9386a0dba3853d4c
2021-04-25 15:23:51 +02:00
Srinivas Ramana
b7fbe15419
sm6150-common: steppe: irqbalance: correct the arch_mem_timer interrupt
correct the arch_mem_timer interrupt to 38.

Change-Id: Ie5fe976eef084231beb5e32abf88a35a5c4bc70d
2021-04-25 15:23:51 +02:00
raghavt20
84e0156c30
sm6150-common: Move perf configs to device tree
Change-Id: Ia251c28784d24f2d7b1fdcb7a3676be1c5a63d1b
2021-04-25 15:23:51 +02:00
Arian
302ce901c0
sm6150-common: Strip popupcamera from parts
Change-Id: I379111b22be9062ee797979960feb3087299cffa
2021-04-25 15:23:51 +02:00
Bruno Martins
01ac282586
sm6150-common: parts: Use all shared resources from devicesettings
Change-Id: Icd7f381c574ea36eb4d797cefd60ba9f1a0941bd
2021-04-25 15:18:41 +02:00
raghavt20
5eabce64b9
sm6150-common: Decommonize sensors service
Change-Id: I518f3bd48a585bf0f0ae0b07570e6c9d96a4f949
2021-04-25 15:18:30 +02:00
raghavt20
0aa378102c
sm6150-common: Transform davinci into common tree
* The following things are left in devices, because they're device specific
  - voip compress properties
  - HVDCP properties
  - audio configs
  - power profile
  - rounded corner configuration
  - partition configuration
  - FOD
  - camera motor
  - NFC
  - board-info
  - fstab
  - ipa and graphics firmware
  - shipping and manifest target level

Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I8bef29041f8f239361b999fc8ab1a43cc2ebb86b
2021-04-25 15:18:14 +02:00
Jack Wu
b69b94ab30
davinci: Uprev health HAL to v2.1
Bug: 145943771
Test: lshal debug android.hardware.health@2.1::IHealth/default
Change-Id: I84f20459f5579e318d8e9f5f9ce68a733df27c53
Signed-off-by: Jack Wu <wjack@google.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2021-04-25 15:17:58 +02:00
Michael Bestas
53571bde42
davinci: manifest: Remove Trust interface entry
This has been turned into a VINTF fragment.

Change-Id: Iaf53a2e1fbac75d53ec11d4c56c51230f4758daf
2021-04-25 15:17:52 +02:00
Arian
7a82c42b90
davinci: sepolicy: Correct nq-nci wakeup label
Change-Id: I763fd9bee30364c8effdfdf52aa992dc024426c6
2021-04-25 15:17:23 +02:00
Arian
b072100106
davinci: sepolicy: Label ds28e16 and bq2597x-standalone wakeup nodes
Change-Id: I2a45e5c2e43f0f75e7baf48c4ef69a8b30177642
2021-04-25 15:17:23 +02:00
Arian
cc1a74162f
davinci: sepolicy: Label fts wakeup nodes
Change-Id: I2b450eca304ccaa53a3eda17e9fe6a885e516bda
2021-04-25 15:17:23 +02:00
Arian
83d1b8ef21
davinci: sepolicy: Label goodix wakeup nodes
Change-Id: Iaf4b8331f48bd73fb418eccd1a4687c8bdd36401
2021-04-25 15:17:09 +02:00
Arian
a02dd0dd72
davinci: sepolicy: Remove qcom PMIC devices wakeup nodes
* They are already labelled from qcom sepolicy

Change-Id: I97d2e0148460b7123f9738f74867e7d35f9e1d50
2021-04-25 15:14:02 +02:00
Arian
7fd5f40474
davinci: sepolicy: Remove not existing spi_master wakeup label
Change-Id: I1a080a051091393b8e36b679597de2b72e162e9b
2021-04-25 15:08:23 +02:00
Arian
c4e7c12ddb
davinci: sepolicy: Remove not existing smb5 power_supply wakeup label
Change-Id: I360fbc5e42a42904b5df51644e29e629b80471f0
2021-04-25 15:07:54 +02:00
Arian
f2c79ad3c3
davinci: sepolicy: Remove usb-pdphy wakup labels
Change-Id: I4bff74c4c680042e3b37b796840716dfc9cd6e7f
2021-04-25 15:04:12 +02:00
Arian
4de93cd175
davinci: sepolicy: Remove google power supply wakeup labels
Change-Id: Id8495351a4ef366fb38cd3a5e8def9111f7ad51c
2021-04-25 14:53:41 +02:00
Adam Shih
3d03327784
davinci: sepolicy: Use prefix to label wakeup nodes
Bug: 161136421
Test: Boot with no system_suspend logs
Change-Id: I92706be9cd806397f62f887b20f589be1dcdd777
2021-04-25 14:52:26 +02:00
Cyan_Hsieh
e5fb6c7b71
davinci: sepolicy: Label symlinks from /sys/class/wakeup
Bug: 145905081
Bug: 155590308
Bug: 160131365
Change-Id: Iece91f90915fc783edd185d6162f319b95fb1c06
2021-04-25 14:52:07 +02:00
Adam Shih
89ea5715e8
davinci: sepolicy: Give system_suspend access to wakeup nodes
Bug: 145905081
Bug: 155590308
Test: reboot and see no error
Change-Id: Id13526831495c397ed39da84a662c9d845b3543f
2021-04-25 14:51:18 +02:00
Michael Bestas
3397396046
davinci: Switch to standalone extract utils
Align with templates while we are at it

Change-Id: I3cd279191c7bd3582f1c1f80c588eb26cf9da933
2021-04-25 14:49:59 +02:00
Michael Bestas
48d2008e82
davinci: Switch to patchelf from tools-lineage
Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3
2021-04-25 14:49:59 +02:00
Arian
dcc5649777
davinci: audio: Increase headphones echo reference channels
Change-Id: Ic5d0ef1e4a5319763a195420919a81c9c39630ce
2021-04-25 14:49:59 +02:00
Arian
67d1c4ce69
davinci: gps: Update from 20.12.28
Change-Id: Id1f630e1f6d4c02a854610eee1b665e8f8b1def0
2021-04-25 14:49:59 +02:00
Arian
2adf4360af
davinci: Add Certificate Authority service
Change-Id: I1b8df9fbd8fea6e23bb8fbd1ff23746ad5642fae
2021-04-25 14:49:59 +02:00
Arian
2b825821f6
davinci: Pin qdcm profiles from 12.0.3
* The chinese beta qdcm profiles defaults to the video33 mode which is horribly yellow tinted.

Change-Id: I4e4cb08446299e1381321a77749c70f362c72138
2021-04-25 14:49:59 +02:00
Jake Weinstein
617bc4471a
davinci: overlay: Disable global mode and CDMA choices
Cleans up mobile network settings

Change-Id: Ib331062fa77a18661bbfcd1a49f62ddf9144228c
2021-04-25 14:49:59 +02:00
Saurabh Shah
18b33141f9
davinci: rootdir: init.qcom.rc: Add owners for brightness nodes
Add owners for new lcd brightness and max_brightness node
/sys/class/backlight/panel0-backlight/brightness
/sys/class/backlight/panel0-backlight/max_brightness

Change-Id: I939ed22dc880a3536d95b397dbc7bed9288bc5df
2021-04-25 14:49:59 +02:00
Bruno Martins
89e12ed874
davinci: lights: Remove LCD backlight handling
Since composer HAL is now able to handle display brightness,
this can be removed from the lights HAL.

Change-Id: Ic10cead638382d448a94205bcec3543177d387f6
2021-04-25 14:49:59 +02:00
Arian
8f53f7de33
davinci: Switch to AOSP NFC stack
Change-Id: I537729ac9262edd3b741380bba74e46e8a588eaf
2021-04-25 14:49:59 +02:00
Arian
2e45a1266b
davinci: Add aptX blobs from Pixel 4A
Change-Id: I90ea22bff76c802bdf2afacc369799733806ee5e
2021-04-25 14:49:59 +02:00
Arian
ec12babff2
davinci: Kang libsdedrm.so from Nubia Z20
Change-Id: I6f3fcf01d82f6326e4e4309f627290083906a40b
2021-04-25 14:49:59 +02:00
Arian
40b126dec9
davinci: Build libplatformconfig from source
Change-Id: I8b4f2272ee47f7652c21918792d9fb72c7018db6
2021-04-25 14:49:59 +02:00
Arian
40956fe0a0
Partially revert "davinci: Disable uplink features in librmnetctl and build it from source"
This partially reverts commit 71a981f61c.

Change-Id: Iecb1c15b658a453eae1d888e4a824b433205548c
2021-04-25 14:49:59 +02:00
Alistair Delva
5002ab418f
davinci: rootdir: Enable inline encryption
Bug: 137270441
Change-Id: I8fb8822a5f19f3908b662181495550e60d80a3f3
2021-04-25 14:49:59 +02:00
Arian
b14ec9ced2
davinci: rootdir: Check persist
Change-Id: Ifc66f4ff386ef3fd01eb10ebe7d105ff9f18127b
2021-04-25 14:49:59 +02:00
Bruno Martins
6b85e595b0
davinci: Remove android.hardware.biometrics.fingerprint from manifest
This addresses the runtime VINTF parse error:

  E hwservicemanager: getDeviceHalManifest: -2147483648 VINTF parse error: Cannot add manifest fragment /vendor/etc/vintf/manifest/android.hardware.biometrics.fingerprint@2.1-service.xml:HAL "android.hardware.biometrics.fingerprint" has a conflict.

Change-Id: I478c314b46bc6e39206f268d52fc7e445a2df3e4
2021-04-25 14:49:59 +02:00
Arian
804e911c0b
davinci: Add HVDCP properties
Change-Id: I59a058c92d0d854a037d22591dd90a0c55c03748
2021-04-25 14:49:59 +02:00
Arian
4c5bfa0185
davinci: sepolicy: Update mi_thermald property label
Change-Id: Ib0944a93ab4a43c8386de989894b3f6ee38d8088
2021-04-25 14:49:59 +02:00
Arian
770e1d1dd3
davinci: Update props from 20.10.22
Change-Id: Ie923deae7f5a94484279cf36e22a3145846b3051
2021-04-25 14:49:59 +02:00
Sujin Panicker
005863edbf
davinci: audio-hal: Add property for timecheck timeout duration.
Timecheck timeout set to 20sec based on the property
vendor.audio.hal.boot.timeout.ms before system is ready.
It updates to default timeout of 5sec once the system
is ready.

Change-Id: I6d13eb8b8d06f279261cbcb81053f9a1389d073e
2021-04-25 14:49:59 +02:00
Purushottam Kushwaha
e307cc2650
davinci: NAN: set property 'wifi.aware.interface' to use separate interface
This CL is to set 'wifi.aware.interface' property for the targets
where separate NAN discovery interface is supported.

Change-Id: Ib892f2207a9366a5a86071fd6d3c4b37e174b08c
CRs-Fixed: 2680050
2021-04-25 14:49:54 +02:00
Arian
6c7d2472a0
davinci: Import media_codecs_c2.xml
Change-Id: I01052ad711a0df0b5c1f608ab3eec4ea8f6469aa
2021-04-25 14:49:24 +02:00
Arian
64565c7e2c
davinci: Remove unused media_codecs_vendor_audio.xml
Change-Id: I5e81b6aa4409835bae7e9c92754b3ad1a74b7cc8
2021-04-25 14:49:16 +02:00