blob: 74d2a800629e211db56ff5ba89f6efbaed10d86e [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/* Copyright (c) 2010-2011, Code Aurora Forum. 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
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
35int vos_chip_power_qrf8615(int on);
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070036int qcomwlan_pmic_xo_core_force_enable(int on);
37int qcomwlan_freq_change_1p3v_supply(enum rpm_vreg_freq freq);
38
39#endif /* __QCOM_WLAN_PWRIF_H__ */