linux/include/linux/mfd/tps6586x.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LINUX_MFD_TPS6586X_H
#define __LINUX_MFD_TPS6586X_H

#define TPS6586X_SLEW_RATE_INSTANTLY
#define TPS6586X_SLEW_RATE_110UV
#define TPS6586X_SLEW_RATE_220UV
#define TPS6586X_SLEW_RATE_440UV
#define TPS6586X_SLEW_RATE_880UV
#define TPS6586X_SLEW_RATE_1760UV
#define TPS6586X_SLEW_RATE_3520UV
#define TPS6586X_SLEW_RATE_7040UV

#define TPS6586X_SLEW_RATE_SET
#define TPS6586X_SLEW_RATE_MASK

/* VERSION CRC */
#define TPS658621A
#define TPS658621CD
#define TPS658623
#define TPS658624
#define TPS658640
#define TPS658640v2
#define TPS658643

enum {};

enum {};

struct tps6586x_settings {};

struct tps6586x_subdev_info {};

struct tps6586x_platform_data {};

/*
 * NOTE: the functions below are not intended for use outside
 * of the TPS6586X sub-device drivers
 */
extern int tps6586x_write(struct device *dev, int reg, uint8_t val);
extern int tps6586x_writes(struct device *dev, int reg, int len, uint8_t *val);
extern int tps6586x_read(struct device *dev, int reg, uint8_t *val);
extern int tps6586x_reads(struct device *dev, int reg, int len, uint8_t *val);
extern int tps6586x_set_bits(struct device *dev, int reg, uint8_t bit_mask);
extern int tps6586x_clr_bits(struct device *dev, int reg, uint8_t bit_mask);
extern int tps6586x_update(struct device *dev, int reg, uint8_t val,
			   uint8_t mask);
extern int tps6586x_irq_get_virq(struct device *dev, int irq);
extern int tps6586x_get_version(struct device *dev);

#endif /*__LINUX_MFD_TPS6586X_H */