mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
iio: core: Introduce IIO_ALTVOLTAGE and appropriate channel info elements
Signed-off-by: Michael Hennerich <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
e4e8d1ce81
commit
a6b12855b5
3 changed files with 14 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ static const char * const iio_chan_type_name_spec[] = {
|
|||
[IIO_ANGL] = "angl",
|
||||
[IIO_TIMESTAMP] = "timestamp",
|
||||
[IIO_CAPACITANCE] = "capacitance",
|
||||
[IIO_ALTVOLTAGE] = "altvoltage",
|
||||
};
|
||||
|
||||
static const char * const iio_modifier_names[] = {
|
||||
|
|
@ -88,6 +89,8 @@ static const char * const iio_chan_info_postfix[] = {
|
|||
[IIO_CHAN_INFO_LOW_PASS_FILTER_3DB_FREQUENCY]
|
||||
= "filter_low_pass_3db_frequency",
|
||||
[IIO_CHAN_INFO_SAMP_FREQ] = "sampling_frequency",
|
||||
[IIO_CHAN_INFO_FREQUENCY] = "frequency",
|
||||
[IIO_CHAN_INFO_PHASE] = "phase",
|
||||
};
|
||||
|
||||
const struct iio_chan_spec
|
||||
|
|
|
|||
Loading…
Reference in a new issue