blob: a960c89270cc74e250eec8b443e831d13f6b8a29 [file] [log] [blame]
Maxime Ripard9026e0d2015-10-29 09:36:23 +01001/*
2 * Copyright (C) 2015 Free Electrons
3 * Copyright (C) 2015 NextThing Co
4 *
5 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of
10 * the License, or (at your option) any later version.
11 */
12
13#ifndef _SUN4I_DRV_H_
14#define _SUN4I_DRV_H_
15
16#include <linux/clk.h>
Chen-Yu Tsai80a58242017-04-21 16:38:50 +080017#include <linux/list.h>
Maxime Ripard9026e0d2015-10-29 09:36:23 +010018#include <linux/regmap.h>
19
20struct sun4i_drv {
Icenowy Zheng87969332017-05-17 22:47:17 +080021 struct list_head engine_list;
Chen-Yu Tsai80a58242017-04-21 16:38:50 +080022 struct list_head tcon_list;
Maxime Ripard9026e0d2015-10-29 09:36:23 +010023
Maxime Ripard9026e0d2015-10-29 09:36:23 +010024 struct drm_fbdev_cma *fbdev;
Maxime Ripard9026e0d2015-10-29 09:36:23 +010025};
26
27#endif /* _SUN4I_DRV_H_ */