Magnus Damm | 0d3244d | 2008-07-16 22:59:28 -0300 | [diff] [blame] | 1 | #ifndef __ASM_SH_MOBILE_CEU_H__ |
| 2 | #define __ASM_SH_MOBILE_CEU_H__ |
| 3 | |
Kuninori Morimoto | c354b40 | 2009-02-23 12:12:58 -0300 | [diff] [blame] | 4 | #define SH_CEU_FLAG_USE_8BIT_BUS (1 << 0) /* use 8bit bus width */ |
| 5 | #define SH_CEU_FLAG_USE_16BIT_BUS (1 << 1) /* use 16bit bus width */ |
Kuninori Morimoto | 85dc1cf | 2009-12-11 11:53:54 -0300 | [diff] [blame] | 6 | #define SH_CEU_FLAG_HSYNC_LOW (1 << 2) /* default High if possible */ |
| 7 | #define SH_CEU_FLAG_VSYNC_LOW (1 << 3) /* default High if possible */ |
Magnus Damm | 0d3244d | 2008-07-16 22:59:28 -0300 | [diff] [blame] | 8 | |
Guennadi Liakhovetski | b3b5020 | 2010-07-26 12:13:34 -0300 | [diff] [blame] | 9 | struct device; |
Guennadi Liakhovetski | 6b526fe | 2011-07-01 11:19:58 -0300 | [diff] [blame] | 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 | }; |
Guennadi Liakhovetski | b3b5020 | 2010-07-26 12:13:34 -0300 | [diff] [blame] | 18 | |
Magnus Damm | 0d3244d | 2008-07-16 22:59:28 -0300 | [diff] [blame] | 19 | struct sh_mobile_ceu_info { |
Kuninori Morimoto | c354b40 | 2009-02-23 12:12:58 -0300 | [diff] [blame] | 20 | unsigned long flags; |
Guennadi Liakhovetski | 48e971c | 2012-03-14 08:37:03 -0300 | [diff] [blame] | 21 | int max_width; |
| 22 | int max_height; |
Guennadi Liakhovetski | 6b526fe | 2011-07-01 11:19:58 -0300 | [diff] [blame] | 23 | struct sh_mobile_ceu_companion *csi2; |
Magnus Damm | 0d3244d | 2008-07-16 22:59:28 -0300 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | #endif /* __ASM_SH_MOBILE_CEU_H__ */ |