1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Broadcom BCM590xx PMU
5 * Copyright 2014 Linaro Limited
6 * Author: Matt Porter <mporter@linaro.org>
9 #ifndef __LINUX_MFD_BCM590XX_H
10 #define __LINUX_MFD_BCM590XX_H
12 #include <linux/device.h>
13 #include <linux/i2c.h>
14 #include <linux/regmap.h>
16 /* max register address */
17 #define BCM590XX_MAX_REGISTER_PRI 0xe7
18 #define BCM590XX_MAX_REGISTER_SEC 0xf0
22 struct i2c_client *i2c_pri;
23 struct i2c_client *i2c_sec;
24 struct regmap *regmap_pri;
25 struct regmap *regmap_sec;
29 #endif /* __LINUX_MFD_BCM590XX_H */