1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2020 Monolithic Power Systems, Inc
4 */
5
6#ifndef __MP2629_H__
7#define __MP2629_H__
8
9#include <linux/device.h>
10#include <linux/regmap.h>
11
12struct mp2629_data {
13	struct device *dev;
14	struct regmap *regmap;
15};
16
17enum mp2629_adc_chan {
18	MP2629_BATT_VOLT,
19	MP2629_SYSTEM_VOLT,
20	MP2629_INPUT_VOLT,
21	MP2629_BATT_CURRENT,
22	MP2629_INPUT_CURRENT,
23	MP2629_ADC_CHAN_END
24};
25
26#endif
27