diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-21 01:20:48 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-21 01:20:48 -0400 |
| commit | 2f37dd131c5d3a2eac21cd5baf80658b1b02a8ac (patch) | |
| tree | e0f191b15865268e694c02f1f02cbc26a168ddf9 /include/linux/platform_data | |
| parent | 3aa2fc1667acdd9cca816a2bc9529f494bd61b05 (diff) | |
| parent | ffc83a79b44e02995ab5e93af07e26f6c7243c53 (diff) | |
Merge tag 'staging-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
Pull staging and IIO driver updates from Greg KH:
"Here's the big staging and iio driver update for 4.7-rc1.
I think we almost broke even with this release, only adding a few more
lines than we removed, which isn't bad overall given that there's a
bunch of new iio drivers added.
The Lustre developers seem to have woken up from their sleep and have
been doing a great job in cleaning up the code and pruning unused or
old cruft, the filesystem is almost readable :)
Other than that, just a lot of basic coding style cleanups in the
churn. All have been in linux-next for a while with no reported
issues"
* tag 'staging-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (938 commits)
Staging: emxx_udc: emxx_udc: fixed coding style issue
staging/gdm724x: fix "alignment should match open parenthesis" issues
staging/gdm724x: Fix avoid CamelCase
staging: unisys: rename misleading var ii with frag
staging: unisys: visorhba: switch success handling to error handling
staging: unisys: visorhba: main path needs to flow down the left margin
staging: unisys: visorinput: handle_locking_key() simplifications
staging: unisys: visorhba: fail gracefully for thread creation failures
staging: unisys: visornic: comment restructuring and removing bad diction
staging: unisys: fix format string %Lx to %llx for u64
staging: unisys: remove unused struct members
staging: unisys: visorchannel: correct variable misspelling
staging: unisys: visorhba: replace functionlike macro with function
staging: dgnc: Need to check for NULL of ch
staging: dgnc: remove redundant condition check
staging: dgnc: fix 'line over 80 characters'
staging: dgnc: clean up the dgnc_get_modem_info()
staging: lustre: lnet: enable configuration per NI interface
staging: lustre: o2iblnd: properly set ibr_why
staging: lustre: o2iblnd: remove last of kiblnd_tunables_fini
...
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/invensense_mpu6050.h | 5 | ||||
| -rw-r--r-- | include/linux/platform_data/st_sensors_pdata.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/platform_data/invensense_mpu6050.h b/include/linux/platform_data/invensense_mpu6050.h index ad3aa7b95f35..554b59801aa8 100644 --- a/include/linux/platform_data/invensense_mpu6050.h +++ b/include/linux/platform_data/invensense_mpu6050.h | |||
| @@ -16,13 +16,16 @@ | |||
| 16 | 16 | ||
| 17 | /** | 17 | /** |
| 18 | * struct inv_mpu6050_platform_data - Platform data for the mpu driver | 18 | * struct inv_mpu6050_platform_data - Platform data for the mpu driver |
| 19 | * @orientation: Orientation matrix of the chip | 19 | * @orientation: Orientation matrix of the chip (deprecated in favor of |
| 20 | * mounting matrix retrieved from device-tree) | ||
| 20 | * | 21 | * |
| 21 | * Contains platform specific information on how to configure the MPU6050 to | 22 | * Contains platform specific information on how to configure the MPU6050 to |
| 22 | * work on this platform. The orientation matricies are 3x3 rotation matricies | 23 | * work on this platform. The orientation matricies are 3x3 rotation matricies |
| 23 | * that are applied to the data to rotate from the mounting orientation to the | 24 | * that are applied to the data to rotate from the mounting orientation to the |
| 24 | * platform orientation. The values must be one of 0, 1, or -1 and each row and | 25 | * platform orientation. The values must be one of 0, 1, or -1 and each row and |
| 25 | * column should have exactly 1 non-zero value. | 26 | * column should have exactly 1 non-zero value. |
| 27 | * | ||
| 28 | * Deprecated in favor of mounting matrix retrieved from device-tree. | ||
| 26 | */ | 29 | */ |
| 27 | struct inv_mpu6050_platform_data { | 30 | struct inv_mpu6050_platform_data { |
| 28 | __s8 orientation[9]; | 31 | __s8 orientation[9]; |
diff --git a/include/linux/platform_data/st_sensors_pdata.h b/include/linux/platform_data/st_sensors_pdata.h index 753839187ba0..79b0e4cdb814 100644 --- a/include/linux/platform_data/st_sensors_pdata.h +++ b/include/linux/platform_data/st_sensors_pdata.h | |||
| @@ -16,9 +16,11 @@ | |||
| 16 | * @drdy_int_pin: Redirect DRDY on pin 1 (1) or pin 2 (2). | 16 | * @drdy_int_pin: Redirect DRDY on pin 1 (1) or pin 2 (2). |
| 17 | * Available only for accelerometer and pressure sensors. | 17 | * Available only for accelerometer and pressure sensors. |
| 18 | * Accelerometer DRDY on LSM330 available only on pin 1 (see datasheet). | 18 | * Accelerometer DRDY on LSM330 available only on pin 1 (see datasheet). |
| 19 | * @open_drain: set the interrupt line to be open drain if possible. | ||
| 19 | */ | 20 | */ |
| 20 | struct st_sensors_platform_data { | 21 | struct st_sensors_platform_data { |
| 21 | u8 drdy_int_pin; | 22 | u8 drdy_int_pin; |
| 23 | bool open_drain; | ||
| 22 | }; | 24 | }; |
| 23 | 25 | ||
| 24 | #endif /* ST_SENSORS_PDATA_H */ | 26 | #endif /* ST_SENSORS_PDATA_H */ |
