Commit Graph

51 Commits

Author SHA1 Message Date
Khageswararao Rao B
414ee1d668 NFC: Driver: Add SW WAR to enable and disable NFC clock
Added SW WAR to enable NFC clock at NFC ON and disable
NFC clock at NFC OFF.

Change-Id: Id617efb53ba06caa735927b4d271990be7e4766c
2022-02-23 09:55:24 +05:30
Tapas Dey
a6c862cb8a NFC: driver: Fix compilation issues on NFC driver
Modified code to fix compilation issues on NFC driver
for MW version 12.10.00 and retained QC specific code.

Change-Id: I9eeba3f6534a3c67c3b32b6361b4ef5d42965265
2022-02-02 16:47:06 +05:30
Tapas Dey
9f6bae5ac6 Merge branch 'caf/driver/br_android_ncihalx_comm_12' into nfc-driver.lnx.13.0
* lc_origin/caf/driver/br_android_ncihalx_comm_12: (44 commits)
  Updated corresponding to - NFC_AR_00_E800_12.10.00_OpnSrc
  Updated corresponding to - NFC_AR_00_E800_12.0D.00_OpnSrc
  Updated corresponding to - NFC_AR_00_E800_12.0A.00_OpnSrc
  Updated corresponding to - NFC_AR_00_E000_12.07.00_OpnSrc
  Clean up for 12.04.01
  Updated corresponding to - NFC_AR_00_E000_12.04.01_OpnSrc
  Updated corresponding to - NFC_AR_00_E000_12.02.01_OpnSrc
  Updated corresponding to - NFC_AR_00_02.00_6000_12.51.00_OpnSrc
  Updated corresponding to - NFC_AR_00_6000_11.06.00
  Updated corresponding to - NFC_AR_00_6000_11.04.00_OpnSrc
  Updated corresponding to - NFC_AR_00_6000_11.02.00_OpnSrc
  Updated corresponding to - NFC_AR_00_6000_11.01.00_OpnSrc
  Updated corresponding to - NFC_AR_00_6000_10.00.08_OpnSrc
  Updated corresponding to - NFC_AR_00_6000_10.00.06_OpnSrc
  NFC_NCIHALx_AR2000.09.00.13_OpnSrc
  NFC_NCIHALx_AR2000.09.00.11_OpnSrc
  NFC_NCIHALx_AR2000.09.00.0A
  NFC_NCIHALx_AR2000.09.00.08_RC1
  MW recovery for FW download teardown.
  NFC_NCIHALx_AR2000.09.00.02_OpnSrc
  ...

Change-Id: If31e12a04fac55b45b5eabfb6a6207c63e1926bd
2022-01-05 11:11:09 +05:30
Abhishek Dhumal
92e090c560 driver: eSE: Fix possible use after free
Shared variable is accessed without any mutual exclusion,
it may result into overwriting memory address and cause
invalid write access to buffer after free or invalid free.

Convert shared variable to local as it's usage was limited
with in API itself, it will avoid overwriting memory address
by another thread as all of them will have their own copy.

Change-Id: I36692313396f6c60e1be4479711feb14bb92ae4c
Signed-off-by: Gaurav Singhal <quic_gsinghal@quicinc.com>
2021-12-29 15:32:05 +05:30
Abhishek Dhumal
182705d221 driver: eSE: Fix possible invalid buffer access
Add NULL check for buffer to avoid invalid access.

Change-Id: Id7ec5d655291eb6b8a2d08e8775a61bdecdc73ca
Signed-off-by: Gaurav Singhal <quic_gsinghal@quicinc.com>
2021-12-29 15:08:27 +05:30
nxf35421
55d2657f94 Updated corresponding to - NFC_AR_00_E800_12.10.00_OpnSrc 2021-12-17 17:25:16 +05:30
Tapas Dey
e89ae5f94a NFC: FR72092, To move NFC module to vendor techpackage
As a part FR72092 requirement, moved the NFC driver
module out of kernel tree to be compiled as vendor techpackage.

Change-Id: I177d81782a7059bf6b9b4556b384737708c43348
2021-11-24 13:48:42 +05:30
Gerrit SelfHelp Service Account
a63df4ba2f Initial empty repository 2021-11-03 10:49:21 -07:00
nxf35421
5e8c04a48d Updated corresponding to - NFC_AR_00_E800_12.0D.00_OpnSrc 2021-10-07 00:21:34 +05:30
nxf35421
6b429ad0d1 Updated corresponding to - NFC_AR_00_E800_12.0A.00_OpnSrc 2021-08-19 13:43:24 +05:30
nxf35421
f94d1b082c Updated corresponding to - NFC_AR_00_E000_12.07.00_OpnSrc 2021-07-02 17:51:36 +05:30
nxf35421
22458900cc Clean up for 12.04.01 2021-06-17 15:03:32 +05:30
nxf35421
f64dad377c Updated corresponding to - NFC_AR_00_E000_12.04.01_OpnSrc 2021-04-29 20:39:02 +05:30
nxf35421
0d82b80e37 Updated corresponding to - NFC_AR_00_E000_12.02.01_OpnSrc 2021-02-26 15:55:00 +05:30
nxf35421
2ec82a2bfd Updated corresponding to - NFC_AR_00_02.00_6000_12.51.00_OpnSrc 2021-02-12 22:49:38 +05:30
nxf24591
bedce83629 Updated corresponding to - NFC_AR_00_6000_11.06.00 2020-11-20 18:32:04 +05:30
nxf24591
8c5402967f Updated corresponding to - NFC_AR_00_6000_11.04.00_OpnSrc 2020-08-07 13:58:19 +05:30
Nanjesh
25c57d3a9e Updated corresponding to - NFC_AR_00_6000_11.02.00_OpnSrc 2020-04-24 23:24:40 +05:30
Nanjesh
cb2bb40fc5 Updated corresponding to - NFC_AR_00_6000_11.01.00_OpnSrc 2020-02-28 19:06:57 +05:30
nxf35421
a90c2f8052 Updated corresponding to - NFC_AR_00_6000_10.00.08_OpnSrc 2019-06-28 15:49:31 +05:30
nxf35421
2a22a0e8e3 Updated corresponding to - NFC_AR_00_6000_10.00.06_OpnSrc 2019-05-24 17:09:11 +05:30
nxf35421
2910eb586b NFC_NCIHALx_AR2000.09.00.13_OpnSrc 2018-11-05 16:28:48 +05:30
nxf35421
eefe925448 NFC_NCIHALx_AR2000.09.00.11_OpnSrc 2018-10-22 19:15:16 +05:30
nxf24591
4c9c334d17 NFC_NCIHALx_AR2000.09.00.0A 2018-08-02 12:29:04 +05:30
nxpandroid
84b84f3d83 NFC_NCIHALx_AR2000.09.00.08_RC1 2018-06-29 13:15:59 +05:30
nxpandroid
c3ae8c8934 MW recovery for FW download teardown. 2018-04-05 15:32:57 +05:30
nxf24591
717066fe9b NFC_NCIHALx_AR2000.09.00.02_OpnSrc 2018-02-21 17:45:25 +05:30
nxpandroid
23f9d47d68 NFC_NCIHALx_AR18C0.8.2.9_O_OpnSrc 2017-11-20 11:10:47 +05:30
nxpandroid
4fb8563652 VEN & eSE SVDD power is not high during Secure Timer is Running 2017-10-16 16:19:15 +05:30
nxpandroid
acdce17254 Secure timer callback moved to bottom half execution 2017-09-26 17:56:25 +05:30
nxpandroid
a95ba8972a SEAccessKit_AR8.1.0_OpnSrc 2017-09-18 15:49:56 +05:30
nxpandroid
9c33e057cd NFC service died when SPI + DWP-reset/NFC ON/OFF 2017-09-14 15:37:36 +05:30
nxpandroid
f39b4842a4 NFC service died when SPI + DWP-reset/NFC ON/OFF 2017-09-14 15:36:31 +05:30
nxpandroid
57220780e5 [HW_VERSION_CHECK] : HW version check added during probe. 2017-08-22 15:34:43 +05:30
nxpandroid
cf81601f2e Jcop boot time + SPI init delay management 2017-08-14 12:56:28 +05:30
nxpandroid
30fe2b6eee SEAccessKit_AR8.0.C_OpnSrc 2017-07-31 17:37:26 +05:30
nxpandroid
ed9c28bc44 NFC_NCIHALx_AR1800.8.0.6_OpnSrc 2017-07-12 18:24:54 +05:30
nxpandroid
04dfbf5540 SEAccessKit_AR7.4.0_OpnSrc 2017-05-12 16:24:12 +05:30
nxpandroid
1ce9cd3b2c Removing intermediate files 2017-04-11 11:44:40 +05:30
nxpandroid
0299bae0b0 NFC_NCIHALx_ARC0.7.4.8_N 2017-04-11 11:38:57 +05:30
nxpandroid
c1b8212191 NFC_NCIHALx_AR3C.7.3.6_N 2017-02-24 16:43:08 +05:30
nxpandroid
089d289a6e NFC_NCIHALx_ARC0.7.2.0_N_OpnSrc 2016-12-22 19:33:43 +05:30
nxpandroid
9cfd4a3a27 NFC_NCIHALx_ARC0.7.2.0_N 2016-12-22 18:49:38 +05:30
nxpandroid
0f7c5e5cc0 driver updates for SEAccessKit_AR3.5.0_OpnSrc 2016-08-01 18:55:41 +05:30
nxpandroid
a377fe1ed0 SEAccessKit_AR3.3.0_OpnSrc 2016-05-27 20:38:55 +05:30
nxpandroid
7221b816e7 driver updates 2016-01-14 22:11:33 +05:30
nxpandroid
f3fca28a9a Updated I2C Driver with Power Management Changes 2015-06-22 17:11:10 +05:30
Sunil Jogi
915fb00cfc Adding Makefile and Kconfig. 2015-04-22 14:02:32 -07:00
nxpandroid
2f5a46733e Updated name of included header 2015-04-22 19:35:45 +05:30
nxpandroid
b0f6048082 Initial I2C Driver Commit for opensource 2015-04-21 14:54:58 +05:30