linux/drivers/iio/dac/ad5592r-base.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * AD5592R / AD5593R Digital <-> Analog converters driver
 *
 * Copyright 2015-2016 Analog Devices Inc.
 * Author: Paul Cercueil <[email protected]>
 */

#ifndef __DRIVERS_IIO_DAC_AD5592R_BASE_H__
#define __DRIVERS_IIO_DAC_AD5592R_BASE_H__

#include <linux/types.h>
#include <linux/cache.h>
#include <linux/mutex.h>
#include <linux/gpio/driver.h>

#include <linux/iio/iio.h>

struct device;
struct ad5592r_state;

enum ad5592r_registers {};

#define AD5592R_REG_PD_EN_REF
#define AD5592R_REG_CTRL_ADC_RANGE
#define AD5592R_REG_CTRL_DAC_RANGE

struct ad5592r_rw_ops {};

struct ad5592r_state {};

int ad5592r_probe(struct device *dev, const char *name,
		const struct ad5592r_rw_ops *ops);
void ad5592r_remove(struct device *dev);

#endif /* __DRIVERS_IIO_DAC_AD5592R_BASE_H__ */