Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * renesas-ceu.h - Renesas CEU driver interface
0004  *
0005  * Copyright 2017-2018 Jacopo Mondi <jacopo+renesas@jmondi.org>
0006  */
0007 
0008 #ifndef __MEDIA_DRV_INTF_RENESAS_CEU_H__
0009 #define __MEDIA_DRV_INTF_RENESAS_CEU_H__
0010 
0011 #define CEU_MAX_SUBDEVS     2
0012 
0013 struct ceu_async_subdev {
0014     unsigned long flags;
0015     unsigned char bus_width;
0016     unsigned char bus_shift;
0017     unsigned int i2c_adapter_id;
0018     unsigned int i2c_address;
0019 };
0020 
0021 struct ceu_platform_data {
0022     unsigned int num_subdevs;
0023     struct ceu_async_subdev subdevs[CEU_MAX_SUBDEVS];
0024 };
0025 
0026 #endif /* ___MEDIA_DRV_INTF_RENESAS_CEU_H__ */