diff options
author | Jishnu Prakash <jprakash@codeaurora.org> | 2020-05-28 18:54:25 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-06-14 12:49:19 +0200 |
commit | 572e76e3819eaf828b229f984bf3704e560a74e5 (patch) | |
tree | ef678600055f72eb3adcfe3c3015e333ab7fdc8d /drivers/iio/adc/qcom-vadc-common.h | |
parent | iio: adc: Add PMIC7 ADC bindings (diff) | |
download | linux-572e76e3819eaf828b229f984bf3704e560a74e5.tar.xz linux-572e76e3819eaf828b229f984bf3704e560a74e5.zip |
iio: adc: Add info property under adc_data
Add info property under adc_data to support adding ADC variants
which may use different iio_info than the one defined for PMIC5.
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/qcom-vadc-common.h')
-rw-r--r-- | drivers/iio/adc/qcom-vadc-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/qcom-vadc-common.h b/drivers/iio/adc/qcom-vadc-common.h index e074902a24cc..6a7553fe3642 100644 --- a/drivers/iio/adc/qcom-vadc-common.h +++ b/drivers/iio/adc/qcom-vadc-common.h @@ -136,6 +136,7 @@ struct adc5_data { const u32 full_scale_code_volt; const u32 full_scale_code_cur; const struct adc5_channels *adc_chans; + const struct iio_info *info; unsigned int *decimation; unsigned int *hw_settle_1; unsigned int *hw_settle_2; |