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-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Driver header for M-5MOLS 8M Pixel camera sensor with ISP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Copyright (C) 2011 Samsung Electronics Co., Ltd.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * Author: HeungJun Kim <riverful.kim@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  * Copyright (C) 2009 Samsung Electronics Co., Ltd.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  * Author: Dongsoo Nathaniel Kim <dongsoo45.kim@samsung.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #ifndef MEDIA_M5MOLS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define MEDIA_M5MOLS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) /**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)  * struct m5mols_platform_data - platform data for M-5MOLS driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)  * @gpio_reset:	GPIO driving the reset pin of M-5MOLS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)  * @reset_polarity: active state for gpio_reset pin, 0 or 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)  * @set_power:	an additional callback to the board setup code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)  *		to be called after enabling and before disabling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)  *		the sensor's supply regulators
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) struct m5mols_platform_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	int gpio_reset;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	u8 reset_polarity;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	int (*set_power)(struct device *dev, int on);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) #endif	/* MEDIA_M5MOLS_H */