1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * STMicroelectronics uvis25 sensor driver
5 * Copyright 2017 STMicroelectronics Inc.
7 * Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
13 #define ST_UVIS25_DEV_NAME "uvis25"
15 #include <linux/iio/iio.h>
18 * struct st_uvis25_hw - ST UVIS25 sensor instance
19 * @regmap: Register map of the device.
20 * @trig: The trigger in use by the driver.
21 * @enabled: Status of the sensor (false->off, true->on).
22 * @irq: Device interrupt line (I2C or SPI).
25 struct regmap
*regmap
;
27 struct iio_trigger
*trig
;
30 /* Ensure timestamp is naturally aligned */
37 extern const struct dev_pm_ops st_uvis25_pm_ops
;
39 int st_uvis25_probe(struct device
*dev
, int irq
, struct regmap
*regmap
);
41 #endif /* ST_UVIS25_H */