Chromebooks EC sensors must expose a range of frequencies for each sensors using the standard ABI sampling_frquency_available. This patch needs https://lkml.org/lkml/2019/7/2/345 Changes since v3: - Split patch 6 - Drop clean up patches - Fix minor changes Changes since v2: - use read_avail callback - rework core functions to avoid code duplication Changes since v1: - Add a cover letter - Add Nick Vaccaro SoB to patch 1 - Drop fifo size related code Fabien Lahoudere (1): iio: common: cros_ec_sensors: Expose cros_ec_sensors frequency range via iio sysfs .../common/cros_ec_sensors/cros_ec_sensors.c | 3 + .../cros_ec_sensors/cros_ec_sensors_core.c | 65 +++++++++++++++++++ drivers/iio/light/cros_ec_light_prox.c | 3 + .../linux/iio/common/cros_ec_sensors_core.h | 21 ++++++ 4 files changed, 92 insertions(+) -- 2.19.2