mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 16:36:53 +07:00
6b526fed0e
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>
25 lines
627 B
C
25 lines
627 B
C
#ifndef __ASM_SH_MOBILE_CEU_H__
|
|
#define __ASM_SH_MOBILE_CEU_H__
|
|
|
|
#define SH_CEU_FLAG_USE_8BIT_BUS (1 << 0) /* use 8bit bus width */
|
|
#define SH_CEU_FLAG_USE_16BIT_BUS (1 << 1) /* use 16bit bus width */
|
|
#define SH_CEU_FLAG_HSYNC_LOW (1 << 2) /* default High if possible */
|
|
#define SH_CEU_FLAG_VSYNC_LOW (1 << 3) /* default High if possible */
|
|
|
|
struct device;
|
|
struct resource;
|
|
|
|
struct sh_mobile_ceu_companion {
|
|
u32 num_resources;
|
|
struct resource *resource;
|
|
int id;
|
|
void *platform_data;
|
|
};
|
|
|
|
struct sh_mobile_ceu_info {
|
|
unsigned long flags;
|
|
struct sh_mobile_ceu_companion *csi2;
|
|
};
|
|
|
|
#endif /* __ASM_SH_MOBILE_CEU_H__ */
|