]> Git Repo - J-linux.git/blob - include/linux/mfd/mp2629.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[J-linux.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
This page took 0.029484 seconds and 4 git commands to generate.