root/include/linux/mfd/bcm590xx.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-or-later */
   2 /*
   3  * Broadcom BCM590xx PMU
   4  *
   5  * Copyright 2014 Linaro Limited
   6  * Author: Matt Porter <mporter@linaro.org>
   7  */
   8 
   9 #ifndef __LINUX_MFD_BCM590XX_H
  10 #define __LINUX_MFD_BCM590XX_H
  11 
  12 #include <linux/device.h>
  13 #include <linux/i2c.h>
  14 #include <linux/regmap.h>
  15 
  16 /* max register address */
  17 #define BCM590XX_MAX_REGISTER_PRI       0xe7
  18 #define BCM590XX_MAX_REGISTER_SEC       0xf0
  19 
  20 struct bcm590xx {
  21         struct device *dev;
  22         struct i2c_client *i2c_pri;
  23         struct i2c_client *i2c_sec;
  24         struct regmap *regmap_pri;
  25         struct regmap *regmap_sec;
  26         unsigned int id;
  27 };
  28 
  29 #endif /*  __LINUX_MFD_BCM590XX_H */

/* [<][>][^][v][top][bottom][index][help] */