mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 12:26:45 +07:00
aed361adca
This introduces the peripheral image loader, for loading WCNSS firmware and boot the core on e.g. MSM8974. The firmware is verified and booted with the help of the Peripheral Authentication System (PAS) in TrustZone. Tested-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
23 lines
416 B
C
23 lines
416 B
C
#ifndef __QCOM_WNCSS_H__
|
|
#define __QCOM_WNCSS_H__
|
|
|
|
struct qcom_iris;
|
|
struct qcom_wcnss;
|
|
|
|
struct wcnss_vreg_info {
|
|
const char * const name;
|
|
int min_voltage;
|
|
int max_voltage;
|
|
|
|
int load_uA;
|
|
|
|
bool super_turbo;
|
|
};
|
|
|
|
int qcom_iris_enable(struct qcom_iris *iris);
|
|
void qcom_iris_disable(struct qcom_iris *iris);
|
|
|
|
void qcom_wcnss_assign_iris(struct qcom_wcnss *wcnss, struct qcom_iris *iris, bool use_48mhz_xo);
|
|
|
|
#endif
|