Commit graph

33 commits

Author SHA1 Message Date
Deokgyu Yang
e9377b7f80 Revert "gts3l-common: fastcharge: Build fastcharge HIDL"
This reverts commit e6a3db5299.
2021-12-19 19:26:23 +09:00
Deokgyu Yang
0a6d07aa1d gts3l-common: media: Import LineageOS/Oneplus3 media configs
Ours somewhat contaminated for Samsung specific setups. So I removed all
the stock media configs and import them from
LineageOS/android_device_oneplus_oneplus3

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I36cbc17d0f6da25733b4d4bc9c57469ddf0fb866
2021-12-19 17:16:53 +09:00
Deokgyu Yang
7424e389a0 gts3l-common: media: Remove media directory by a step to migrate into configs
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I843f7046552e3d0aa29fc8106aab6476f110be70
2021-12-19 17:13:22 +09:00
Deokgyu Yang
aa77b19aef gts3l-common: wlan: Add WifiOverlay
It will handle Wifi more properly.

Refers:
- ee18061dca

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I22cbfaddd9c13a6ae653856a751012faf38f202f
2021-12-19 17:07:07 +09:00
Deokgyu Yang
9053fbc505 gts3l-common: touch: Add touch HAL implement
To use KeyDisabler for hardware touch keys.
This will disable touch keys properly.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6c2cfb8577bab19c708300aa16e0eb18730c293d
2021-12-19 03:43:17 +09:00
Deokgyu Yang
079374591f gts3l-common: permissions: Remove unused proximity permission
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I08d6e34330c349a2180e1a940638cd046f1c5543
2021-12-19 01:04:09 +09:00
Deokgyu Yang
66b3e2ae72 gts3l-common: permissions: Use correct permissions for Vulkan
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6e2847ae87ca01b62dbe3177e9eacf5f4e2b6ccb
2021-12-19 01:04:06 +09:00
Deokgyu Yang
ede499448c gts3l-common: device: Add FilpFlap package
AOSP based flip cover support

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I64d68526a661035c44c6c36f490377ed01a2d7f0
2021-12-12 19:22:43 +09:00
Deokgyu Yang
d9a96bac62 gts3l-common: idc/keylayout: Clean up and add keylayouts for the Samsung products
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I36465cb11ac2a8acecbf7a226a19394c4ec049be
2021-09-22 21:59:37 +09:00
Deokgyu Yang
fc4ba13673 gts3l-common: usb: Switch to QTI USB HAL
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idf59cb97cd8cbf1881f5b7f284f107bd77a28f9f
2021-09-22 21:59:37 +09:00
Deokgyu Yang
c484f16bcb gts3l-common: lpm: Enable the power-off mode charging using Samsung LPM
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I834d67453b2057e88d3e1cd1b1a4c6fac0c85f72
2021-09-22 21:59:35 +09:00
Deokgyu Yang
ec51243b9d gts3l-common: camera: Use Snap camera app
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7257185d3f730d92ef783e93b36a566d7808bc53
2021-08-30 21:34:32 +09:00
Deokgyu Yang
f7b8e79f3c gts3l-common: thermal: Add thermal-engine configs to the device tree
The default thermal-engine.conf file from the firmware is empty.
These file is from https://android.googlesource.com/device/google/marlin/+/refs/tags/android-10.0.0_r47

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ifcba085caadcc8a11f23861228b0ad446c077cad
2021-08-30 02:23:15 +09:00
Deokgyu Yang
9ca9eb9546 gts3l-common: power: Add powerhint.xml to the device tree
Adapted for the new format. The file contents is from
LineageOS/android_device_oneplus_oneplus3

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4c71e07c62753c4578138b26a3174a3670b509f3
2021-08-30 02:11:14 +09:00
Deokgyu Yang
0c080df8be gts3l-common: camera: Add camera configs to the device tree
For the modifying to debug, but it is still not bad to remain

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I87bad9d6c5cf84418aeb6111180b57125d4b9cef
2021-08-29 17:15:13 +09:00
Deokgyu Yang
bc0a040215 gts3l-common: camera: Build only the necessary blobs
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idfbda3c5a8d851a80304ada67174524d7cdc277f
2021-08-29 17:02:31 +09:00
Deokgyu Yang
820a0a3c0b gts3l-common: camera: Remove Snap camera since it doesn't work well
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ide6f4eaf049c81a649a75cf0b8e2c1a238ea3591
2021-08-22 01:48:50 +09:00
Deokgyu Yang
0c8728fcab gts3l-common: camera: Add wifiloader to use it as a trigger for eeprom
I saw these message from LOS 16 by Valera1978.

```
E [0:     wifiloader:  857] msm_eeprom_parse_memory_map: :565 set num_data as total-size (num_map : 8, total : 4608, valid : 4060)
E [0:     wifiloader:  857] msm_eeprom_match_id: read 0x00 0x01 0x00 0x00
E [0:     wifiloader:  857] msm_eeprom_i2c_probe: Skip front read eeprom in probe func
E         : [0:     wifiloader:  857] msm_eeprom_i2c_probe qcom,sensor-position 0
E         : [0:     wifiloader:  857] msm_eeprom_i2c_probe success result=0 is_supported=0x1X
I [0:     wifiloader:  857] msm_eeprom_init_module: 2177 probe succeed
I         : [0:     wifiloader:  857] msm_eeprom_get_dt_data gpio count 3
I [0:     wifiloader:  857] msm_eeprom_get_dt_data: 1355
I [0:     wifiloader:  857] msm_eeprom_get_dt_data: 1363
I [0:     wifiloader:  857] msm_eeprom_get_dt_data: 1370
I [0:     wifiloader:  857] msm_eeprom_get_dt_data: 1374
E [0:     wifiloader:  857] msm_eeprom_parse_memory_map: otp qcom,num-blocks 3
E [0:     wifiloader:  857] msm_eeprom_parse_memory_map: :973 set num_data as total-size (num_map : 3, total : 64, valid : 64)
I [1:     wifiloader:  857] read_eeprom_memory: read OTP_Bank: 1
E [1:     wifiloader:  857] read_eeprom_memory: 820 addr = 0x0, size = 64
E [0:     wifiloader:  857] msm_eeprom_platform_probe: All CRC values are matched.
I         : [0:     wifiloader:  857] msm_eeprom_platform_probe qcom,sensor-position 1
E         : [0:     wifiloader:  857] msm_eeprom_platform_probe Front is_supported=0x03
I [0:     wifiloader:  857] msm_eeprom_init_module: 2090 otp probe succeed
```

And this actually do the thing I want.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6f0f095fde61b8d00ff189bb2b5a51dacbac2bfd
2021-08-21 02:36:34 +09:00
Deokgyu Yang
c787689263 gts3l-common: camera: Clean up
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7142abe011128b531b0ba1ce0162bb3e9afd5a4b
2021-08-21 01:54:03 +09:00
Deokgyu Yang
36a7113fa8 gts3l-common: camera: Build camera provider service
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie05e3580b180af6b4e629497198473027727d10a
2021-08-14 01:08:04 +09:00
Deokgyu Yang
e564a02a7b gts3l-common: light: Build light HIDL for the gts3l family
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4434e44f55cadef9533620a026ec9cf7a5bd27ef
2021-08-13 22:36:24 +09:00
Deokgyu Yang
d49dc1e2a7 gts3l-common: livedisplay: Build LiveDisplay HIDL
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ife0d496f35342c249d066b98376ee42b14f618eb
2021-08-12 11:15:40 +09:00
Deokgyu Yang
e6a3db5299 gts3l-common: fastcharge: Build fastcharge HIDL
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If04667671accb9b415e2ca21e3d8373e5ee5b026
2021-08-12 01:34:50 +09:00
LuK1337
cbd81cde70 gts3l-common: audio: Implement audio rotation handler app×service
Originally this patch is made for Galaxy Tab S5e But I cherry-picked
this to our Galaxy Tab S3 device comes with editing the parameter key,
values.

Thanks LuK1337 for this amazing patch.

Change-Id: Ibc053edf1fa7e797f6457dfead416b177da57ab6
2021-08-07 16:34:11 +09:00
Deokgyu Yang
22828f6059 gts3l-common: camera: Use vendor camera HAL
But the camera doesn't work yet

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib34345c502a37e87476cf3cf057455bfe4158bda
2021-08-04 01:43:14 +09:00
Deokgyu Yang
0042997901 gts3l-common: vibrator: Add vibrator supports to the common device tree
Since the WiFi variants also supports vibrator as well as LTE version.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I97e3333309986a2bda42bc09278ad9f46ad624da
2021-07-28 22:34:38 +09:00
Deokgyu Yang
00cdadd432 gts3l-common: audio: Remove android.hardware.blutooth.audio
This fixes audio playback on a Bluetooth device, which is the QTI thing
that this device originally used.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I59e3c6b0367c751ff5f8a99b210ffc557ea8b9ad
2021-07-28 01:39:39 +09:00
Deokgyu Yang
b988c9c984 gts3l-common: audio: Vendor audio HAL working but no quad speakers
This can be done bacause of removing all "Telephony ?X" things from
audio_policy_configuration.xml. This should not be like this.

Instead, now voice recording and headphone jack get working.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7c5a027d059ff5c69cd73bb2f129a1e5d07ad4aa
2021-07-28 00:15:00 +09:00
Deokgyu Yang
35c2c7ce53 gts3l-common: audio: Use vendor HAL for quad-speakers
But the speakers not working yet

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib621378155fc68a975bb40c993f2aa65e0ee993b
2021-07-22 10:58:50 +09:00
Deokgyu Yang
4808ca78c9 gts3l-common: settings: Add support for freeformWindow
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I17df020c006494f6b4a792922a3540e4288efd0b
2021-07-14 11:01:54 +09:00
Deokgyu Yang
548dc9883a gts3l-common: permissions: Add vulkan supports for Android 11
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie50ff69fa5a8c5d38a9c2785a7602e8f52d22c34
2021-07-14 02:52:11 +09:00
Deokgyu Yang
4c1a2d5f38 gts3l-common: permissions: Replace tablet_core with handheld_core
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7694b413dff40191b73029fa8a0456edb7a098ec
2021-07-14 02:49:34 +09:00
Deokgyu Yang
0da3859ba1 gts3l-common: Separate into the two types of boards
gts3llte, gts3lwifi

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7d169ed9435d28cd7096bfff07be2077fbeeb71a
2021-06-25 02:06:55 +09:00
Renamed from device.mk (Browse further)