xref: /linux/drivers/remoteproc/qcom_wcnss.h (revision 6fdcba32711044c35c0e1b094cbd8f3f0b4472c9)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __QCOM_WNCSS_H__
3 #define __QCOM_WNCSS_H__
4 
5 struct qcom_iris;
6 struct qcom_wcnss;
7 
8 extern struct platform_driver qcom_iris_driver;
9 
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
26