2015-10-29 16:36:23 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2015 Free Electrons
|
|
|
|
* Copyright (C) 2015 NextThing Co
|
|
|
|
*
|
|
|
|
* Maxime Ripard <maxime.ripard@free-electrons.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SUN4I_DRV_H_
|
|
|
|
#define _SUN4I_DRV_H_
|
|
|
|
|
|
|
|
#include <linux/clk.h>
|
2017-04-21 16:38:50 +08:00
|
|
|
#include <linux/list.h>
|
2015-10-29 16:36:23 +08:00
|
|
|
#include <linux/regmap.h>
|
|
|
|
|
|
|
|
struct sun4i_drv {
|
2017-05-17 22:47:17 +08:00
|
|
|
struct list_head engine_list;
|
2017-04-21 16:38:50 +08:00
|
|
|
struct list_head tcon_list;
|
2015-10-29 16:36:23 +08:00
|
|
|
|
|
|
|
struct drm_fbdev_cma *fbdev;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _SUN4I_DRV_H_ */
|