-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staging: iio: adis16260 add suppport for adis16255 and adis16250.
Unusual element is addition of 'negate' and 'axis' platform data to ensure we support all the functionality of the adis16255 driver currently in staging. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Matthias Brugger <mensch0815@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information
Jonathan Cameron
authored and
Greg Kroah-Hartman
committed
Nov 29, 2010
1 parent
a967295
commit fe34604
Showing
4 changed files
with
125 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* ADIS16260 Programmable Digital Gyroscope Sensor Driver Platform Data | ||
* | ||
* Based on adis16255.h Matthia Brugger <m_brugger&web.de> | ||
* | ||
* Copyright (C) 2010 Fraunhofer Institute for Integrated Circuits | ||
* | ||
* Licensed under the GPL-2 or later. | ||
*/ | ||
|
||
/** | ||
* struct adis16260_platform_data - instance specific data | ||
* @direction: x y or z | ||
* @negate: flag to indicate value should be inverted. | ||
**/ | ||
struct adis16260_platform_data { | ||
char direction; | ||
unsigned negate:1; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters