xref: /linux/include/linux/mfd/rohm-generic.h (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* Copyright (C) 2018 ROHM Semiconductors */
3 
4 #ifndef __LINUX_MFD_ROHM_H__
5 #define __LINUX_MFD_ROHM_H__
6 
7 enum {
8 	ROHM_CHIP_TYPE_BD71837 = 0,
9 	ROHM_CHIP_TYPE_BD71847,
10 	ROHM_CHIP_TYPE_BD70528,
11 	ROHM_CHIP_TYPE_AMOUNT
12 };
13 
14 struct rohm_regmap_dev {
15 	unsigned int chip_type;
16 	struct device *dev;
17 	struct regmap *regmap;
18 };
19 
20 #endif
21