1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Support for Intel MID SoC Camera Imaging ISP subsystem. 4 * 5 * Copyright (c) 2014 Intel Corporation. All Rights Reserved. 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License version 9 * 2 as published by the Free Software Foundation. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 */ 16 #ifndef ATOMISP_GMIN_PLATFORM_H_ 17 #define ATOMISP_GMIN_PLATFORM_H_ 18 19 #include "atomisp_platform.h" 20 21 int atomisp_register_i2c_module(struct v4l2_subdev *subdev, 22 struct camera_sensor_platform_data *plat_data); 23 int atomisp_gmin_remove_subdev(struct v4l2_subdev *sd); 24 int gmin_get_var_int(struct device *dev, bool is_gmin, 25 const char *var, int def); 26 struct camera_sensor_platform_data * 27 gmin_camera_platform_data( 28 struct v4l2_subdev *subdev, 29 enum atomisp_input_format csi_format, 30 enum atomisp_bayer_order csi_bayer); 31 #endif 32