projects
/
linux-block.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge existing fixes from spi/for-5.8
[linux-block.git]
/
include
/
linux
/
mfd
/
mp2629.h
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
12
struct mp2629_data {
13
struct device *dev;
14
struct regmap *regmap;
15
};
16
17
enum 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