diff options
| author | David S. Miller <davem@davemloft.net> | 2014-06-22 21:32:49 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-06-22 21:32:49 -0700 |
| commit | eef929622b0ce86fcdaf6bd9ab6d7502470728d5 (patch) | |
| tree | e4b1e6ea1ffef4f883f627a570de0480c6ffcae2 /include/linux | |
| parent | 47cc3b4f0f5956055672ce89366ef17c03597087 (diff) | |
| parent | 1952e8e0c5156615e344acbb9317e65f11aa9536 (diff) | |
| download | cachepc-linux-eef929622b0ce86fcdaf6bd9ab6d7502470728d5.tar.gz cachepc-linux-eef929622b0ce86fcdaf6bd9ab6d7502470728d5.zip | |
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/linux')
| -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 |
