Re: [PATCH v4 1/1] iio: common: cros_ec_sensors: Expose cros_ec_sensors frequency range via iio sysfs

2019-07-16 Thread Fabien Lahoudere
Le dimanche 14 juillet 2019 à 18:31 +0100, Jonathan Cameron a écrit : > On Tue, 9 Jul 2019 13:53:45 +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 n

Re: [PATCH v4 1/1] iio: common: cros_ec_sensors: Expose cros_ec_sensors frequency range via iio sysfs

2019-07-14 Thread Jonathan Cameron
On Tue, 9 Jul 2019 13:53:45 +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 v4 1/1] iio: common: cros_ec_sensors: Expose cros_ec_sensors frequency range via iio sysfs

2019-07-09 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