summaryrefslogtreecommitdiff
path: root/drivers/thermal/qcom/tsens-v2.c
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2022-08-19 01:02:42 +0300
committerDaniel Lezcano <daniel.lezcano@kernel.org>2022-12-14 17:25:40 +0300
commit4360af35273b742ffc6605ce44f37ac654272443 (patch)
tree2b1403702da72a59719f878a0f7b5ca598982c96 /drivers/thermal/qcom/tsens-v2.c
parentc6db32ec7c600ae7ab92eb6c56a9fb2918fcd780 (diff)
downloadlinux-4360af35273b742ffc6605ce44f37ac654272443.tar.xz
thermal/drivers/tsens: Add support for combined interrupt
Despite using tsens v2.3 IP, IPQ8074 and IPQ6018 only have one IRQ for signaling both up/low and critical trips. Signed-off-by: Robert Marko <robimarko@gmail.com> Reviewed-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20220818220245.338396-2-robimarko@gmail.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/thermal/qcom/tsens-v2.c')
-rw-r--r--drivers/thermal/qcom/tsens-v2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/qcom/tsens-v2.c b/drivers/thermal/qcom/tsens-v2.c
index b293ed32174b..129cdb247381 100644
--- a/drivers/thermal/qcom/tsens-v2.c
+++ b/drivers/thermal/qcom/tsens-v2.c
@@ -31,6 +31,7 @@
static struct tsens_features tsens_v2_feat = {
.ver_major = VER_2_X,
.crit_int = 1,
+ .combo_int = 0,
.adc = 0,
.srot_split = 1,
.max_sensors = 16,