devices.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* linux/arch/arm/mach-msm/devices.h
  2. *
  3. * Copyright (C) 2008 Google, Inc.
  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_MSM_DEVICES_H
  16. #define __ARCH_ARM_MACH_MSM_DEVICES_H
  17. #include <linux/clkdev.h>
  18. #include "clock.h"
  19. extern struct platform_device msm_device_gpio_7201;
  20. extern struct platform_device msm_device_gpio_7x30;
  21. extern struct platform_device msm_device_gpio_8x50;
  22. extern struct platform_device msm_device_uart1;
  23. extern struct platform_device msm_device_uart2;
  24. extern struct platform_device msm_device_uart3;
  25. extern struct platform_device msm8960_device_uart_gsbi2;
  26. extern struct platform_device msm8960_device_uart_gsbi5;
  27. extern struct platform_device msm_device_sdc1;
  28. extern struct platform_device msm_device_sdc2;
  29. extern struct platform_device msm_device_sdc3;
  30. extern struct platform_device msm_device_sdc4;
  31. extern struct platform_device msm_device_hsusb;
  32. extern struct platform_device msm_device_otg;
  33. extern struct platform_device msm_device_hsusb_host;
  34. extern struct platform_device msm_device_i2c;
  35. extern struct platform_device msm_device_smd;
  36. extern struct platform_device msm_device_nand;
  37. extern struct platform_device msm_device_mddi0;
  38. extern struct platform_device msm_device_mddi1;
  39. extern struct platform_device msm_device_mdp;
  40. extern struct clk_lookup msm_clocks_7x01a[];
  41. extern unsigned msm_num_clocks_7x01a;
  42. extern struct clk_lookup msm_clocks_7x30[];
  43. extern unsigned msm_num_clocks_7x30;
  44. extern struct clk_lookup msm_clocks_8x50[];
  45. extern unsigned msm_num_clocks_8x50;
  46. #endif