qcomwlan_pwrif.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. *
  12. */
  13. #ifndef __QCOM_WLAN_PWRIF_H__
  14. #define __QCOM_WLAN_PWRIF_H__
  15. /*
  16. * Headers for WLAN Power Interface Functions
  17. */
  18. #include <linux/err.h>
  19. #include <mach/mpp.h>
  20. #include <linux/device.h>
  21. #include <mach/vreg.h>
  22. #include <linux/delay.h>
  23. #include <linux/mfd/pmic8058.h>
  24. #include <linux/regulator/consumer.h>
  25. #include <linux/gpio.h>
  26. #include <mach/msm_xo.h>
  27. #include <asm/mach-types.h>
  28. #include <mach/rpm-regulator.h>
  29. #define CHIP_POWER_ON 1
  30. #define CHIP_POWER_OFF 0
  31. int vos_chip_power_qrf8615(int on);
  32. int qcomwlan_pmic_xo_core_force_enable(int on);
  33. int qcomwlan_freq_change_1p3v_supply(enum rpm_vreg_freq freq);
  34. #endif /* __QCOM_WLAN_PWRIF_H__ */