diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-07-01 10:19:58 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:56:08 -0400 |
commit | 6b526fed0e688e3926bd43a09f2f36cba3983ce2 (patch) | |
tree | c45123c4f78a64e54811ee46c30d3c26da8e3c9f /include/media/sh_mobile_ceu.h | |
parent | 91c7953005247c9563408bbdbf35e27de33e6ec3 (diff) |
[media] V4L: sh_mobile_csi2: switch away from using the soc-camera bus notifier
This moves us one more step closer to eliminating the soc-camera bus
and devices on it. Besides, as a side effect, CSI-2 runtime PM on
sh-mobile secomes finer grained now: we only have to power on the
interface, when the device nodes are open.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/sh_mobile_ceu.h')
-rw-r--r-- | include/media/sh_mobile_ceu.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/media/sh_mobile_ceu.h b/include/media/sh_mobile_ceu.h index 80346a6d28a9..48413b410f15 100644 --- a/include/media/sh_mobile_ceu.h +++ b/include/media/sh_mobile_ceu.h | |||
@@ -7,10 +7,18 @@ | |||
7 | #define SH_CEU_FLAG_VSYNC_LOW (1 << 3) /* default High if possible */ | 7 | #define SH_CEU_FLAG_VSYNC_LOW (1 << 3) /* default High if possible */ |
8 | 8 | ||
9 | struct device; | 9 | struct device; |
10 | struct resource; | ||
11 | |||
12 | struct sh_mobile_ceu_companion { | ||
13 | u32 num_resources; | ||
14 | struct resource *resource; | ||
15 | int id; | ||
16 | void *platform_data; | ||
17 | }; | ||
10 | 18 | ||
11 | struct sh_mobile_ceu_info { | 19 | struct sh_mobile_ceu_info { |
12 | unsigned long flags; | 20 | unsigned long flags; |
13 | struct device *csi2_dev; | 21 | struct sh_mobile_ceu_companion *csi2; |
14 | }; | 22 | }; |
15 | 23 | ||
16 | #endif /* __ASM_SH_MOBILE_CEU_H__ */ | 24 | #endif /* __ASM_SH_MOBILE_CEU_H__ */ |