diff options
author | Vincent Cuissard <cuissard@marvell.com> | 2015-06-11 15:00:20 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-06-12 00:41:57 +0300 |
commit | e097dc624f784debbde49701a493bf920bc422c7 (patch) | |
tree | f6837ca9bd1ba197677fef320ffd61b3565ef195 /drivers/nfc/nfcmrvl/nfcmrvl.h | |
parent | dc14bdef8762a8098b1da881b611d722e24fe787 (diff) | |
download | linux-e097dc624f784debbde49701a493bf920bc422c7.tar.xz |
NFC: nfcmrvl: add UART driver
Add support of Marvell NFC chip controlled over UART
Signed-off-by: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/nfcmrvl/nfcmrvl.h')
-rw-r--r-- | drivers/nfc/nfcmrvl/nfcmrvl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/nfc/nfcmrvl/nfcmrvl.h b/drivers/nfc/nfcmrvl/nfcmrvl.h index 214412bd6110..09780d57c9b8 100644 --- a/drivers/nfc/nfcmrvl/nfcmrvl.h +++ b/drivers/nfc/nfcmrvl/nfcmrvl.h @@ -43,6 +43,11 @@ #define NFCMRVL_HCI_OGF 0x81 #define NFCMRVL_HCI_OCF 0xFE +enum nfcmrvl_phy { + NFCMRVL_PHY_USB = 0, + NFCMRVL_PHY_UART = 1, +}; + struct nfcmrvl_private { @@ -61,6 +66,8 @@ struct nfcmrvl_private { void *drv_data; /* PHY device */ struct device *dev; + /* PHY type */ + enum nfcmrvl_phy phy; /* Low level driver ops */ struct nfcmrvl_if_ops *if_ops; }; |