diff options
author | Varka Bhadram <varkab@cdac.in> | 2014-06-20 17:47:15 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-22 21:31:58 -0700 |
commit | 0da6bc8cc3417a5e452efb886ff2c61e72b743d6 (patch) | |
tree | cfa54da02d55940163e9d14c75bae5cf113ddb98 /include/linux/spi | |
parent | 47cc3b4f0f5956055672ce89366ef17c03597087 (diff) |
ieee802154: cc2520: adds driver for TI CC2520 radio
This patch adds the driver support for the cc2520 radio.
Driver support:
- Tx and Rx of IEEE-802.15.4 packets
- Energy Detection on channel
- Setting the Channel for the radio. [b/w 11 - 26 channels]
- Start and Stop the radio
- h/w address filtering
Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/cc2520.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/linux/spi/cc2520.h b/include/linux/spi/cc2520.h new file mode 100644 index 000000000000..85b8ee67e937 --- /dev/null +++ b/include/linux/spi/cc2520.h @@ -0,0 +1,26 @@ +/* Header file for cc2520 radio driver + * + * Copyright (C) 2014 Varka Bhadram <varkab@cdac.in> + * Md.Jamal Mohiuddin <mjmohiuddin@cdac.in> + * P Sowjanya <sowjanyap@cdac.in> + * + * 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 + * (at your option) any later version. + * + */ + +#ifndef __CC2520_H +#define __CC2520_H + +struct cc2520_platform_data { + int fifo; + int fifop; + int cca; + int sfd; + int reset; + int vreg; +}; + +#endif |