.. | .. |
---|
10 | 10 | #include <linux/workqueue.h> |
---|
11 | 11 | #include <linux/rk-camera-module.h> |
---|
12 | 12 | #include <linux/mfd/core.h> |
---|
| 13 | +#include <linux/regulator/consumer.h> |
---|
13 | 14 | #include <media/media-entity.h> |
---|
14 | 15 | #include <media/v4l2-async.h> |
---|
15 | 16 | #include <media/v4l2-ctrls.h> |
---|
.. | .. |
---|
27 | 28 | #define MAXIM4C_REG_CHIP_ID 0x0D |
---|
28 | 29 | #define MAX96712_CHIP_ID 0xA0 |
---|
29 | 30 | #define MAX96722_CHIP_ID 0xA1 |
---|
| 31 | + |
---|
| 32 | +#define MAXIM4C_NUM_SUPPLIES 2 |
---|
30 | 33 | |
---|
31 | 34 | enum { |
---|
32 | 35 | MAXIM4C_HOT_PLUG_OUT = 0, |
---|
.. | .. |
---|
57 | 60 | struct i2c_client *client; |
---|
58 | 61 | struct clk *xvclk; |
---|
59 | 62 | struct gpio_desc *pwdn_gpio; |
---|
60 | | - struct gpio_desc *pocen_gpio; |
---|
61 | 63 | struct gpio_desc *lock_gpio; |
---|
| 64 | + struct regulator_bulk_data supplies[MAXIM4C_NUM_SUPPLIES]; |
---|
| 65 | + struct regulator *poc_regulator; |
---|
62 | 66 | |
---|
63 | 67 | struct mutex mutex; |
---|
64 | 68 | |
---|
.. | .. |
---|
104 | 108 | |
---|
105 | 109 | struct mfd_cell remote_mfd_devs[MAXIM4C_LINK_ID_MAX]; |
---|
106 | 110 | maxim4c_remote_t *remote_device[MAXIM4C_LINK_ID_MAX]; |
---|
| 111 | + |
---|
| 112 | + struct dentry *dbgfs_root; |
---|
107 | 113 | } maxim4c_t; |
---|
108 | 114 | |
---|
109 | 115 | #endif /* __MAXIM4C_DRV_H__ */ |
---|