1 // SPDX-License-Identifier: GPL-2.0
3 * renesas-ceu.h - Renesas CEU driver interface
5 * Copyright 2017-2018 Jacopo Mondi <jacopo+renesas@jmondi.org>
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 {
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__ */