summaryrefslogtreecommitdiff
path: root/include/linux/mfd/rohm-generic.h
blob: bff15ac26f2ce2bfb50a6905b4805f0f8b307d29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Copyright (C) 2018 ROHM Semiconductors */

#ifndef __LINUX_MFD_ROHM_H__
#define __LINUX_MFD_ROHM_H__

enum {
	ROHM_CHIP_TYPE_BD71837 = 0,
	ROHM_CHIP_TYPE_BD71847,
	ROHM_CHIP_TYPE_BD70528,
	ROHM_CHIP_TYPE_AMOUNT
};

struct rohm_regmap_dev {
	unsigned int chip_type;
	struct device *dev;
	struct regmap *regmap;
};

#endif