1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
---|---|
2 | /* |
3 | * Copyright (C) 2020 NVIDIA CORPORATION. All rights reserved. |
4 | */ |
5 | |
6 | #ifndef __TEGRA_VIDEO_H__ |
7 | #define __TEGRA_VIDEO_H__ |
8 | |
9 | #include <linux/host1x.h> |
10 | |
11 | #include <media/media-device.h> |
12 | #include <media/v4l2-device.h> |
13 | |
14 | #include "vi.h" |
15 | |
16 | struct tegra_video_device { |
17 | struct v4l2_device v4l2_dev; |
18 | struct media_device media_dev; |
19 | struct tegra_vi *vi; |
20 | struct tegra_csi *csi; |
21 | }; |
22 | |
23 | int tegra_v4l2_nodes_setup_tpg(struct tegra_video_device *vid); |
24 | void tegra_v4l2_nodes_cleanup_tpg(struct tegra_video_device *vid); |
25 | |
26 | extern struct platform_driver tegra_vi_driver; |
27 | extern struct platform_driver tegra_vip_driver; |
28 | extern struct platform_driver tegra_csi_driver; |
29 | #endif |
30 |