18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __QCOM_WNCSS_H__ 38c2ecf20Sopenharmony_ci#define __QCOM_WNCSS_H__ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_cistruct qcom_iris; 68c2ecf20Sopenharmony_cistruct qcom_wcnss; 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciextern struct platform_driver qcom_iris_driver; 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_cistruct wcnss_vreg_info { 118c2ecf20Sopenharmony_ci const char * const name; 128c2ecf20Sopenharmony_ci int min_voltage; 138c2ecf20Sopenharmony_ci int max_voltage; 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci int load_uA; 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci bool super_turbo; 188c2ecf20Sopenharmony_ci}; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciint qcom_iris_enable(struct qcom_iris *iris); 218c2ecf20Sopenharmony_civoid qcom_iris_disable(struct qcom_iris *iris); 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_civoid qcom_wcnss_assign_iris(struct qcom_wcnss *wcnss, struct qcom_iris *iris, bool use_48mhz_xo); 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#endif 26