linux/include/linux/platform_data/media/camera-pxa.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0-or-later */
   2/*
   3    camera.h - PXA camera driver header file
   4
   5    Copyright (C) 2003, Intel Corporation
   6    Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
   7
   8*/
   9
  10#ifndef __ASM_ARCH_CAMERA_H_
  11#define __ASM_ARCH_CAMERA_H_
  12
  13#define PXA_CAMERA_MASTER       1
  14#define PXA_CAMERA_DATAWIDTH_4  2
  15#define PXA_CAMERA_DATAWIDTH_5  4
  16#define PXA_CAMERA_DATAWIDTH_8  8
  17#define PXA_CAMERA_DATAWIDTH_9  0x10
  18#define PXA_CAMERA_DATAWIDTH_10 0x20
  19#define PXA_CAMERA_PCLK_EN      0x40
  20#define PXA_CAMERA_MCLK_EN      0x80
  21#define PXA_CAMERA_PCP          0x100
  22#define PXA_CAMERA_HSP          0x200
  23#define PXA_CAMERA_VSP          0x400
  24
  25struct pxacamera_platform_data {
  26        unsigned long flags;
  27        unsigned long mclk_10khz;
  28        int sensor_i2c_adapter_id;
  29        int sensor_i2c_address;
  30};
  31
  32extern void pxa_set_camera_info(struct pxacamera_platform_data *);
  33
  34#endif /* __ASM_ARCH_CAMERA_H_ */
  35