mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Merge "dt-bindings: thermal: Add support for QMI beamer ADC and RF sensors"
This commit is contained in:
commit
9a4517909d
2 changed files with 27 additions and 0 deletions
|
|
@ -61,6 +61,15 @@ enum qmi_ts_sensor {
|
|||
QMI_TS_MMW_PA3,
|
||||
QMI_TS_SDR_MMW,
|
||||
QMI_TS_MSM_SKIN,
|
||||
QMI_TS_BEAMER_N_THERM,
|
||||
QMI_TS_BEAMER_E_THERM,
|
||||
QMI_TS_BEAMER_W_THERM,
|
||||
QMI_TS_QFE_RET_PA0_FR1,
|
||||
QMI_TS_QFE_WTR_PA0_FR1,
|
||||
QMI_TS_QFE_WTR_PA1_FR1,
|
||||
QMI_TS_QFE_WTR_PA2_FR1,
|
||||
QMI_TS_QFE_WTR_PA3_FR1,
|
||||
QMI_TS_QFE_WTR0_FR1,
|
||||
QMI_TS_MAX_NR
|
||||
};
|
||||
|
||||
|
|
@ -123,6 +132,15 @@ static char sensor_clients[QMI_TS_MAX_NR][QMI_CLIENT_NAME_LENGTH] = {
|
|||
{"mmw_pa3"},
|
||||
{"sdr_mmw_therm"},
|
||||
{"msm_skin_therm"},
|
||||
{"beamer_n_therm"},
|
||||
{"beamer_e_therm"},
|
||||
{"beamer_w_therm"},
|
||||
{"qfe_ret_pa0_fr1"},
|
||||
{"qfe_wtr_pa0_fr1"},
|
||||
{"qfe_wtr_pa1_fr1"},
|
||||
{"qfe_wtr_pa2_fr1"},
|
||||
{"qfe_wtr_pa3_fr1"},
|
||||
{"qfe_wtr0_fr1"},
|
||||
};
|
||||
|
||||
static int32_t encode_qmi(int32_t val)
|
||||
|
|
|
|||
|
|
@ -42,6 +42,15 @@
|
|||
#define QMI_MMW_PA3 28
|
||||
#define QMI_SDR_MMW 29
|
||||
#define QMI_MSM_SKIN 30
|
||||
#define QMI_BEAMER_N_THERM 31
|
||||
#define QMI_BEAMER_E_THERM 32
|
||||
#define QMI_BEAMER_W_THERM 33
|
||||
#define QMI_QFE_RET_PA0_FR1 34
|
||||
#define QMI_QFE_WTR_PA0_FR1 35
|
||||
#define QMI_QFE_WTR_PA1_FR1 36
|
||||
#define QMI_QFE_WTR_PA2_FR1 37
|
||||
#define QMI_QFE_WTR_PA3_FR1 38
|
||||
#define QMI_QFE_WTR0_FR1 39
|
||||
|
||||
#define QMI_MODEM_INST_ID 0x0
|
||||
#define QMI_ADSP_INST_ID 0x1
|
||||
|
|
|
|||
Loading…
Reference in a new issue