linux/drivers/iio/gyro/fxas21002c.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Driver for NXP FXAS21002C Gyroscope - Header
 *
 * Copyright (C) 2019 Linaro Ltd.
 */

#ifndef FXAS21002C_H_
#define FXAS21002C_H_

#include <linux/regmap.h>

#define FXAS21002C_REG_STATUS
#define FXAS21002C_REG_OUT_X_MSB
#define FXAS21002C_REG_OUT_X_LSB
#define FXAS21002C_REG_OUT_Y_MSB
#define FXAS21002C_REG_OUT_Y_LSB
#define FXAS21002C_REG_OUT_Z_MSB
#define FXAS21002C_REG_OUT_Z_LSB
#define FXAS21002C_REG_DR_STATUS
#define FXAS21002C_REG_F_STATUS
#define FXAS21002C_REG_F_SETUP
#define FXAS21002C_REG_F_EVENT
#define FXAS21002C_REG_INT_SRC_FLAG
#define FXAS21002C_REG_WHO_AM_I
#define FXAS21002C_REG_CTRL0
#define FXAS21002C_REG_RT_CFG
#define FXAS21002C_REG_RT_SRC
#define FXAS21002C_REG_RT_THS
#define FXAS21002C_REG_RT_COUNT
#define FXAS21002C_REG_TEMP
#define FXAS21002C_REG_CTRL1
#define FXAS21002C_REG_CTRL2
#define FXAS21002C_REG_CTRL3

enum fxas21002c_fields {};

extern const struct dev_pm_ops fxas21002c_pm_ops;

int fxas21002c_core_probe(struct device *dev, struct regmap *regmap, int irq,
			  const char *name);
void fxas21002c_core_remove(struct device *dev);
#endif