Updated corresponding to - NFC_AR_00_E000_12.04.01_OpnSrc
Este commit está contenido en:
@@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
* Copyright (C) 2015, The Linux Foundation. All rights reserved.
|
||||
* Copyright (C) 2019-2021 NXP
|
||||
* *
|
||||
* Copyright (C) 2015, The Linux Foundation. All rights reserved.
|
||||
* Copyright (C) 2019-2021 NXP
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
@@ -19,16 +19,17 @@
|
||||
******************************************************************************/
|
||||
#ifndef _I2C_DRV_H_
|
||||
#define _I2C_DRV_H_
|
||||
|
||||
#include <linux/i2c.h>
|
||||
|
||||
/*kept same as dts */
|
||||
#define NFC_I2C_DRV_STR "nxp,pn544"
|
||||
#define NFC_I2C_DEV_ID "pn553"
|
||||
/* kept same as dts */
|
||||
#define NFC_I2C_DRV_STR "nxp,pn544"
|
||||
#define NFC_I2C_DEV_ID "pn553"
|
||||
|
||||
//Interface specific parameters
|
||||
/* Interface specific parameters */
|
||||
struct i2c_dev {
|
||||
struct i2c_client *client;
|
||||
/*IRQ parameters */
|
||||
/* IRQ parameters */
|
||||
bool irq_enabled;
|
||||
spinlock_t irq_enabled_lock;
|
||||
/* NFC_IRQ wake-up state */
|
||||
@@ -42,4 +43,4 @@ int nfc_i2c_dev_remove(struct i2c_client *client);
|
||||
int nfc_i2c_dev_suspend(struct device *device);
|
||||
int nfc_i2c_dev_resume(struct device *device);
|
||||
|
||||
#endif //_I2C_DRV_H_
|
||||
#endif /* _I2C_DRV_H_ */
|
||||
|
Referencia en una nueva incidencia
Block a user