diff options
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/bcm590xx.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/linux/mfd/bcm590xx.h b/include/linux/mfd/bcm590xx.h new file mode 100644 index 000000000000..434df2d4e587 --- /dev/null +++ b/include/linux/mfd/bcm590xx.h | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | /* | ||
| 2 | * Broadcom BCM590xx PMU | ||
| 3 | * | ||
| 4 | * Copyright 2014 Linaro Limited | ||
| 5 | * Author: Matt Porter <mporter@linaro.org> | ||
| 6 | * | ||
| 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. | ||
| 11 | * | ||
| 12 | */ | ||
| 13 | |||
| 14 | #ifndef __LINUX_MFD_BCM590XX_H | ||
| 15 | #define __LINUX_MFD_BCM590XX_H | ||
| 16 | |||
| 17 | #include <linux/device.h> | ||
| 18 | #include <linux/i2c.h> | ||
| 19 | #include <linux/regmap.h> | ||
| 20 | |||
| 21 | /* max register address */ | ||
| 22 | #define BCM590XX_MAX_REGISTER 0xe7 | ||
| 23 | |||
| 24 | struct bcm590xx { | ||
| 25 | struct device *dev; | ||
| 26 | struct i2c_client *i2c_client; | ||
| 27 | struct regmap *regmap; | ||
| 28 | unsigned int id; | ||
| 29 | }; | ||
| 30 | |||
| 31 | #endif /* __LINUX_MFD_BCM590XX_H */ | ||
