Commit Graph

73518 Commits

Author SHA1 Message Date
LuK1337
c24a29b2c6 oplus: oplus_touchscreen_v2: Drop ABS_TOUCH_COST_TIME_KERNEL bit
ABS_TOUCH_COST_TIME_KERNEL conflicts with ABS_PROFILE and is useless for
us.

Change-Id: Ia5fc89dda5356c522de874b6e6b75730a28ba434
2025-09-07 08:30:49 +05:30
LuK1337
e34b72bbe9 oplus: oplus_touchscreen_v2: Always enable gestures and assign unique keycodes
This is required for dt2w and ITouchscreenGesture on LineageOS.

Change-Id: I3fe73841276bb5d074536a9b7a292b305369b488
2025-09-07 08:30:49 +05:30
LuK1337
4e9c4cecd5 oplus: oplus_touchscreen_v2: Default to enable pen function when boot up
Change-Id: I5266f528f41a77a91b2bca118d4d2791fb8f08f9
2025-09-07 08:30:49 +05:30
Maitreya25
a9e633c627 oplus: synaptics_hbp: Update gesture_type as soon as a gesture is detected
Change-Id: I01f9ff4be6c0987aad5ddeea94a81bccb7cd9827
2025-09-07 08:30:49 +05:30
Maitreya25
42fecfa00d oplus: synaptics_hbp: Assign unique keycodes to every gesture
Based on Luk1337's original work for touch v2

Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I560558bfedadce79bc8e9456db40924aa08c04d0
2025-09-07 08:30:49 +05:30
Dr-chen99
8e730d97dc oplus: synaptics_hbp: Report double tap as KEY_WAKEUP
Co-authored-by: Maitreya25 <maitreyapatni25@gmail.com>
Change-Id: I9aa5af35949f7d045fbf70b024315a48c6527c0f
2025-09-07 08:30:49 +05:30
LuK1337
4ccc772c54 oplus: tri_state_key: Assign vendor id
This prevents inputflinger from grouping tri key under some unrelated
input device.

Change-Id: I6dfc7caf031fac0bff4a7b2f13c324814d297e9b
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:30:49 +05:30
Bruno Martins
586a1c2a62 oplus: charger: Fix comparison of different enumeration types
Change-Id: I3acd3f09747a2514222dcc70b9d99c0a2027e0a9
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:30:49 +05:30
dianlujitao
d58fb213d4 oplus: sensor: Unconditionally build the module
Change-Id: Id107b44d3d74a776a96493379bde761115798309
2025-09-07 08:30:49 +05:30
dianlujitao
7307f76e39 oplus: secure: Sync feature flags with bazel
Change-Id: I6c12fe0e61286028eb4537736bda51e010ac215f
2025-09-07 08:30:49 +05:30
dianlujitao
d470f3c93d oplus: fingerprints: Unconditionally build the module
Change-Id: I593f560cb7e0eb67cdc8c0c8fde31acc4c1a2fd8
2025-09-07 08:30:49 +05:30
LuK1337
6e218826e6 oplus: ft8057p: Unconditionally build the module
Change-Id: I095bc724ce8cc3a2f514c7b51bf0715cce28d394
2025-09-07 08:30:49 +05:30
dianlujitao
86f00f4a58 oplus: touchpanel: Unconditionally build the module
Change-Id: Ia06f779f35158d427678c404650d87e292fd16c5
2025-09-07 08:30:49 +05:30
Bruno Martins
ba59a83acc oplus: network: Add kbuild extra symbols
These kernel modules depend on oplus_network_oem_qmi.

Change-Id: I4c5acb419388c30c27e4849642f289bcd9c4e3f3
2025-09-07 08:30:49 +05:30
chandu078
8032498f58 oplus: network: Replace QCOM_PLATFORM with CONFIG_OPLUS_SYSTEM_KERNEL_QCOM
Since QCOM_PLATFORM is not defined, use CONFIG_OPLUS_SYSTEM_KERNEL_QCOM
to properly determine QCOM platform compatibility.

This ensures the function is only exposed when building
for a Qualcomm-based OPLUS kernel.

Change-Id: Ic08788794e40e8147820915e2aa52d01fe60af00
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:30:49 +05:30
dianlujitao
4c260486fd oplus: network: Rename and build the modules
Change-Id: I96f4ad34521664b53a8cba229d02bdae32f629a1
2025-09-07 08:30:49 +05:30
dianlujitao
5f621404a0 oplus: dfr: Rename and build the modules
Change-Id: Ied276da57c021fd9a55b07318226ad4156c8d254
2025-09-07 08:30:49 +05:30
LuK1337
bcbae302e8 oplus: pogo_keyboard: Unconditionally build the module
Change-Id: Ibac907947bbc03c0e3184d83be99bd44bce78bd4
2025-09-07 08:30:49 +05:30
dianlujitao
f38776aa8b oplus: tri_state_key: Unconditionally build the modules
Change-Id: Ia1f7a70f126daf75a6a71fa148f9eac8a0c3d5e1
2025-09-07 08:30:49 +05:30
dianlujitao
85acf6a3bb oplus: thermal: Add Makefile
Change-Id: I652622174c0e6d3f0e5da4a5dc8565af40f68667
2025-09-07 08:30:49 +05:30
LuK1337
6280f55176 oplus: mdmrst: Unconditionally build the module
Change-Id: I4c9bd1cf699f63341ccea2f441dccd0bebdd283f
2025-09-07 08:30:49 +05:30
LuK1337
e89ce9ce07 oplus: mdmfeature: Unconditionally build the module
Change-Id: Icd9e0ce77b6ca4c0868492df60b60efb85d87121
2025-09-07 08:30:49 +05:30
chandu078
d11f638b7c oplus: Import minimal oplus drivers from CPH2581_15.0.0.850(EX01)
Change-Id: I757de735d0282896a9d244d3dca5b752a9fb116b
2025-09-07 08:30:48 +05:30
Bruno Martins
62ad78250f qcom: wlan: cnss2: Disable spammy logging
Change-Id: I70f40e8a50076b8791ffe7f615b83969e814d020
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:30:48 +05:30
LuK1337
fd838c0ccf qcom: wlan: cnss2: Reverse MAC address in cnss_qmi_get_dms_mac()
Change-Id: Ifecac206679e6ee230c6cfbb02038fa2ada6dc09
2025-09-07 08:30:48 +05:30
LuK1337
0611c15874 qcom: wlan: cnss2: Propagate WLAN MAC to cnss utils
This allows us to use platform driver MAC address provisioning in
qcacld-3.0.

Change-Id: I09984f44314316367f25eb514924aedf5f01a464
2025-09-07 08:30:48 +05:30
GuaiYiHu
3101697f8a qcom: display-drivers: sde: Increase sde stage to map zpos changes
While this change was originally to fix gpay and similar, now this is
needed to fix fod with an additional layer such as talkback and PIP.

Change-Id: I91a7f3f32defb5033dda3385a8f518b975018ff7
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:30:48 +05:30
LuK1337
8f023bb532 qcom: display-drivers: oplus: Add fp_state sysfs
This lets us to poll it in userspace.

Change-Id: I999d165b3b872475d793a60f5fac5e5d97355e11
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:30:48 +05:30
chandu078
1466177689 qcom: display-drivers: Disable oplus trackpoint report
Change-Id: I6815aa59ac63aca98b2d415a3e9cef18b8bec9d9
2025-09-07 08:30:48 +05:30
Bruno Martins
e473d8adbb qcom: camera-kernel: Remove 'struct sched_param' redefinition
Change-Id: I71ecb1b41641e4cd3589ad7150501b42db34c3f1
2025-09-07 08:30:48 +05:30
chandu078
19c6bd7dbd qcom: camera-kernel: Properly setup spectra oplus config
Change-Id: I166f0b6b8019104ea165a81c984e40a77d5556c4
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:30:48 +05:30
Bruno Martins
07099a9a81 qcom: audio-kernel: oplus: ASoC: Turn off debugging macro
Not only this was enabling more verbose logging,
but also opting-in for the usage of trace_printk
which is undesired in production builds.

Change-Id: Ic018518f1b213cec33601607be2b717c255715c3
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:30:48 +05:30
chandu078
9e6e54c2ee qcom: wlan: Import minimal changes from CPH2581_15.0.0.850(EX01)
Change-Id: I7d773ed487f0d4fb34d2c44e0ca91314aa6e9828
2025-09-07 08:30:36 +05:30
chandu078
e99b534965 qcom: video-driver: Import changes from CPH2581_15.0.0.850(EX01)
Change-Id: I05fe8b0e1820ace0a5d642b1019259863843d27d
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:29:26 +05:30
chandu078
d5c83f8004 qcom: display-drivers: Import changes from CPH2581_15.0.0.850(EX01)
Change-Id: I9fb7e330218965aca6ed1af10d710a194c4f474d
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:29:11 +05:30
chandu078
19f9e990ae qcom: camera-kernel: Import changes from CPH2581_15.0.0.850(EX01)
Change-Id: I312d187a3e017debb2fdc79508e5b2287466024f
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:28:58 +05:30
chandu078
ea1d97e154 qcom: audio-kernel: Import changes from CPH2581_15.0.0.850(EX01)
Change-Id: If46b4740e7e7851bfb8d964a7a5638fe67197a63
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:28:37 +05:30
Bruno Martins
db2c3df20e Android.bp: Point to OnePlus kernel
Change-Id: I03e72fbaeb92f9b6c1f7062a90f6a40582ab2248
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-07 08:26:54 +05:30
SGCMarkus
dd7c364cbd nxp: driver: Add Kbuild for header install
Change-Id: I9ef3f05e607adfdd49de34a6a977cef3137c16dd
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-05 20:26:06 +05:30
chandu078
1922b505f1 nxp: driver: Add kbuild extra symbols
Change-Id: Ia138f572f435b7ef4969c42c3d205df81f6df636
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-05 20:26:06 +05:30
Bruno Martins
9ad0e0852f qcom: Fix paths for compiling for inline
Change-Id: I962ea4d98f1b3a46133223a9f70ada50faeeb032
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-05 20:26:06 +05:30
chandu078
5ae3f83501 qcom: wlan: qcacld-3.0: Fix build warnings
Change-Id: I10dc38cdc12f2d1aa917ce3e449dfa505769b222
2025-09-05 20:25:33 +05:30
Yu Wang
eda21f9fab qcom: wlan: qcacld-3.0: Cast to int32_t before comparing two different enum variables
To avoid build failure when using '-Werror' and
'-Wenum-compare' together in compiler options(which
will treat any warnings about comparisons between
different enumeration types as errors), cast both to
int32_t before comparing.

Change-Id: I12c5365dc4b923580f30951171b66034ebafa4d2
CRs-Fixed: 3984502
2025-09-05 20:22:58 +05:30
Yu Wang
9466dcc57c qcom: wlan: qcacld-3.0: Correct the field used to identify link switch disconnect
In a disassociation request, the field used to
identify whether it is link switch disconnect
is 'source' rather than 'reason_code'.

Change-Id: I3bd600ec04deadb2e8a7aed4d064e1855837d20a
CRs-Fixed: 3984496
2025-09-05 20:22:30 +05:30
Danny Lin
be51cb4b13 qcom: wlan: qcacld-3.0: Fix regulatory domain country names
Clang warns:

../qcom/wlan/qcacld-3.0/core/cds/src/cds_regdomain.c:284:43: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation]
        {CTRY_TURKS_AND_CAICOS, FCC3_WORLD, "TC" "TURKS AND CAICOS"},
                                                 ^
                                                ,
../qcom/wlan/qcacld-3.0/core/cds/src/cds_regdomain.c:284:38: note: place parentheses around the string literal to silence warning
        {CTRY_TURKS_AND_CAICOS, FCC3_WORLD, "TC" "TURKS AND CAICOS"},
                                            ^
../qcom/wlan/qcacld-3.0/core/cds/src/cds_regdomain.c:296:45: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation]
        {CTRY_WALLIS_AND_FUTUNA, ETSI1_WORLD, "WF" "WALLIS"},
                                                   ^
                                                  ,
../qcom/wlan/qcacld-3.0/core/cds/src/cds_regdomain.c:296:40: note: place parentheses around the string literal to silence warning
        {CTRY_WALLIS_AND_FUTUNA, ETSI1_WORLD, "WF" "WALLIS"},
                                              ^

Change-Id: I35bc21e7946f03fc36fb912f46f742ec23cb8d99
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-09-05 20:21:52 +05:30
Park Ju Hyung
6ddd4ceac3 qcom: wlan: qcacld-3.0: Always force user build
Change-Id: I8cf9709bc29fde1e41b06f0811f74684161e4cc1
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-09-05 20:21:46 +05:30
dianlujitao
d7716dad7a qcom: wlan: platform: Add defconfigs to Kbuild
Change-Id: I330c0d08542101ed2731b5cc744a2a98e90f93d7
2025-09-05 20:20:49 +05:30
dianlujitao
9867c5fac4 qcom: wlan: qcacld-3.0: Fix inline build
Change-Id: I162f7496784b94401991af4bfad1adb13c016750
2025-09-05 20:20:34 +05:30
dianlujitao
6731980fe1 qcom: wlan: qcacld-3.0: Include feature flags from dataipa
Change-Id: If57e9c553b29a94afe69dd407521a66d19ba355e
2025-09-05 20:18:49 +05:30
chandu078
87ff79869c qcom: wlan: qcacld-3.0: Support building multiple WLAN module variants
Allow building different WLAN modules by deriving LOCAL_DEV_NAME from
the symlink name. This enables device-specific module configurations
without modifying the shared source, useful for multi-platform targets
sharing the same qcacld-3.0 tree.

Change-Id: If57e9c553b29a94afe69dd407521a66d19ba355e
2025-09-05 20:18:36 +05:30