blob: 25fb7f62a4576ddda9cea53247246ae26c84b9de [file] [log] [blame]
Bjorn Anderssonaed361a2016-08-12 18:18:59 -07001#ifndef __QCOM_WNCSS_H__
2#define __QCOM_WNCSS_H__
3
4struct qcom_iris;
5struct qcom_wcnss;
6
Bjorn Andersson6de1a502016-11-03 19:37:25 -07007extern struct platform_driver qcom_iris_driver;
8
Bjorn Anderssonaed361a2016-08-12 18:18:59 -07009struct wcnss_vreg_info {
10 const char * const name;
11 int min_voltage;
12 int max_voltage;
13
14 int load_uA;
15
16 bool super_turbo;
17};
18
19int qcom_iris_enable(struct qcom_iris *iris);
20void qcom_iris_disable(struct qcom_iris *iris);
21
22void qcom_wcnss_assign_iris(struct qcom_wcnss *wcnss, struct qcom_iris *iris, bool use_48mhz_xo);
23
24#endif