Bjorn Andersson | aed361a | 2016-08-12 18:18:59 -0700 | [diff] [blame] | 1 | #ifndef __QCOM_WNCSS_H__ |
| 2 | #define __QCOM_WNCSS_H__ |
| 3 | |
| 4 | struct qcom_iris; |
| 5 | struct qcom_wcnss; |
| 6 | |
Bjorn Andersson | 6de1a50 | 2016-11-03 19:37:25 -0700 | [diff] [blame] | 7 | extern struct platform_driver qcom_iris_driver; |
| 8 | |
Bjorn Andersson | aed361a | 2016-08-12 18:18:59 -0700 | [diff] [blame] | 9 | struct 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 | |
| 19 | int qcom_iris_enable(struct qcom_iris *iris); |
| 20 | void qcom_iris_disable(struct qcom_iris *iris); |
| 21 | |
| 22 | void qcom_wcnss_assign_iris(struct qcom_wcnss *wcnss, struct qcom_iris *iris, bool use_48mhz_xo); |
| 23 | |
| 24 | #endif |