Midas Chien
a0e90ad8ce
techpack: drm/msm/sde: add sysfs node for trigger wake up early
...
Add sysfs node on crtc to trigger sde wake up early.
The command to trigger wake up early give in shell:
echo 1 > /sys/class/drm/sde-crtc-*/early_wakeup
Bug: 150196517
Test: trigger wake up and switch display power state
Test: testInflatingEmojiListViewFling
Test: testBrowseContentScroll
Change-Id: I96e6ad73e83e8a9e3e5e65e064c92f8e6a6d63f8
Signed-off-by: Midas Chien <midaschieh@google.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Signed-off-by: Karan Parashar <karan@pixelos.net>
2024-10-12 19:11:22 +05:30
Adithya R
29df08815f
techpack/display: msm: Set idle state correctly
...
Set the idle state based on sde encoder's rc state.
Test:
watch -n 0.1 cat /sys/class/drm/card0/device/idle_state
- shows "active" when display is being updated
- "idle" otherwise
Change-Id: I3b7b8f9e8ab2b7dc008060493d7fb1d7323afd4c
Signed-off-by: Karan Parashar <karan@pixelos.net>
2024-10-12 19:11:22 +05:30
Adrian Salido
74a2c92068
techpack/display: msm: Add idle state sysfs node
...
Add a sysfs mechanism to track the idle state of display subsystem.
This allows user space to poll on the idle state node to detect when
display goes idle for longer than the time set.
Bug: 139655049
Bug: 126304228
DennySPb: adapt to sm8350
* Change drm_encoder mask to 2
Change-Id: I21e3c7b0830a9695db9f65526c111ce5153d1764
Signed-off-by: Adrian Salido <salidoa@google.com>
Signed-off-by: Robb Glasser <rglasser@google.com>
(cherry picked from commit 11a2193b434cb3130743fbff89a161062883132e)
Signed-off-by: Ken Huang <kenbshuang@google.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-10-12 19:11:21 +05:30
Karan Parashar
14a8a76d1c
Revert "arm64: configs: lahaina: Set Local version to "-perf""
...
This reverts commit 73afc96642
.
Change-Id: I3182e3f84dcdb26a38d208813eb6f6743ecd8342
2024-10-12 19:11:20 +05:30
FlowerSea0208
a8b1270931
techpack: camera: ois: Update from star-r-oss
...
Change-Id: I9dc3eca68ab3ba31d2ab84c7a22cd7c957edebba
2024-09-02 04:15:21 +08:00
Arian
73b4b981d0
arm64: dts: xiaomi: Move to upstream ir-spi-led driver
...
Change-Id: I464b1b955aa6301aed121d094555ee7d6714f48f
2024-09-01 16:48:29 +02:00
Ivan Vecera
fc394b5fb8
media: rc: ir-spi: enlarge transmit buffer
...
Xiaomi's remote controller app uses frequency up to 60kHz and
transmit buffer up to 64kB (32768 of 16bit words).
Signed-off-by: Ivan Vecera <ivan@cera.cz>
Change-Id: I9b1da638fc981b09e0208d06f82ce0c5cf159654
2024-09-01 16:48:29 +02:00
Arian
170480801a
Revert "media: rc: ir-spi: Import Xiaomi changes"
...
This reverts commit d53b31c054
.
Change-Id: I1590b827dd0b674bd41f74cb22733715f6266cea
2024-09-01 16:48:28 +02:00
FlowerSea0208
2227d297b0
arm64: dts: mars: Fix incorrect vib_effect_max value
...
Change-Id: I0ec98ff0cfc619c6015b9779a6b86b12416c1dcd
2024-07-06 11:17:08 +00:00
Giovanni Ricca
73afc96642
arm64: configs: lahaina: Set Local version to "-perf"
...
Change-Id: Ibec6f9fa3bcab40077c8a63126843d2860d8eed8
2024-05-20 17:58:11 +02:00
Giovanni Ricca
950f07cb5c
audio: include: uapi: uint32_t -> __u32
...
Change-Id: I4410bcc5f302c663dc581fc0a91ecbcae2dd6793
2024-05-20 17:58:10 +02:00
Rick Yiu
97bff8f5a1
arm64: configs: xiaomi: Enable CFQ group schedule
...
Test: function enabled correctly
Bug: 112242999
Change-Id: Iee61f684836691f1758beb61c0f491f42c06c40e
Signed-off-by: Rick Yiu <rickyiu@google.com>
2024-05-20 17:58:09 +02:00
Sandeep Patil
b3ea6724e3
arm64: configs: xiaomi: Enable CONFIG_EXFAT_FS
...
Bug: 186473897
Test: build/build.sh
Signed-off-by: Sandeep Patil <sspatil@google.com>
Change-Id: I6c97e858e8f1eac0658a46313a71dac73653d63c
2024-05-20 17:58:08 +02:00
FlowerSea0208
e9ff065398
arm64: configs: xiaomi: Enable BQ 1S battery cell config for star
...
Change-Id: Ib5a5ddc459b3f7af3fb557d434b14a06a85723d6
2024-05-20 17:58:07 +02:00
TheStrechh
8d7e7b9601
arm64: configs: xiaomi: Enable redwood specific power config
...
Change-Id: I05cf1df0c7521224b6b74c87ef560334a3caa988
2024-05-20 17:58:06 +02:00
FlowerSea0208
1c25789fb6
arm64: configs: xiaomi: Enable BQ 1S battery cell config for venus
...
Change-Id: Iac8af05ced1bacacd21825b8dcf895941ab0fa15
2024-05-20 17:58:05 +02:00
Ramii Ahmed
bcb2ffa7e1
arm64: configs: xiaomi: Enable venus specific power config
...
Change-Id: Ic8afef2e85429ae6c892059507ac037949c0d2f2
2024-05-20 17:43:38 +02:00
Arian
b5b545a6bd
arm64: configs: xiaomi: Enable renoir specific power config
...
Change-Id: Idfd4c2e278b59510f98d4d5a5c2df8c23979dfd1
2024-05-20 17:43:37 +02:00
Arian
960dcad11d
arm64: configs: xiaomi: Enable mi wireless charging for odin star and venus
...
Change-Id: I0885eaf2265e89e8c93278c09e2e543244787ac3
2024-05-20 17:43:36 +02:00
Arian
cd9c3cb456
arm64: configs: xiaomi: Enable ultra wideband for odin
...
Change-Id: Ic4636f515d766eced0eb604609cafd2cf090a2c1
2024-05-20 17:43:35 +02:00
Arian
c3b0b03831
arm64: configs: xiaomi: Enable time of flight sensor for odin and star
...
Change-Id: I146697fccdc90723d4845cee5ddf1059db8009d5
2024-05-20 17:43:34 +02:00
Arian
67f5872e3f
arm64: configs: xiaomi: Enable image signal processor for cetus
...
Change-Id: Ieeaea581896af9797a090d20f84d45eab9da103f
2024-05-20 17:43:33 +02:00
Giovanni Ricca
8c81340929
arm64: configs: xiaomi: Enable pinctrl configs
...
Change-Id: Id0b57071eb6e47eff0fc7a2d0604f96375a482f8
2024-05-20 17:43:32 +02:00
Giovanni Ricca
0728b5be71
arm64: configs: xiaomi: Disable Vibrator-LDO driver
...
* It creates a syslink into `/sys/class/leds/vibrator`, breaking haptics for yupik devices if we are using a vibrator hal with led support
* Xiaomi disables it on stock as well ...
Change-Id: I93d31f978fd3283ed1f0bfcc814a2517565db0bf
2024-05-20 17:43:31 +02:00
Giovanni Ricca
f60337b448
arm64: configs: xiaomi: Build Awinic haptic drivers inline
...
* As stock
Change-Id: I131060103227bf747c59f8eee9cbf0c615ccf8e0
2024-05-20 17:43:30 +02:00
Giovanni Ricca
4fbfb9a1e9
arm64: configs: xiaomi: Enable haptics drivers
...
Change-Id: Ic2fb840d1d9d93413fe8503e221ebd2780584c0e
2024-05-20 17:43:29 +02:00
Giovanni Ricca
c89878c989
arm64: configs: xiaomi: Enable fingerprint configs
...
Change-Id: I4812a104ac90e9e0017152f761f4e0d15a46f0a0
2024-05-20 17:43:28 +02:00
Giovanni Ricca
a08f11859f
arm64: configs: xiaomi: Enable MIUS proximity sensor
...
Change-Id: I77d23e33838823cc240d479ebcc8ebda7716d177
2024-05-20 17:43:27 +02:00
Giovanni Ricca
b387165ad8
arm64: configs: xiaomi: Enable bq fuel guage
...
Change-Id: I370d8b39679b17695a906e93d3f1ebc8f3c56276
2024-05-20 17:43:26 +02:00
Giovanni Ricca
e51f904402
arm64: configs: xiaomi: Enable bq2597x
...
Change-Id: I99ba5074a226febdded6169c5bb34faa3cdce56b
2024-05-20 17:43:25 +02:00
Giovanni Ricca
6d697f92b3
arm64: configs: xiaomi: Build qti charger as a module
...
Change-Id: Ie523761934e5f0a95953677658028a9eebd6872d
2024-05-20 17:43:24 +02:00
Arian
0f26259b94
arm64: configs: xiaomi: Enable IR configs
...
Change-Id: I5acfe4d8fb2554f459ba6006e428a9b9b297f652
2024-05-20 17:43:23 +02:00
Giovanni Ricca
87975090ed
arm64: configs: xiaomi: Build icnss2 as module
...
Change-Id: I1e204a1b1af429d7f3ecd9a575b31d82afeb257e
2024-05-20 17:43:22 +02:00
Arian
80f8b80613
arm64: configs: xiaomi: Build cnss2 as module
...
Change-Id: I9443b032aafb483738b7a1c2812f12a6c3e9ccc5
2024-05-20 17:43:21 +02:00
Arian
42e18dffc5
arm64: configs: xiaomi: Enable qca6490/qca6750
...
Co-authored-by: Giovanni Ricca <giovanniricca@proton.me>
Change-Id: I42fe7c7c89fbeb45243ebeac9cc4ae4242587bbd
2024-05-20 17:43:20 +02:00
Luca Stefani
88a3d6504c
arm64: configs: xiaomi: Enable qcacld
...
Change-Id: I22b3d3adf31c95a91275d0c795403b4097201430
2024-05-20 17:43:19 +02:00
Giovanni Ricca
0c1de51854
arm64: configs: xiaomi: Enable mi thermald interface
...
Change-Id: I068f338cba88b67df680e0b2027851c445c4c974
2024-05-20 17:43:18 +02:00
Arian
c7ffb6a5b9
arm64: configs: xiaomi: Enable mi hwid driver
...
Change-Id: Ie9964a890f3cf8a1070c6b87e4e2949c553a9b2a
2024-05-20 17:43:17 +02:00
Arian
a15718a80c
arm64: configs: xiaomi: Disable unused touchscreen drivers
...
Change-Id: I19b8a9dc7aff6798d9654132c7b2f6b419814f79
2024-05-20 17:43:16 +02:00
Giovanni Ricca
48c0c3a6c3
arm64: configs: xiaomi: Enable touchscreen drivers
...
Change-Id: I5d437e85adb64aa5b319e28f2fccb6f496bc09a8
2024-05-20 17:43:15 +02:00
Demon000
590610856d
arm64: configs: xiaomi: Enable CONFIG_BUILD_ARM64_DT_OVERLAY
...
Change-Id: Iec686950466642aecc13e92c5526261c3f55774a
2024-05-20 17:43:14 +02:00
Giovanni Ricca
0702050f31
arm64: configs: Initial xiaomi stub fragmented configs
...
Change-Id: I8e704c19a6ca02932f556df455c5bd7578efa844
2024-05-20 17:43:13 +02:00
Arian
75dbb77eea
arm64: Generate lahaina-qgki_defconfig
...
```
PATH="../../los21/prebuilts/tools-lineage/linux-x86/bin:../../los21/prebuilts/clang/host/linux-x86/clang-r487747c/bin:$PATH"
ARCH=arm64 \
CROSS_COMPILE=aarch64-linux-gnu- \
REAL_CC=clang \
CLANG_TRIPLE=aarch64-linux-gnu- \
LD=ld.lld \
AR=llvm-ar \
LLVM=1 \
LLVM_IAS=1 \
scripts/gki/generate_defconfig.sh \
vendor/lahaina-qgki_defconfig
```
Change-Id: I564542c0e640fe2f3d338f4277551aa1f607c9e5
2024-05-20 17:43:12 +02:00
Giovanni Ricca
3910eeda34
.gitignore: Don't ignore generated lahaina defconfig
...
Change-Id: Ib6e3cb592e1010f20f8f01e6f18d9705d9d90f1e
2024-05-20 17:43:11 +02:00
Giovanni Ricca
baf60712b9
arm64: dts: Import redwood device tree
...
Change-Id: Icecd568298c11b1beaa720ea483b1930f179a8e2
2024-05-20 17:43:10 +02:00
Giovanni Ricca
4f3da5ad04
arm64: dts: Import zijin device tree
...
Change-Id: If462b025b917986ff06cfac543e4dbd08575453c
2024-05-20 17:43:09 +02:00
Arian
0425b1813b
arm64: dts: Use seperate mi2s rx and tx in taoyao overlay
...
Commit c7b6ffd
"ARM: dts: qcom: Add separate cpu dai for mi2s rx and tx"
added a seperate cpu dai for mi2s rx and tx. Update taoyao
overlay to comply with the change
Change-Id: Id2c78ef774a30f806c746c81b17efe5901ab2863
2024-05-20 17:43:08 +02:00
Giovanni Ricca
e6403eb51a
arm64: dts: Import taoyao device tree
...
Change-Id: I119ebd3cd9574f7f40af7181dd297b57ef00fa4b
2024-05-20 17:43:07 +02:00
Giovanni Ricca
112cce7399
arm64: dts: Import mona device tree
...
Change-Id: Ib73d3254fed789fb76adb6ca6ebd0249a9475ca7
2024-05-20 17:43:06 +02:00
Giovanni Ricca
d65686c04c
arm64: dts: Import lisa device tree
...
Change-Id: I8a7741482de378b8076c30a7d1f230b74b992429
2024-05-20 17:43:05 +02:00