msa311.c (34069d12e239ae8f36dd96c378e4622fb1c42a76) msa311.c (de39695dd1fb753a6040053483213ebe7a960af2)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * MEMSensing digital 3-Axis accelerometer
4 *
5 * MSA311 is a tri-axial, low-g accelerometer with I2C digital output for
6 * sensitivity consumer applications. It has dynamic user-selectable full
7 * scales range of +-2g/+-4g/+-8g/+-16g and allows acceleration measurements
8 * with output data rates from 1Hz to 1000Hz.

--- 19 unchanged lines hidden (view full) ---

28 */
29
30#include <linux/i2c.h>
31#include <linux/mod_devicetable.h>
32#include <linux/module.h>
33#include <linux/pm.h>
34#include <linux/pm_runtime.h>
35#include <linux/regmap.h>
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * MEMSensing digital 3-Axis accelerometer
4 *
5 * MSA311 is a tri-axial, low-g accelerometer with I2C digital output for
6 * sensitivity consumer applications. It has dynamic user-selectable full
7 * scales range of +-2g/+-4g/+-8g/+-16g and allows acceleration measurements
8 * with output data rates from 1Hz to 1000Hz.

--- 19 unchanged lines hidden (view full) ---

28 */
29
30#include <linux/i2c.h>
31#include <linux/mod_devicetable.h>
32#include <linux/module.h>
33#include <linux/pm.h>
34#include <linux/pm_runtime.h>
35#include <linux/regmap.h>
36#include <linux/string_helpers.h>
36#include <linux/string_choices.h>
37#include <linux/units.h>
38
39#include <linux/iio/buffer.h>
40#include <linux/iio/iio.h>
41#include <linux/iio/sysfs.h>
42#include <linux/iio/trigger.h>
43#include <linux/iio/trigger_consumer.h>
44#include <linux/iio/triggered_buffer.h>

--- 1260 unchanged lines hidden ---
37#include <linux/units.h>
38
39#include <linux/iio/buffer.h>
40#include <linux/iio/iio.h>
41#include <linux/iio/sysfs.h>
42#include <linux/iio/trigger.h>
43#include <linux/iio/trigger_consumer.h>
44#include <linux/iio/triggered_buffer.h>

--- 1260 unchanged lines hidden ---