2 * Broadcom BCM590xx PMU
4 * Copyright 2014 Linaro Limited
5 * Author: Matt Porter <mporter@linaro.org>
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
14 #ifndef __LINUX_MFD_BCM590XX_H
15 #define __LINUX_MFD_BCM590XX_H
17 #include <linux/device.h>
18 #include <linux/i2c.h>
19 #include <linux/regmap.h>
21 /* max register address */
22 #define BCM590XX_MAX_REGISTER_PRI 0xe7
23 #define BCM590XX_MAX_REGISTER_SEC 0xf0
27 struct i2c_client
*i2c_pri
;
28 struct i2c_client
*i2c_sec
;
29 struct regmap
*regmap_pri
;
30 struct regmap
*regmap_sec
;
34 #endif /* __LINUX_MFD_BCM590XX_H */