WIP FPC-III support
[linux/fpc-iii.git] / include / media / drv-intf / renesas-ceu.h
blob52841d1b4763108cfa724fcbe6d283815155d205
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * renesas-ceu.h - Renesas CEU driver interface
5 * Copyright 2017-2018 Jacopo Mondi <jacopo+renesas@jmondi.org>
6 */
8 #ifndef __MEDIA_DRV_INTF_RENESAS_CEU_H__
9 #define __MEDIA_DRV_INTF_RENESAS_CEU_H__
11 #define CEU_MAX_SUBDEVS 2
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;
21 struct ceu_platform_data {
22 unsigned int num_subdevs;
23 struct ceu_async_subdev subdevs[CEU_MAX_SUBDEVS];
26 #endif /* ___MEDIA_DRV_INTF_RENESAS_CEU_H__ */