Add the latest version of NQxxx NFC driver from 'msm-4.9
commit 71661100f78c ("NFC: Remove PMIC clock voting from HLOS")'.
After taking snapshot we have modified code to address
one of the banned API.
Change-Id: I4cf01400be377cbfb2d709292795d711a5688948
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
22 lines
362 B
C
22 lines
362 B
C
#ifndef _UAPI_NFCINFO_H_
|
|
#define _UAPI_NFCINFO_H_
|
|
|
|
#include <linux/ioctl.h>
|
|
|
|
#define NFCC_MAGIC 0xE9
|
|
#define NFCC_GET_INFO _IOW(NFCC_MAGIC, 0x09, unsigned int)
|
|
|
|
struct nqx_devinfo {
|
|
unsigned char chip_type;
|
|
unsigned char rom_version;
|
|
unsigned char fw_major;
|
|
unsigned char fw_minor;
|
|
};
|
|
|
|
union nqx_uinfo {
|
|
unsigned int i;
|
|
struct nqx_devinfo info;
|
|
};
|
|
|
|
#endif
|