Duy Truong | 790f06d | 2013-02-13 16:38:12 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 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 | |
| 14 | #ifndef __QCOM_WLAN_PWRIF_H__ |
| 15 | #define __QCOM_WLAN_PWRIF_H__ |
| 16 | |
| 17 | /* |
| 18 | * Headers for WLAN Power Interface Functions |
| 19 | */ |
| 20 | #include <linux/err.h> |
| 21 | #include <mach/mpp.h> |
| 22 | #include <linux/device.h> |
| 23 | #include <mach/vreg.h> |
| 24 | #include <linux/delay.h> |
| 25 | #include <linux/mfd/pmic8058.h> |
| 26 | #include <linux/regulator/consumer.h> |
| 27 | #include <linux/gpio.h> |
| 28 | #include <mach/msm_xo.h> |
| 29 | #include <asm/mach-types.h> |
| 30 | #include <mach/rpm-regulator.h> |
| 31 | |
| 32 | #define CHIP_POWER_ON 1 |
| 33 | #define CHIP_POWER_OFF 0 |
| 34 | |
| 35 | int vos_chip_power_qrf8615(int on); |
Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 36 | int qcomwlan_pmic_xo_core_force_enable(int on); |
| 37 | int qcomwlan_freq_change_1p3v_supply(enum rpm_vreg_freq freq); |
| 38 | |
| 39 | #endif /* __QCOM_WLAN_PWRIF_H__ */ |