aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/tps61050.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/tps61050.h')
-rw-r--r--include/media/tps61050.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/media/tps61050.h b/include/media/tps61050.h
new file mode 100644
index 00000000000..1c289eb3616
--- /dev/null
+++ b/include/media/tps61050.h
@@ -0,0 +1,36 @@
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 __TPS61050_H__
19#define __TPS61050_H__
20
21#include <media/nvc_torch.h>
22
23#define TPS61050_MAX_TORCH_LEVEL 7
24#define TPS61050_MAX_FLASH_LEVEL 8
25
26struct tps61050_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; /* see implementation notes in driver */
33 unsigned max_amp_flash; /* see implementation notes in driver */
34};
35
36#endif /* __TPS61050_H__ */