Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * renesas-ceu.h - Renesas CEU driver interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Copyright 2017-2018 Jacopo Mondi <jacopo+renesas@jmondi.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #ifndef __MEDIA_DRV_INTF_RENESAS_CEU_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #define __MEDIA_DRV_INTF_RENESAS_CEU_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define CEU_MAX_SUBDEVS		2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct ceu_async_subdev {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	unsigned long flags;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	unsigned char bus_width;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	unsigned char bus_shift;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	unsigned int i2c_adapter_id;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	unsigned int i2c_address;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) struct ceu_platform_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	unsigned int num_subdevs;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	struct ceu_async_subdev subdevs[CEU_MAX_SUBDEVS];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #endif /* ___MEDIA_DRV_INTF_RENESAS_CEU_H__ */