diff options
author | David S. Miller <davem@davemloft.net> | 2014-06-23 00:32:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-23 00:32:49 -0400 |
commit | eef929622b0ce86fcdaf6bd9ab6d7502470728d5 (patch) | |
tree | e4b1e6ea1ffef4f883f627a570de0480c6ffcae2 /include | |
parent | 47cc3b4f0f5956055672ce89366ef17c03597087 (diff) | |
parent | 1952e8e0c5156615e344acbb9317e65f11aa9536 (diff) |
Merge branch 'cc2520'
Varka Bhadram says:
====================
Driver for TI CC2520 Radio
changes since v6:
- proper releasing of resources
- changed pr_debug() to dev_dbg()
- removed unwanted header file
- changed is_tx type to bool
changes since v5:
- added saddr and panc_changed functionality
- rework on lqi field
- improvements in checkings for reception
- modification in debug messages
changes since v4:
- feature to write into cc2520 RAM
- added h/w address filtering
changes since v3:
- drop the unused varible
changes since v2:
- drop spi mode dt binding
changes since v1:
- improvement in gpio setup
- changed len pointer to len variable
changes for v1:
- improvements in the locking mechanism in Tx and SFD ISR
- proper checkings for GPIO pins
- avoids the memory leak for priv
- used devm_* API's
- moved the code from header file to .c file
- removed cc2520_unregister()
====================
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 | ||