2 * STMicroelectronics uvis25 sensor driver
4 * Copyright 2017 STMicroelectronics Inc.
8 * Licensed under the GPL-2.
14 #define ST_UVIS25_DEV_NAME "uvis25"
16 #include <linux/iio/iio.h>
19 * struct st_uvis25_hw - ST UVIS25 sensor instance
20 * @regmap: Register map of the device.
21 * @trig: The trigger in use by the driver.
22 * @enabled: Status of the sensor (false->off, true->on).
23 * @irq: Device interrupt line (I2C or SPI).
26 struct regmap *regmap;
28 struct iio_trigger *trig;
33 extern const struct dev_pm_ops st_uvis25_pm_ops;
35 int st_uvis25_probe(struct device *dev, int irq, struct regmap *regmap);
37 #endif /* ST_UVIS25_H */