Re: [PATCH v3 7/8] iio: common: cros_ec_sensors: add sysfs attribute for frequencies

2019-06-22 Thread Jonathan Cameron
On Tue, 18 Jun 2019 11:06:38 +0200 Fabien Lahoudere wrote: > Embedded controller return minimum and maximum frequencies, unfortunately > we have no way to know the step for all available frequencies. > Even if not complete, we can return a list of known values using the > standard read_avail call

[PATCH v3 7/8] iio: common: cros_ec_sensors: add sysfs attribute for frequencies

2019-06-18 Thread Fabien Lahoudere
Embedded controller return minimum and maximum frequencies, unfortunately we have no way to know the step for all available frequencies. Even if not complete, we can return a list of known values using the standard read_avail callback (IIO_CHAN_INFO_SAMP_FREQ) to provide them to userland. Now cros