linux/drivers/media/platform/ti/omap3isp/ispcsi2.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * ispcsi2.h
 *
 * TI OMAP3 ISP - CSI2 module
 *
 * Copyright (C) 2010 Nokia Corporation
 * Copyright (C) 2009 Texas Instruments, Inc.
 *
 * Contacts: Laurent Pinchart <[email protected]>
 *	     Sakari Ailus <[email protected]>
 */

#ifndef OMAP3_ISP_CSI2_H
#define OMAP3_ISP_CSI2_H

#include <linux/types.h>
#include <linux/videodev2.h>

struct isp_csiphy;

/* This is not an exhaustive list */
enum isp_csi2_pix_formats {};

enum isp_csi2_irqevents {};

enum isp_csi2_ctx_irqevents {};

enum isp_csi2_frame_mode {};

#define ISP_CSI2_MAX_CTX_NUM

struct isp_csi2_ctx_cfg {};

struct isp_csi2_timing_cfg {};

struct isp_csi2_ctrl_cfg {};

#define CSI2_PAD_SINK
#define CSI2_PAD_SOURCE
#define CSI2_PADS_NUM

#define CSI2_OUTPUT_CCDC
#define CSI2_OUTPUT_MEMORY

struct isp_csi2_device {};

void omap3isp_csi2_isr(struct isp_csi2_device *csi2);
int omap3isp_csi2_reset(struct isp_csi2_device *csi2);
int omap3isp_csi2_init(struct isp_device *isp);
void omap3isp_csi2_cleanup(struct isp_device *isp);
void omap3isp_csi2_unregister_entities(struct isp_csi2_device *csi2);
int omap3isp_csi2_register_entities(struct isp_csi2_device *csi2,
				    struct v4l2_device *vdev);
#endif	/* OMAP3_ISP_CSI2_H */