diff options
author | Varka Bhadram <varkab@cdac.in> | 2014-06-20 08:17:15 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-23 00:31:58 -0400 |
commit | 0da6bc8cc3417a5e452efb886ff2c61e72b743d6 (patch) | |
tree | cfa54da02d55940163e9d14c75bae5cf113ddb98 /include | |
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')
-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 @@ | |||
1 | /* Header file for cc2520 radio driver | ||
2 | * | ||
3 | * Copyright (C) 2014 Varka Bhadram <varkab@cdac.in> | ||
4 | * Md.Jamal Mohiuddin <mjmohiuddin@cdac.in> | ||
5 | * P Sowjanya <sowjanyap@cdac.in> | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | */ | ||
13 | |||
14 | #ifndef __CC2520_H | ||
15 | #define __CC2520_H | ||
16 | |||
17 | struct cc2520_platform_data { | ||
18 | int fifo; | ||
19 | int fifop; | ||
20 | int cca; | ||
21 | int sfd; | ||
22 | int reset; | ||
23 | int vreg; | ||
24 | }; | ||
25 | |||
26 | #endif | ||