diff options
author | Jinyoung Park <jinyoungp@nvidia.com> | 2013-11-29 15:15:32 +0900 |
---|---|---|
committer | Harry Hong <hhong@nvidia.com> | 2013-12-01 22:13:14 -0800 |
commit | 6eda6ac9291fad2c5c11340f06263cc99411c670 (patch) | |
tree | e5ac85ca9cdf08fe2bf62191e34e2e63ab69009e /include | |
parent | cd6f59a1958fda8475b8e4beaf6b845df4658249 (diff) |
iio: staging: adc: palmas: Support for auto conversion shutdown
Support for auto conversion shutdown when auto conversion result is
crossed threshold.
Bug 1366274
Change-Id: Ib0037e4a6faedbe820c70c6155a35f2e6943caae
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/336848
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/palmas.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h index 973bdb58462d..bf9b56a6db0b 100644 --- a/include/linux/mfd/palmas.h +++ b/include/linux/mfd/palmas.h @@ -212,11 +212,13 @@ struct palmas_rtc_platform_data { * @adc_channel_number: ADC channel number for monitoring. * @adc_high_threshold: ADC High raw data for upper threshold to generate int. * @adc_low_threshold: ADC low raw data for lower threshold to generate int. + * @adc_shutdown: Shutdown when interrupt generated. */ struct palmas_adc_auto_conv_property { int adc_channel_number; int adc_high_threshold; int adc_low_threshold; + bool adc_shutdown; }; struct palmas_gpadc_platform_data { |