thermal/drivers/qcom: Add support for PMIC5 Gen2 ADCTM
authorJishnu Prakash <quic_jprakash@quicinc.com>
Sun, 3 Apr 2022 13:17:49 +0000 (18:47 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 19 May 2022 10:11:51 +0000 (12:11 +0200)
commit96f6f333bcf082756a01a7dc5cc7d4898e11b31b
tree57fcf6899fa0cb55b06bac0edf20cb265b3fcae9
parent7e70a89a3a08c515fe7e64ef3200d31faaf8d5ac
thermal/drivers/qcom: Add support for PMIC5 Gen2 ADCTM

Add support for PMIC5 Gen2 ADC_TM, used on PMIC7 chips. It is a
close counterpart of PMIC7 ADC and has the same functionality as
PMIC5 ADC_TM, for threshold monitoring and interrupt generation.
It is present on PMK8350 alone, like PMIC7 ADC and can be used
to monitor up to 8 ADC channels, from any of the PMIC7 PMICs
having ADC on a target, through PBS(Programmable Boot Sequence).

Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/1648991869-20899-5-git-send-email-quic_jprakash@quicinc.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/qcom/qcom-spmi-adc-tm5.c