devices.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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_uart1;
  20. extern struct platform_device msm_device_uart2;
  21. extern struct platform_device msm_device_uart3;
  22. extern struct platform_device msm8960_device_uart_gsbi2;
  23. extern struct platform_device msm8960_device_uart_gsbi5;
  24. extern struct platform_device msm_device_sdc1;
  25. extern struct platform_device msm_device_sdc2;
  26. extern struct platform_device msm_device_sdc3;
  27. extern struct platform_device msm_device_sdc4;
  28. extern struct platform_device msm_device_hsusb;
  29. extern struct platform_device msm_device_otg;
  30. extern struct platform_device msm_device_hsusb_host;
  31. extern struct platform_device msm_device_i2c;
  32. extern struct platform_device msm_device_smd;
  33. extern struct platform_device msm_device_nand;
  34. extern struct platform_device msm_device_mddi0;
  35. extern struct platform_device msm_device_mddi1;
  36. extern struct platform_device msm_device_mdp;
  37. extern struct clk_lookup msm_clocks_7x01a[];
  38. extern unsigned msm_num_clocks_7x01a;
  39. extern struct clk_lookup msm_clocks_7x30[];
  40. extern unsigned msm_num_clocks_7x30;
  41. extern struct clk_lookup msm_clocks_8x50[];
  42. extern unsigned msm_num_clocks_8x50;
  43. #endif