media: mach-omap1: board-ams-delta.c: remove soc_camera dependencies
The soc_camera driver is about to be removed, so drop camera support from this board. Note that the soc_camera driver itself has long since been deprecated and can't be compiled anymore (it depends on BROKEN), so camera support on this board has been broken for a long time (at least since 4.6 when the omap1_camera.c was removed from soc_camera). Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Cc: Tony Lindgren <tony@atomide.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
c694107ae9
commit
ce548396a4
@@ -1,32 +0,0 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Header for V4L2 SoC Camera driver for OMAP1 Camera Interface
|
||||
*
|
||||
* Copyright (C) 2010, Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
|
||||
*/
|
||||
|
||||
#ifndef __MEDIA_OMAP1_CAMERA_H_
|
||||
#define __MEDIA_OMAP1_CAMERA_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
|
||||
#define OMAP1_CAMERA_IOSIZE 0x1c
|
||||
|
||||
enum omap1_cam_vb_mode {
|
||||
OMAP1_CAM_DMA_CONTIG = 0,
|
||||
OMAP1_CAM_DMA_SG,
|
||||
};
|
||||
|
||||
#define OMAP1_CAMERA_MIN_BUF_COUNT(x) ((x) == OMAP1_CAM_DMA_CONTIG ? 3 : 2)
|
||||
|
||||
struct omap1_cam_platform_data {
|
||||
unsigned long camexclk_khz;
|
||||
unsigned long lclk_khz_max;
|
||||
unsigned long flags;
|
||||
};
|
||||
|
||||
#define OMAP1_CAMERA_LCLK_RISING BIT(0)
|
||||
#define OMAP1_CAMERA_RST_LOW BIT(1)
|
||||
#define OMAP1_CAMERA_RST_HIGH BIT(2)
|
||||
|
||||
#endif /* __MEDIA_OMAP1_CAMERA_H_ */
|
Reference in New Issue
Block a user