Commit Graph

7 Commits

Author SHA1 Message Date
Nakul Kadannavar e66e8265cf NFC: Read core reset notification
After chip has cold booted wait maximum of 50ms to
receive core reset notification.
Implement kernel ioctl to read whether core reset
notification has recieved before timeout.
Cold boot implementation of NFCC had a bug,
GPIO disable needs to be held high for atleast
100ms before switching it to low for a clean cold
boot.

CRs-Fixed: 729456
Change-Id: I11a213d68ff1b44f433706e104bbaeac406bd5d6
Signed-off-by: Nakul Kadannavar <nakulk@codeaurora.org>
2014-09-24 21:22:51 +01:00
Nakul Kadannavar e9593670b1 NFC: Read NFCC is fused or unfused
Implement kernel ioctl to read if NFCC is fused or not.

CRs-Fixed: 692604
Change-Id: I588c3bcf0fc52e8b857fdeaa1f9f2a343efec744
Signed-off-by: Nakul Kadannavar <nakulk@codeaurora.org>
2014-08-20 11:10:24 +01:00
Houston Hoffman 1a0b82a775 NFC: Remove unused LDO request code
No current hardware uses this LDO pin.  We were voting this LDO allways on.
Pin configurations should use an allways on LDO.  New hardware requiring
LDO voting needs an LDO voting rework. Thus we remove the current unused
LDO code.

Change-Id: Icf2c911065b6900a3e6635678903d11e73792fb3
Signed-off-by: Houston Hoffman <hhoffman@codeaurora.org>
2014-02-08 14:20:06 -08:00
Bansidhar Gopalachari 176c999508 NFC: Implement LDO control for 8610 qrd skuaa devices
control voltage regulators LD0 14 for 8610 qrd skuaa device from
nfc-nci device.

Change-Id: I65118b64b3330f033312de1889e7df4f6ad4fd27
Acked-by: Umesh Jagga <ujagga@qti.qualcomm.com>
Signed-off-by: Bansidhar Gopalachari <bansid@codeaurora.org>
2013-10-24 12:56:08 -07:00
Bansidhar Gopalachari f95a78fed8 NFC: Implement multiple NFC clock source and patch version
NFC driver to support multiple clock sources and to support patch
version ioctl to be used by the user mode driver.

Change-Id: Idd10fc1284ae1335a3a59179ad6e3e265c952d08
Acked-by: Umesh Jagga <ujagga@qti.qualcomm.com>
Signed-off-by: Bansidhar Gopalachari <bansid@codeaurora.org>
2013-09-25 11:07:44 -07:00
Bansidhar Gopalachari 5d7b289850 NFC: Add support for ftm mode
This mode is controlled by user mode driver using ioctl
to add Factory Test Mode (FTM) functionality for QCA199x
NFC controller.
This change also implements wake up sleep commands and
hard reset of NFCC.Currently only QCA199x NFCC version 2.0
support has been added.

Change-Id: Ied94996696cb9c1fdc1f559b4e583d989793ace3
CRs-Fixed: 506488
Signed-off-by: Bansidhar Gopalchari <bansid@codeaurora.org>
2013-09-04 17:12:16 -07:00
Madan Mohan Koyyalamudi 010cf2969b NFC: Add QCA199x NFC NCI device
Add QCA1990 NCI based Near Field Communication chip device.
The NFCC is controlled by sending messages from
user space via this driver which in turn talks
to i2c driver. This driver uses read, write, poll
functions for transferring messages. It is
registered as a misc device and it also
initialises certain NFCC configuration registers.

Change-Id: I20d5e64a460918f00a3035d558e292da1881aa0a
Acked-by: Umesh Jagga <ujagga@qti.qualcomm.com>
Signed-off-by: Madan Mohan Koyyalamudi <mkoyya@codeaurora.org>
2013-09-04 17:04:00 -07:00