blob: 62c8682d0a92da35e77081747451793e83ef6b88 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Bjorn Anderssonaed361a2016-08-12 18:18:59 -07002#ifndef __QCOM_WNCSS_H__
3#define __QCOM_WNCSS_H__
4
5struct qcom_iris;
6struct qcom_wcnss;
7
Bjorn Andersson6de1a502016-11-03 19:37:25 -07008extern struct platform_driver qcom_iris_driver;
9
Bjorn Anderssonaed361a2016-08-12 18:18:59 -070010struct wcnss_vreg_info {
11 const char * const name;
12 int min_voltage;
13 int max_voltage;
14
15 int load_uA;
16
17 bool super_turbo;
18};
19
20int qcom_iris_enable(struct qcom_iris *iris);
21void qcom_iris_disable(struct qcom_iris *iris);
22
23void qcom_wcnss_assign_iris(struct qcom_wcnss *wcnss, struct qcom_iris *iris, bool use_48mhz_xo);
24
25#endif