/* SPDX-License-Identifier: GPL-2.0-only */ /* * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * * Authors: Sylwester Nawrocki <[email protected]> * Younghwan Joo <[email protected]> */ #ifndef FIMC_IS_SENSOR_H_ #define FIMC_IS_SENSOR_H_ #include <linux/of.h> #include <linux/types.h> #define S5K6A3_OPEN_TIMEOUT … #define S5K6A3_SENSOR_WIDTH … #define S5K6A3_SENSOR_HEIGHT … enum fimc_is_sensor_id { … }; #define IS_SENSOR_CTRL_BUS_I2C0 … #define IS_SENSOR_CTRL_BUS_I2C1 … struct sensor_drv_data { … }; /** * struct fimc_is_sensor - fimc-is sensor data structure * @drvdata: a pointer to the sensor's parameters data structure * @i2c_bus: ISP I2C bus index (0...1) * @test_pattern: true to enable video test pattern */ struct fimc_is_sensor { … }; const struct sensor_drv_data *fimc_is_sensor_get_drvdata( struct device_node *node); #endif /* FIMC_IS_SENSOR_H_ */