diff options
Diffstat (limited to 'include/media/ssl3250a.h')
-rw-r--r-- | include/media/ssl3250a.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/media/ssl3250a.h b/include/media/ssl3250a.h new file mode 100644 index 00000000000..c4e802fa2ef --- /dev/null +++ b/include/media/ssl3250a.h | |||
@@ -0,0 +1,38 @@ | |||
1 | /* Copyright (C) 2011 NVIDIA Corporation. | ||
2 | * | ||
3 | * This program is free software; you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License version 2 as | ||
5 | * published by the Free Software Foundation. | ||
6 | * | ||
7 | * This program is distributed in the hope that it will be useful, | ||
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | * GNU General Public License for more details. | ||
11 | * | ||
12 | * You should have received a copy of the GNU General Public License | ||
13 | * along with this program; if not, write to the Free Software | ||
14 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | ||
15 | * 02111-1307, USA | ||
16 | */ | ||
17 | |||
18 | #ifndef __SSL3250A_H__ | ||
19 | #define __SSL3250A_H__ | ||
20 | |||
21 | #include <media/nvc_torch.h> | ||
22 | |||
23 | #define SSL3250A_MAX_TORCH_LEVEL 11 | ||
24 | #define SSL3250A_MAX_FLASH_LEVEL 20 | ||
25 | |||
26 | struct ssl3250a_platform_data { | ||
27 | unsigned cfg; /* use the NVC_CFG_ defines */ | ||
28 | unsigned num; /* see implementation notes in driver */ | ||
29 | unsigned sync; /* see implementation notes in driver */ | ||
30 | const char *dev_name; /* see implementation notes in driver */ | ||
31 | struct nvc_torch_pin_state (*pinstate); /* see notes in driver */ | ||
32 | unsigned max_amp_torch; /* maximum torch value allowed */ | ||
33 | unsigned max_amp_flash; /* maximum flash value allowed */ | ||
34 | unsigned gpio_act; /* GPIO connected to the ACT signal */ | ||
35 | }; | ||
36 | |||
37 | #endif /* __SSL3250A_H__ */ | ||
38 | |||