dmtimer-omap.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * DMTIMER platform data for TI OMAP platforms
  3. *
  4. * Copyright (C) 2012 Texas Instruments
  5. * Author: Jon Hunter <jon-hunter@ti.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License version 2 as published by
  9. * the Free Software Foundation.
  10. *
  11. * This program is distributed in the hope that it will be useful, but WITHOUT
  12. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  14. * more details.
  15. *
  16. * You should have received a copy of the GNU General Public License along with
  17. * this program. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. #ifndef __PLATFORM_DATA_DMTIMER_OMAP_H__
  20. #define __PLATFORM_DATA_DMTIMER_OMAP_H__
  21. struct dmtimer_platform_data {
  22. /* set_timer_src - Only used for OMAP1 devices */
  23. int (*set_timer_src)(struct platform_device *pdev, int source);
  24. u32 timer_capability;
  25. u32 timer_errata;
  26. int (*get_context_loss_count)(struct device *);
  27. };
  28. #endif /* __PLATFORM_DATA_DMTIMER_OMAP_H__ */