This series is a split of the following patch: https://lkml.org/lkml/2019/6/18/268 To fix Enric comments from https://lkml.org/lkml/2019/6/25/949 I extract it from the other serie to speed up acceptance because other patches need it to be upstreamed. Fabien Lahoudere (2): iio: common: cros_ec_sensors: determine protocol version iio: common: cros_ec_sensors: set default frequencies .../cros_ec_sensors/cros_ec_sensors_core.c | 80 ++++++++++++++++++- .../linux/iio/common/cros_ec_sensors_core.h | 3 + 2 files changed, 82 insertions(+), 1 deletion(-) -- 2.20.1