Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Bjorn Andersson | aed361a | 2016-08-12 18:18:59 -0700 | [diff] [blame] | 2 | #ifndef __QCOM_WNCSS_H__ |
| 3 | #define __QCOM_WNCSS_H__ |
| 4 | |
| 5 | struct qcom_iris; |
| 6 | struct qcom_wcnss; |
| 7 | |
Bjorn Andersson | 6de1a50 | 2016-11-03 19:37:25 -0700 | [diff] [blame] | 8 | extern struct platform_driver qcom_iris_driver; |
| 9 | |
Bjorn Andersson | aed361a | 2016-08-12 18:18:59 -0700 | [diff] [blame] | 10 | struct 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 | |
| 20 | int qcom_iris_enable(struct qcom_iris *iris); |
| 21 | void qcom_iris_disable(struct qcom_iris *iris); |
| 22 | |
| 23 | void qcom_wcnss_assign_iris(struct qcom_wcnss *wcnss, struct qcom_iris *iris, bool use_48mhz_xo); |
| 24 | |
| 25 | #endif |