common.h 984 B

12345678910111213141516171819202122232425262728293031
  1. /* linux/arch/arm/mach-vt8500/dt_common.h
  2. *
  3. * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
  4. *
  5. * This software is licensed under the terms of the GNU General Public
  6. * License version 2, as published by the Free Software Foundation, and
  7. * may be copied, distributed, and modified under those terms.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. */
  15. #ifndef __ARCH_ARM_MACH_VT8500_DT_COMMON_H
  16. #define __ARCH_ARM_MACH_VT8500_DT_COMMON_H
  17. #include <linux/of.h>
  18. void __init vt8500_timer_init(void);
  19. int __init vt8500_irq_init(struct device_node *node,
  20. struct device_node *parent);
  21. /* defined in drivers/clk/clk-vt8500.c */
  22. void __init vtwm_clk_init(void __iomem *pmc_base);
  23. /* defined in irq.c */
  24. asmlinkage void vt8500_handle_irq(struct pt_regs *regs);
  25. #endif