Loading...
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2015 Free Electrons
4 * Copyright (C) 2015 NextThing Co
5 *
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
7 */
8
9#ifndef _SUN4I_DRV_H_
10#define _SUN4I_DRV_H_
11
12#include <linux/clk.h>
13#include <linux/list.h>
14#include <linux/regmap.h>
15
16struct sun4i_drv {
17 struct list_head engine_list;
18 struct list_head frontend_list;
19 struct list_head tcon_list;
20};
21
22#endif /* _SUN4I_DRV_H_ */
1/*
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>
17#include <linux/regmap.h>
18
19struct sun4i_drv {
20 struct sun4i_backend *backend;
21 struct sun4i_crtc *crtc;
22 struct sun4i_tcon *tcon;
23
24 struct drm_plane *primary;
25 struct drm_fbdev_cma *fbdev;
26
27 struct sun4i_layer **layers;
28};
29
30#endif /* _SUN4I_DRV_H_ */