Arian
f7d433846c
input: touchscreen: Import fts_spi driver from mayfly-s-oss
...
Also ran clang-format
Change-Id: I6a88644a5aadf887364a5844b151848fd2a9d30b
2024-12-17 19:41:15 +01:00
Arian
4d326b8ed3
input: touchscreen: xiaomi: Report proper pending gesture events
...
Change-Id: I8dfbb40d5645b5cf15f0d3a5e529bcfe2ef43fca
2024-12-17 19:41:14 +01:00
Arian
28ad4a31f0
input: touchscreen: Create exported xiaomi touch header
...
Change-Id: Ic7004aff9220e9b07a9c16708f79eebf2ea790d9
2024-12-17 19:41:14 +01:00
Jens Reidel
a012646c81
input: touchscreen: xiaomi: Try all panels when getting gesture enabled value
...
Some panels like zizhan's primary panel do not support all gestures that
xiaomi touch supports. Therefore, to check whether a given gesture is
enabled, we need to check all connected touchscreens until one gives a
valid value (i.e. implements the feature).
Change-Id: Id8a3ec12195f6a798c015e6de78f6719849eb9cb
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:14 +01:00
Jens Reidel
dec2a89151
input: touchscreen: xiaomi: Notify both panels of gesture commands
...
Change-Id: I5fb69bf735c759c574bcc6dd3395625f84b4a9db
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:14 +01:00
Jens Reidel
e9d92e404d
input: touchscreen: xiaomi: Fix touch id assertion bounds
...
Change-Id: I557185fa36b42056cd959533aec3e7eec5a6677f
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:14 +01:00
Jens Reidel
0a303fb8fb
input: touchscreen: xiaomi: Avoid NPE if getModeValue is not registered
...
Change-Id: Ia7a70e1823aa36039634bafa8dcd8994139bed06
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:14 +01:00
Arian
2573b4b7a5
input: touchscreen: xiaomi: Notify sysfs when sensor enabled state changes
...
Change-Id: I52e3294c27e71b48c45b6e72923df049bb91d42e
2024-12-17 19:41:13 +01:00
Arian
fb2a2dc283
input: touchscreen: xiaomi: Add enable node for double tap sensor
...
Change-Id: Ie85db6e14e83321d26f5c7eb89e6978401645068
2024-12-17 19:41:13 +01:00
Fabian Leutenegger
acc15024ed
input: touchscreen: xiaomi: Add double tap gesture sysfs notify node
...
Change-Id: I03caf63ba624d5211665ef956df6ea8b38b95a27
2024-12-17 19:41:13 +01:00
Arian
8d78f27707
input: touchscreen: xiaomi: Add singletap gesture command
...
Change-Id: I6e6bb3bf06c270abb8d168ed9dca5878cabf7434
2024-12-17 19:41:13 +01:00
Arian
7d6d0b55d3
input: touchscreen: xiaomi: Add fod_longpress gesture command
...
Change-Id: I461b90392f3136b40ee97803a41da0fb171d115b
2024-12-17 19:41:13 +01:00
Arian
de603ae4f8
input: touchscreen: xiaomi: Get rid of notify buf spam
...
Change-Id: I286dbcdc596ce06eb9d391cc2d267157855210ea
2024-12-17 19:41:13 +01:00
Arian
8842f4a0b2
input: touchscreen: xiaomi: Add prototypes to function declarations
...
Change-Id: I91435bce8d6b4a0df50adf24cfd74e7a5b9862ad
2024-12-17 19:41:12 +01:00
kxxt
883a0b479e
[WIP] input: touchscreen: xiaomi: Reverse from stock module
...
Change-Id: I0536f666a3cd178564bb07be150e692dc8e4c1ee
2024-12-17 19:41:12 +01:00
Arian
30784e8b4b
Revert "input: touchscreen: xiaomi: Implement touch_thp_film"
...
This reverts commit 7d6621bab274097ec6c3f3c22f3c0a208ed9b1c9.
Change-Id: I10c7216a4bea0b0735f5850fcb7e64ec1a72e0e6
2024-12-17 19:41:12 +01:00
Arian
cf49c0ee7a
input: touchsreen: xiaomi: Import updated header from M11
...
Change-Id: I8a2668e52030f54dd30a4d001bb5857d3762f96e
2024-12-17 19:41:12 +01:00
Arian
907e3f336d
input: touchscreen: xiaomi: Implement touch_thp_mem_notify
...
Change-Id: I25569b4d1509f5b5a4cdb33cc4c56773bf853090
2024-12-17 19:41:12 +01:00
Arian
676e5095dc
input: touchscreen: xiaomi: Implement touch_thp_film
...
Change-Id: If44dc1e2478083dafdacf8314d619db5e547d7fd
2024-12-17 19:41:12 +01:00
Arian
7a915c25cc
input: touchscreen: xiaomi: Implement palm_sensor_data
...
Change-Id: I73217c76ce202d38a055d7fce1b8c34b1f16e302
2024-12-17 19:41:12 +01:00
Arian
e3ccba0eea
Revert "input: touchscreen: xiaomi: Change enable_touch_raw to work with int"
...
This reverts commit 5c4bf0a430541df9b6393e6a1eff2ff93667d8fc.
Change-Id: I6bdd4e700270ebe1e8597bd09e25aa820ed9058e
2024-12-17 19:41:11 +01:00
Arian
f897406a61
Revert "input: touchscreen: xiaomi: Drop clicktouch_raw"
...
This reverts commit 51b530253a841c812ef6c6a5fcd513f3b6be12a0.
Change-Id: I485c2b618973b81c6d68f834849f9ebe34ac0710
2024-12-17 19:41:11 +01:00
Arian
1812fff7b3
input: touchscreen: xiaomi: Implement tp_hal_version
...
Change-Id: Id0c48f33deffa7d62d50ae13583a2808aab2b81e
2024-12-17 19:41:11 +01:00
Arian
15f4f04489
input: touchscreen: xiaomi: Implement touch_irq_no
...
Change-Id: I9a6d64ff70edfc15fbcde377e482315e7ef9ef13
2024-12-17 19:41:11 +01:00
Arian
f4060b3106
input: touchscreen: xiaomi: Implement finger_status
...
Change-Id: I61bd0f891a156fed41cb764423fd9597570c0002
2024-12-17 19:41:11 +01:00
Arian
eaff8f77f9
input: touchscreen: xiaomi: Implement touch_active_status
...
Change-Id: I5138fa4e9784dc8b984874d33a14f41031ffc6d6
2024-12-17 19:41:11 +01:00
Arian
ba0a56aa2f
input: touchscreen: xiaomi: Add XIAOMI_TOUCH_UTC_PRINT
...
Change-Id: I65f5ab5bc738af471c216b220e3ff3ba9ff1df34
2024-12-17 19:41:10 +01:00
Arian
1426989329
input: touchscreen: xiaomi: Add more THP mode types
...
Change-Id: I50fcf6a5a37bbc5f4105964d86920022cc780d5e
2024-12-17 19:41:10 +01:00
Arian
1f69b2f2a5
input: touchscreen: xiaomi: Change enable_touch_raw to work with int
...
Change-Id: Ide92ed5937c38e1a772f44d07ba68cd5d4938e71
2024-12-17 19:41:10 +01:00
Arian
8eece741dd
input: touchscreen: xiaomi: Implement thp_cmd_data
...
Change-Id: I00b7161526084c3f31ec5cd925bea10af050126e
2024-12-17 19:41:10 +01:00
Arian
3c2c3f934a
input: touchscreen: xiaomi: Move xiaomi_touch_set_suspend_state up
...
Change-Id: If5d0efede26fbf1b16c46a5c628655c6eb2b41ce
2024-12-17 19:41:10 +01:00
Arian
c20b8d1d58
input: touchscreen: xiaomi: Drop clicktouch_raw
...
Change-Id: I856796199db365da1eb8bffcee6c490fe00a770c
2024-12-17 19:41:10 +01:00
Arian
f88b542861
input: touchscreen: xiaomi: Implement resolution_factor
...
Change-Id: Ifb31b9877f73a8f4e76f9ab4d1c0cbe8ff79c079
2024-12-17 19:41:09 +01:00
Arian
2e63d33a91
input: touchscreen: Import xiaomi touch driver from mayfly-s-oss
...
Also ran clang-format
Change-Id: Id09592d795b4a077e238377fbe9a48500a08a555
2024-12-17 19:41:09 +01:00
Jens Reidel
125ae2ae5d
input: misc: qcom-hv-haptics: Add support for garnet
...
Change-Id: I8167b022c8156f60a46ecacf0fd2f44d01487293
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:09 +01:00
Jens Reidel
eea21f2798
input: misc: qcom-hv-haptics: Import changes from yudi-t-oss
...
Change-Id: Idaaf0e677f9212d32254f92d2d8eb9ce655ddb27
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:09 +01:00
Jens Reidel
0b7362e433
input: misc: Import aw8622x_haptic driver from ziyi-s-oss
...
Also ran clang-format and converted to LF
Change-Id: Ieaa97ebd751101fbc8c042400565e9aba4dd76c2
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:09 +01:00
TheStrechh
67de051a05
input: misc: aw86927_haptic: Replace mtk with qcom properties
...
* Fix haptic issues
Change-Id: Ibec65e2415cb8570d5f178de4e8e4b2903db8bae
2024-12-17 19:41:09 +01:00
Arian
af058bb920
input: misc: Imort aw86927_haptic driver from mayfly-s-oss
...
Also ran clang-format and converted to LF
Change-Id: Iff2a4a3a36810526b8535835511f49f15aad957f
2024-12-17 19:41:09 +01:00
Arian
b308931d05
input: misc: Import aw8698_haptic driver from mayfly-s-oss
...
Also ran clang-format
Change-Id: I1602bc1f68beb453a945021ce2d1eaf9b4657797
2024-12-17 19:41:08 +01:00
Jens Reidel
38f0c9675f
input: Import stmvl53l5 driver from garnet-t-oss
...
Also ran clang-format and converted to LF
Change-Id: I6036ad97379fba581fb12d06f642e2572efb24b7
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:08 +01:00
Divyanshu-Modi
f00607b0dc
input: goodix_tee: Disable Navigation events and key maps
...
* zizhan HALs reports a fake touch every time the fingerprint area is pressed
Signed-off-by: Divyanshu-Modi <divyan.m05@gmail.com>
Change-Id: I3fa3609570064063f328d3b4f4620fd5a332312e
2024-12-17 19:41:08 +01:00
Jens Reidel
1207322224
input: fingerprint: Add goodix_tee driver
...
From mondrian-s-oss. Also ran clang-format.
Change-Id: I6a38efa43333acd8c3736e6d0078ed49953bdf26
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:08 +01:00
Jens Reidel
c6edfe1efb
input: fingerprint: Import goodix_3626 from marble-s-oss
...
Ran clang-format and added missing type specifiers to variables.
Change-Id: I09b804da783f6a6b8f1049237cdbb782468db4c9
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:08 +01:00
Jens Reidel
89285b3e97
input: fingerprint: Import fpc_1540 from marble-s-oss
...
Ran clang-format and added missing type specifiers to variables.
Change-Id: I290535a38e5673d5b26be0838df97c4ecdcbf3c4
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:08 +01:00
Jens Reidel
042f119903
input: fingerprint: goodix_fod: Fix duplicate input_free_device call
...
Change-Id: I5f3d326d9db156519a4c2171e1c6f863d8005156
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:07 +01:00
Jens Reidel
3168421e59
input: fingerprint: goodix_fod: Add support for more supply configs
...
As used on mondrian and diting.
Change-Id: Ib69d8c347081115ff2c2c2c951e7f95100debf1d
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:07 +01:00
Arian
5abdfb610a
input: fingerprint: Import goodix_fod driver from mayfly-s-oss
...
Also ran clang-format
Change-Id: I02927338f0de1674191ea42ce7a0554dc2147302
2024-12-17 19:41:07 +01:00
Arian
837c45e465
misc: Introduce simplified xiaomi hardware identification driver
...
Change-Id: I6ae7a76dcc687fe8fa9edb5c119182d2c32462be
Co-authored-by: Jens Reidel <adrian@travitia.xyz>
2024-12-17 19:41:01 +01:00
Michael Bestas
6725684c74
Merge tag 'ASB-2024-12-05_12-5.10' of https://android.googlesource.com/kernel/common into android13-5.10-waipio
...
https://source.android.com/docs/security/bulletin/2024-12-01
* tag 'ASB-2024-12-05_12-5.10' of https://android.googlesource.com/kernel/common : (649 commits)
ANDROID: ABI: update symbol list for honor
ANDROID: fs: add vendor hook to collect IO statistics
ANDROID: tools/objtool: Pass CFLAGS to libsubcmd build via EXTRA_CFLAGS
UPSTREAM: HID: core: zero-initialize the report buffer
ANDROID: libsubcmd: Hoist iterator variable declarations in parse_options_subcommand()
ANDROID: mm: Fix SPF-aware fast-mremap
UPSTREAM: net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT
UPSTREAM: f2fs: support SEEK_DATA and SEEK_HOLE for compression files
Revert "genetlink: hold RCU in genlmsg_mcast()"
ANDROID: add file for recording allowed ABI breaks
ANDROID: GKI: update symbol list for honor
ANDROID: Allow vendor modules perform more operations on memleak detect
UPSTREAM: drm/omap: fix misleading indentation in pixinc()
UPSTREAM: bitfield: build kunit tests without structleak plugin
BACKPORT: FROMGIT: binder: add delivered_freeze to debugfs output
BACKPORT: FROMGIT: binder: fix memleak of proc->delivered_freeze
FROMGIT: binder: allow freeze notification for dead nodes
FROMGIT: binder: fix BINDER_WORK_CLEAR_FREEZE_NOTIFICATION debug logs
FROMGIT: binder: fix BINDER_WORK_FROZEN_BINDER debug logs
BACKPORT: FROMGIT: binder: fix freeze UAF in binder_release_work()
...
Conflicts:
android/abi_gki_aarch64.xml
net/qrtr/af_qrtr.c
Change-Id: I4f416cf6c90e71fbdc0bea2c76a620842a2a2288
2024-12-16 00:43:42 +02:00