Files
kernel_xiaomi_cepheus/include/uapi/linux/nfc/nfcinfo.h
Gaurav Singhal 2cae74ad5b NFC: Add snapshot of NQxxx NFC driver
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>
2018-03-14 15:14:05 +05:30

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