Am 2016-04-25 um 14:08 schrieb Martin Kepplinger: > This adds the following sysfs files according to the iio ABI: > > -rw-r--r-- 4096 in_accel_oversampling_ratio > -r--r--r-- 4096 in_accel_oversampling_ratio_available > > Internally, the device knows about 4 different power modes that differ > in oversampling ratio (and power consumption). We just show the user > what oversampling ratio(s) is/are available, depending on the current > frequency. > > The referenced table in the datasheets makes it easier to understand. > > Signed-off-by: Martin Kepplinger <mart...@posteo.de> > Signed-off-by: Christoph Muellner <christoph.muell...@theobroma-systems.com> > --- > This is meant to get merged for v4.8 to have time for review and possibly > testing by others. > > thanks, > martin > > > drivers/iio/accel/mma8452.c | 185 > ++++++++++++++++++++++++++++++++++++++------ > 1 file changed, 160 insertions(+), 25 deletions(-) >
In case this has already been forgotten about, I'd be happy about reviews. Powersaving is always nice to have after all. thanks martin