18082e2f4SPaul Elder /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 28082e2f4SPaul Elder /* 38082e2f4SPaul Elder * Rockchip ISP1 Driver - CSI-2 Receiver 48082e2f4SPaul Elder * 58082e2f4SPaul Elder * Copyright (C) 2019 Collabora, Ltd. 68082e2f4SPaul Elder * Copyright (C) 2022 Ideas on Board 78082e2f4SPaul Elder * 88082e2f4SPaul Elder * Based on Rockchip ISP1 driver by Rockchip Electronics Co., Ltd. 98082e2f4SPaul Elder * Copyright (C) 2017 Rockchip Electronics Co., Ltd. 108082e2f4SPaul Elder */ 118082e2f4SPaul Elder #ifndef _RKISP1_CSI_H 128082e2f4SPaul Elder #define _RKISP1_CSI_H 138082e2f4SPaul Elder 148082e2f4SPaul Elder struct rkisp1_csi; 158082e2f4SPaul Elder struct rkisp1_device; 168082e2f4SPaul Elder struct rkisp1_sensor_async; 178082e2f4SPaul Elder 188082e2f4SPaul Elder int rkisp1_csi_init(struct rkisp1_device *rkisp1); 198082e2f4SPaul Elder void rkisp1_csi_cleanup(struct rkisp1_device *rkisp1); 208082e2f4SPaul Elder 21b298f059SPaul Elder int rkisp1_csi_register(struct rkisp1_device *rkisp1); 22b298f059SPaul Elder void rkisp1_csi_unregister(struct rkisp1_device *rkisp1); 23b298f059SPaul Elder 24*98bfd0cdSLaurent Pinchart int rkisp1_csi_link_sensor(struct rkisp1_device *rkisp1, struct v4l2_subdev *sd, 25*98bfd0cdSLaurent Pinchart struct rkisp1_sensor_async *s_asd, 26*98bfd0cdSLaurent Pinchart unsigned int source_pad); 278082e2f4SPaul Elder 288082e2f4SPaul Elder #endif /* _RKISP1_CSI_H */ 29