^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef __QCOM_WNCSS_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define __QCOM_WNCSS_H__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) struct qcom_iris;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) struct qcom_wcnss;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) extern struct platform_driver qcom_iris_driver;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) struct wcnss_vreg_info {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) const char * const name;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) int min_voltage;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) int max_voltage;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) int load_uA;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) bool super_turbo;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) int qcom_iris_enable(struct qcom_iris *iris);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) void qcom_iris_disable(struct qcom_iris *iris);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) void qcom_wcnss_assign_iris(struct qcom_wcnss *wcnss, struct qcom_iris *iris, bool use_48mhz_xo);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #endif