Arian
84c40bc5ce
sm8450-common: sensors: Add v2 suffix to sensors.xiaomi
...
Change-Id: Ie6ef0e5fd4653eae298a3455edf14e05508e1cfd
2024-08-29 21:06:27 +02:00
Arian
a8d56acc6f
sm8450-common: Add hals.conf to load sensors.xiaomi to odm and move notifier to subdir
...
Change-Id: I9e16531e60fa6a0122330ee352cddd0840feb39c
2024-08-24 15:47:23 +02:00
Arian
b9ef44eff2
sm8450-common: sensors: Introduce LightNotifier and use libssccalapi@2.0
...
Change-Id: Iec11aa1a8ccc13db5d30cc6fa52e4b10d255c706
2024-08-12 10:24:41 +02:00
Arian
a96665b595
sm8450-common: sensors: Add aod notifier
...
Change-Id: I2ba35d7b7db4e6922d83f041497fe66bf52124cb
2024-08-12 10:24:33 +02:00
Arian
53191f2811
sm8450-common: sensors: Convert nonui notifier into a generalized sensor based notifier
...
Change-Id: I34b9861341f4f033185fdbd066b46d779dd95cfa
2024-08-12 10:24:04 +02:00
Arian
70f137270c
sm8450-common: sensors: Close touch dev fd after usage
...
Change-Id: Iad20a110444e87fb6ea37147bd2dc5928ca0ec8d
2024-08-01 01:08:48 +02:00
Arian
66b47cfe82
sm8450-common: Use kernel provided xiaomi_touch.h
...
Change-Id: Ib235946a1233b4965fc4a90c9b2b01b7644775e9
2024-08-01 01:08:48 +02:00
Arian
b6069026da
sm8450-common: sensors: Pass nonui value unmodified to touchscreen
...
* report the scalar directly, 1 probably means pocket and 2 means it's covered.
this led to us disabling nonui mode again when covered was reported after pocket.
Change-Id: Idbf7fdf773657d87407dd4b67a7353c17b4ae799
2024-08-01 01:08:48 +02:00
Arian
26737a0758
sm8450-common: sensors: Use wake-up version of nonui sensor
...
Change-Id: I4858cd37b98839c00cc2e533d7e50720cd7280c8
2024-08-01 01:08:48 +02:00
Arian
727d6834e5
sm8450-common: sensors: Cleanup code and drop unused dependencies
...
Change-Id: I553fb6f441cde1d3a5c4b19e42e3bd696a92bbd3
2024-08-01 01:08:48 +02:00
Arian
c9aa23766e
sm8450-common: Add nonui notifier
...
Change-Id: Id447dec0d6c6a384a55a25db45f2d763ba23635a
2024-06-09 11:07:59 +02:00