diff options
author | Magnus Damm <magnus.damm@gmail.com> | 2008-07-11 23:03:25 +0200 |
---|---|---|
committer | Magnus Damm <magnus.damm@gmail.com> | 2008-07-11 23:03:25 +0200 |
commit | 92b52b5fe30d37cd05fd8d47d415bb6298b5db06 (patch) | |
tree | c15c68c8d1fbd700d3d3d11b0570fb73ed5c4fbc /linux/include | |
parent | a7076d98ab8ab8732e18b4dfa844bb32a2bcdefa (diff) | |
download | mediapointer-dvb-s2-92b52b5fe30d37cd05fd8d47d415bb6298b5db06.tar.gz mediapointer-dvb-s2-92b52b5fe30d37cd05fd8d47d415bb6298b5db06.tar.bz2 |
soc_camera: Add 16-bit bus width support
The SuperH Mobile CEU hardware supports 16-bit width bus,
so extend the soc_camera code with SOCAM_DATAWIDTH_16.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
---
include/media/soc_camera.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/media/soc_camera.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linux/include/media/soc_camera.h b/linux/include/media/soc_camera.h index bae160213..1de98f150 100644 --- a/linux/include/media/soc_camera.h +++ b/linux/include/media/soc_camera.h @@ -153,11 +153,12 @@ static inline struct v4l2_queryctrl const *soc_camera_find_qctrl( #define SOCAM_DATAWIDTH_8 (1 << 6) #define SOCAM_DATAWIDTH_9 (1 << 7) #define SOCAM_DATAWIDTH_10 (1 << 8) -#define SOCAM_PCLK_SAMPLE_RISING (1 << 9) -#define SOCAM_PCLK_SAMPLE_FALLING (1 << 10) +#define SOCAM_DATAWIDTH_16 (1 << 9) +#define SOCAM_PCLK_SAMPLE_RISING (1 << 10) +#define SOCAM_PCLK_SAMPLE_FALLING (1 << 11) #define SOCAM_DATAWIDTH_MASK (SOCAM_DATAWIDTH_8 | SOCAM_DATAWIDTH_9 | \ - SOCAM_DATAWIDTH_10) + SOCAM_DATAWIDTH_10 | SOCAM_DATAWIDTH_16) static inline unsigned long soc_camera_bus_param_compatible( unsigned long camera_flags, unsigned long bus_flags) |