.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2017 Linus Walleij <linus.walleij@linaro.org> |
---|
3 | 4 | * Parts of this file were based on sources as follows: |
---|
.. | .. |
---|
7 | 8 | * Copyright (C) 2007 Dave Airlie <airlied@linux.ie> |
---|
8 | 9 | * Copyright (C) 2011 Texas Instruments |
---|
9 | 10 | * Copyright (C) 2017 Eric Anholt |
---|
10 | | - * |
---|
11 | | - * This program is free software and is provided to you under the terms of the |
---|
12 | | - * GNU General Public License version 2 as published by the Free Software |
---|
13 | | - * Foundation, and any use by you of this program is subject to the terms of |
---|
14 | | - * such GNU licence. |
---|
15 | 11 | */ |
---|
16 | 12 | |
---|
17 | 13 | #ifndef _TVE200_DRM_H_ |
---|
18 | 14 | #define _TVE200_DRM_H_ |
---|
| 15 | + |
---|
| 16 | +#include <linux/irqreturn.h> |
---|
| 17 | + |
---|
| 18 | +#include <drm/drm_simple_kms_helper.h> |
---|
| 19 | + |
---|
| 20 | +struct clk; |
---|
| 21 | +struct drm_bridge; |
---|
| 22 | +struct drm_connector; |
---|
| 23 | +struct drm_device; |
---|
| 24 | +struct drm_file; |
---|
| 25 | +struct drm_mode_create_dumb; |
---|
| 26 | +struct drm_panel; |
---|
19 | 27 | |
---|
20 | 28 | /* Bits 2-31 are valid physical base addresses */ |
---|
21 | 29 | #define TVE200_Y_FRAME_BASE_ADDR 0x00 |
---|
.. | .. |
---|
92 | 100 | |
---|
93 | 101 | #define TVE200_CTRL_4 0x24 |
---|
94 | 102 | #define TVE200_CTRL_4_RESET BIT(0) /* triggers reset of TVE200 */ |
---|
95 | | - |
---|
96 | | -#include <drm/drm_gem.h> |
---|
97 | | -#include <drm/drm_simple_kms_helper.h> |
---|
98 | 103 | |
---|
99 | 104 | struct tve200_drm_dev_private { |
---|
100 | 105 | struct drm_device *drm; |
---|