summaryrefslogtreecommitdiff
path: root/include/media/adp1653.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/adp1653.h')
-rw-r--r--include/media/adp1653.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/media/adp1653.h b/include/media/adp1653.h
index 1d9b48a3b..9779c8549 100644
--- a/include/media/adp1653.h
+++ b/include/media/adp1653.h
@@ -100,9 +100,11 @@ struct adp1653_platform_data {
int (*power)(struct v4l2_subdev *sd, int on);
u32 max_flash_timeout; /* flash light timeout in us */
- u32 max_flash_intensity; /* led intensity, flash mode */
- u32 max_torch_intensity; /* led intensity, torch mode */
- u32 max_indicator_intensity; /* indicator led intensity */
+ u32 max_flash_intensity; /* led intensity, flash mode, mA */
+ u32 max_torch_intensity; /* led intensity, torch mode, mA */
+ u32 max_indicator_intensity; /* indicator led intensity, uA */
+
+ struct gpio_desc *enable_gpio; /* for device-tree based boot */
};
#define to_adp1653_flash(sd) container_of(sd, struct adp1653_flash, subdev)