Commit graph

76 commits

Author SHA1 Message Date
LuK1337
d202951a85 sm8350-common: Sync sensors related props with stock
Change-Id: I9995281b9e61f1dada7dc3369e060bec5ba9f3d5
2021-06-03 18:26:14 +02:00
Manisha Agarwal
13a9ce2716 sm8350-common: a2dp: Support lc3 codec playback
Add support for lc3 codec playback.

Change-Id: I11df956272068b6b7fe0911ce091225dccc4fd18
2021-06-02 18:02:47 +02:00
Bruno Martins
82593d3701 sm8350-common: Explicitly enable dm-default-key volume metadata encryption method
Change-Id: Iabfe4d15ac108fa594df391be728986274e3126e
2021-06-02 01:05:14 +02:00
LuK1337
0ff6496538 sm8350-common: Sync audio props with stock
Change-Id: Icf3bd214c67fa68ba113b55f374dad68a7a60850
2021-06-01 23:23:38 +01:00
Ajender Reddy
9847562161 sm8350-common: Enable vbat monitor feature by default
Change-Id: Ic5e8248bbd7c79553510d0094463607cc316a50e
2021-06-01 23:23:38 +01:00
Sudheer Papothi
14e5d46fab sm8350-common: Add speaker protection v4 configuration
Add speaker protection v4 configuration on lahaina.

Change-Id: I8d1e9e7055bc78ba4c14e395e0880c8ee8d20013
2021-06-01 23:23:38 +01:00
LuK1337
56e0ada962 sm8350-common: Enable display early wakeup
Change-Id: I43b9339763fefe732856db669687eeee4771c740
2021-06-01 23:23:38 +01:00
LuK1337
fd985a1945 sm8350-common: Configure USB MTP over FFS
This is now required for targets using 5.4 kernel and above
because the legacy f_mtp is deprecated.

Change-Id: Ief9d955d6e4159263864bc82beae6dcf6c858ce1
2021-06-01 23:23:38 +01:00
Jack Pham
b5aa70b18d sm8350-common: Configure USB Diag over FFS
On targets where diag-router is used, override the
vendor.usb.diag.func.name property to 'ffs' to
instantiate the Diag function instances to use
F_FS instead of the legacy f_diag driver.

Change-Id: I529a081a0d6988628944a9020b61c061baa877a4
2021-06-01 23:23:38 +01:00
Jaideep Sharma
3590daee0a sm8350-common: 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: I651fea37fc7093e196fc2f5e540e6d9447f88b71
2021-06-01 23:23:38 +01:00
Kunlei Zhang
d47fe32f67 sm8350-common: Add feature support to set power mode for voice call
Add support to set power mode for voice call

Change-Id: I052f094c62a25cd75da3c7cca172b85a4f46ced4
2021-06-01 23:23:38 +01:00
Lokesh Gidra
c0ab297b6f sm8350-common: Use 6GB dalvik-heap config
We are currently using 2GB dalvik-heap config.

Bug: 145823510
Test: MPTS
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2021-06-01 23:23:38 +01:00
Bruno Martins
1c1195097b sm8350-common: Bring up DSDS radio
Change-Id: I290532f7a9f3477b0a13f73d6818a16134df1caa
2021-06-01 23:23:38 +01:00
LuK1337
2deb022492 sm8350-common: Use correct FRP block device
Change-Id: I54495530fa383b81efc70e94f4bb46a56a07ef6d
2021-06-01 23:23:38 +01:00
Zhou Song
d8977f9f0e sm8350-common: Add dedicated hearing aid proxy configs
Add hearing aid configs in HAL.

Change-Id: Iaaec0b4d097fca67d35cb1e098c23f51b331837f
2021-06-01 22:29:58 +01:00
Bruno Martins
410e7ff323 sm8350-common: Initial common device tree conversion
Change-Id: I0d7188b3fa82dddf3f9fb9523d716a8f15f46184
2021-06-01 11:12:31 +02:00
Bruno Martins
70bd2661d2 sm8250-common: Ditch rild.libpath prop
This is only needed for AOSP rild services. It's currently
unused since the move to QCRIL.

Change-Id: I5eb4d0bc2d086d5a2f29e3c3f5ee2d8f0220f5f5
2021-06-01 10:23:44 +02:00
LuK1337
ce7f97800c sm8250-common: Decommonize voice call volume steps
Apparently there are issues on non-8T with vol steps set to 9.

Change-Id: Icc8f1dd75c67cf2cc247301ec8606326e4b6f3d5
2021-05-20 09:33:00 +02:00
LuK1337
bb16435fa4 sm8250-common: Relocate volume steps customization to vendor.prop
Change-Id: Ic0d0666de7899dde5afbd1cd40370ccea2837419
2021-05-04 19:45:43 +02:00
LuK1337
c870005d46 fixup! sm8250-common: Set persist.sys.sf.color_mode to DISPLAY_COLOR_MANAGED (0)
* Meant to actually set the native_mode here.

Change-Id: Ie8830d2804df7be2563cbd2ea87a85727a8053f1
2021-02-02 12:59:27 +01:00
LuK1337
5e5a8d31d7 sm8250-common: Set persist.sys.sf.color_mode to DISPLAY_COLOR_MANAGED (0)
* 'Display white balance' only works when color_mode is
  set to something other than the default value
  DISPLAY_COLOR_UNMANAGED (1).

Change-Id: Idaf30a2f2924c461fc0f034f099afaecb5bbf79b
2021-02-02 11:58:29 +01:00
LuK1337
443ade5112 sm8250-common: Set ro.gfx.driver.0 according to stock
* This was in stock /system/build.prop but since it's
  labeled as u:object_r:exported3_default_prop:s0 it
  may as well be put in /vendor/build.prop instead.

Change-Id: I5c03cedec64e7364c0733cd2ea416ca6a7b09089
2021-01-23 20:38:10 +01:00
LuK1337
0cd9a81dcf sm8250-common: Enable ro.audio.monitorRotation
* This was in stock /system/build.prop but since it's
  labeled as u:object_r:exported3_default_prop:s0 it
  may as well be put in /vendor/build.prop instead.

Change-Id: I462c575da006f096185f515ffb1b050d7bd4ae3c
2021-01-23 20:31:10 +01:00
LuK1337
08b67c59e8 sm8250-common: Restrict DSDS to intl variants
Change-Id: I8858ca1ce05a3354acea8f322bb34cc2192d81f5
2021-01-08 14:31:38 +01:00
LuK1337
e7a726e756 sm8250-common: Enable OTG
Change-Id: I9a361ba93d94ee9a5cfeb8421367fae097837601
2021-01-08 14:31:38 +01:00
LuK1337
343e954111 sm8250-common: Start building vendor and odm
* Build whatever we can from source
* Import vintf compatibility_matrix and manifest
* Import stock vendor props

Change-Id: I905b2b6c388f6b76844e7cea2def70d10e164dab
2021-01-08 14:31:38 +01:00