linux/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h
<<
>>
Prefs
   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
  21int atomisp_register_i2c_module(struct v4l2_subdev *subdev,
  22                                struct camera_sensor_platform_data *plat_data,
  23                                enum intel_v4l2_subdev_type type);
  24struct v4l2_subdev *atomisp_gmin_find_subdev(struct i2c_adapter *adapter,
  25        struct i2c_board_info *board_info);
  26int atomisp_gmin_remove_subdev(struct v4l2_subdev *sd);
  27int gmin_get_var_int(struct device *dev, bool is_gmin,
  28                     const char *var, int def);
  29int camera_sensor_csi(struct v4l2_subdev *sd, u32 port,
  30                      u32 lanes, u32 format, u32 bayer_order, int flag);
  31struct camera_sensor_platform_data *
  32gmin_camera_platform_data(
  33    struct v4l2_subdev *subdev,
  34    enum atomisp_input_format csi_format,
  35    enum atomisp_bayer_order csi_bayer);
  36
  37int atomisp_gmin_register_vcm_control(struct camera_vcm_control *);
  38
  39#endif
  40