sun4i_drv.h 709 B

12345678910111213141516171819202122232425262728293031
  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. #ifndef _SUN4I_DRV_H_
  13. #define _SUN4I_DRV_H_
  14. #include <linux/clk.h>
  15. #include <linux/regmap.h>
  16. struct sun4i_drv {
  17. struct sun4i_backend *backend;
  18. struct sun4i_crtc *crtc;
  19. struct sun4i_tcon *tcon;
  20. struct drm_plane *primary;
  21. struct drm_fbdev_cma *fbdev;
  22. struct sun4i_layer **layers;
  23. };
  24. #endif /* _SUN4I_DRV_H_ */