Files
kernel_xiaomi_sm8250/include/uapi/linux/nfc/nfcinfo.h
Tapas Dey 367bf9992c NFC: Add snapshot of NQxxx NFC driver
Add the latest version of NQxxx NFC driver from 'msm-4.14
commit b66d738d0f19 ("NFC: Fix for nq-nci dev node recovery")'.

Change-Id: I32a86cb682a8f1a17de6be6ed9fbbf2ff7bcef47
Signed-off-by: Tapas Dey <tdey@codeaurora.org>
2019-01-30 12:43:25 +05:30

27 lines
509 B
C

/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
/*
* Copyright (c) 2018,2019, The Linux Foundation. All rights reserved.
*/
#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