xref: /linux/include/media/drv-intf/renesas-ceu.h (revision 48dea9a700c8728cc31a1dd44588b97578de86ee)
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * renesas-ceu.h - Renesas CEU driver interface
4  *
5  * Copyright 2017-2018 Jacopo Mondi <jacopo+renesas@jmondi.org>
6  */
7 
8 #ifndef __MEDIA_DRV_INTF_RENESAS_CEU_H__
9 #define __MEDIA_DRV_INTF_RENESAS_CEU_H__
10 
11 #define CEU_MAX_SUBDEVS		2
12 
13 struct ceu_async_subdev {
14 	unsigned long flags;
15 	unsigned char bus_width;
16 	unsigned char bus_shift;
17 	unsigned int i2c_adapter_id;
18 	unsigned int i2c_address;
19 };
20 
21 struct ceu_platform_data {
22 	unsigned int num_subdevs;
23 	struct ceu_async_subdev subdevs[CEU_MAX_SUBDEVS];
24 };
25 
26 #endif /* ___MEDIA_DRV_INTF_RENESAS_CEU_H__ */
27