Commit graph

27 commits

Author SHA1 Message Date
Deokgyu Yang
a00f867501 gts3l-common: power: Merge power-ext function in the power HAL and apply ours
As we're building our power HAL ourselves, the
TARGET_POWERHAL_SET_INTERACTIVE_EXT flag doesn't working at all. So I
merged this feature to our power HAL to use the extension works, which
is disabling S-Pen panel, LCD, hardware touch key power.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-20 21:45:44 +09:00
Deokgyu Yang
1362e5c29b gts3l-common: power_ext: Rename it for managing power_ext separately
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib8a0ecf4a35f16c9ba874b1580735c696852dd7e
2022-02-20 20:09:54 +09:00
Deokgyu Yang
1b8aa77576 gts3l-common: boardconfig: Let builder know our kernel version
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic2e6c85b01bdc1c0b00886553ed97f0c1b017546
2022-02-20 14:33:24 +09:00
Deokgyu Yang
7d5e7de6bd gts3l-common: boardconfig: Use lld instead of ld
This also resolves my workaround for building kernel,
780bb8553c

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia6baaa3f2055206f7e21fbf97d2616b03b95ff79
2022-02-20 14:33:24 +09:00
Deokgyu Yang
a28c2c4e82 gts3l-common: boardconfig: Our tablet has HDR, wide color display
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2543d69b4f66283a2dc82966b954b1bc214c8c2a
2022-02-20 14:33:24 +09:00
Deokgyu Yang
d78f085f81 gts3l-common: boardconfig: Enable triple buffering
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I751fac1ddca482aaf08a9b845bc12f1c181dc24e
2022-02-20 14:33:24 +09:00
Deokgyu Yang
66aab5c3bc gts3l-common: boardconfig: Enable partitions on loop devices
This is used by the new "virtual disk" feature used by vold to help
debug and test storage code on devices without physical media.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I89c9263f4d1843a751f39fb5c7d7d2150267a295
2022-02-20 14:33:24 +09:00
Deokgyu Yang
98b74e74a3 gts3l-common: boardconfig: Override SDK API level 26 for mm-qcamera-daemon
Update of the commit 24df69b

Confirmed this working with clean installation

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I21ddd66000d18fa93a77e1eb6714f1ae6fd7f0b2
2021-12-19 18:17:31 +09:00
Deokgyu Yang
24df69b790 gts3l-common: boardconfig: Override SDK API level 27 for mm-qcamera-daemon
As our tablet was updated until Android 9, I tried to use SDK API level
28 but it couldn't init the camera feature. But setting to level 27
seems working well.

Here is the details of overriding SDK API level from a LineageOS commit,
which has Change-Id: I1d95a4019c298497dce504894d0db705e541a92d
```
Replace file pinning applied in commit fee6d01 by setting the lower SDK version
that exempts mm-qcamera-daemon from the tight restrictions on mutex calls.

This allows us to update to the latest blobs without needing to manually
re-patch the offending camera lib.
```

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib75d5806c1facbd8e4e5dd4ea140a2716c6c2f54
2021-12-19 16:54:45 +09:00
Deokgyu Yang
43f874285d gts3l-common: audio: Add Dolby audio effect
References:
- https://review.lineageos.org/c/LineageOS/android_device_samsung_gta4xl-common/+/314961
- https://forum.xda-developers.com/t/rom-official-lineageos-18-1-for-galaxy-s10e-s10-s10-s10-5g-exynos.4315407/page-7#post-85586605

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If58ceb23d4b30759ce3b93102a04623b6f291a5f
2021-12-19 16:50:53 +09:00
Deokgyu Yang
f5462e7c39 gts3l-common: boardconfig: Correct FLASH_BLOCK_SIZE value
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1d86143f17750967b138b88a725eff05af01c1e3
2021-12-19 13:55:36 +09:00
Deokgyu Yang
6f7bed0a2e gts3l-common: wlan: Workaround broken softAP with dynamic interface creation
Got hint from
6fd923f2ec

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib3d8b8ff53a5723184bc0dd8df1a24bb94b85834
2021-11-20 03:32:39 +09:00
Deokgyu Yang
f364604f31 gts3l-common: wlan: Move supplicant service init to wpa_supplicant
Got hints from
c4159c26a2

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I03de16ccedbd80a015a7c7d80719c4bb10559232
2021-11-20 03:32:37 +09:00
Deokgyu Yang
0585eb2e34 gts3l-common: boardconfig: Remove obsolute TARGET_BOARD_PLATFORM_GPU
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1edf0f484c9478a7a0af9ebfbbfba20ea60c6ba4
2021-11-14 14:43:09 +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
ca0a024b97 gts3l-common: camera: Set to not use HAL1
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I69a9720d98612a2e625270e5b0759b40aea13411
2021-08-30 21:33:55 +09:00
Deokgyu Yang
fe55c2f42a gts3l-common: camera: Born in Nougat
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2ef7e907b04a3e4edc3cb2d5c649c85531e2a4c2
2021-08-30 03:01:58 +09:00
Deokgyu Yang
1b5e36472f gts3l-common: camera: Optimize the camera flags
Maybe TARGET_PROCESS_SDK_VERSION_OVERRIDE is not required but decided to
keep it as for now because it is not harmful

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie3733945ff11c50e08d2d133e63da76309ace0c6
2021-08-29 17:30:14 +09:00
Deokgyu Yang
4726e8cee6 gts3l-common: camera: Edit camera properties
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iab550aa6ade1a06c9f5952547bde5124caf96ea2
2021-08-22 01:48:24 +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
ad51ddd98b gts3l-common: light: Remove unnecessary board specific light header file
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I08f020167a9984d19a1333a26679a34f5895fa16
2021-08-12 00:54:54 +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
5ce1e1a5b0 Merge branch 'lineage-18.1-audio' into lineage-18.1
Change-Id: I0994658c681642aacda07f66ffdbc3e3f9d6dac2
2021-07-28 00:15:17 +09:00
Deokgyu Yang
10b53b54e7 gts3l-common: power: Turn off some inputs when screen turns off
The file is from apq8084/android_device_samsung_trlte-common, and I edit
its node paths for our tablet.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5be7bb7aa1e00c96280da18b9208c44c0ba3abd2
2021-07-27 00:00:26 +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
a119236ae1 gts3l-common: display: Set the default density to 320
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I9b28a65a9889b736870d1461243008d77b0bf11c
2021-07-02 18:33: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 BoardConfig.mk (Browse further)