mbox series

[0/2] thermal: qcom: Add support for PMIC5 Gen2 ADC_TM

Message ID 1634541429-3215-1-git-send-email-quic_jprakash@quicinc.com (mailing list archive)
Headers show
Series thermal: qcom: Add support for PMIC5 Gen2 ADC_TM | expand

Message

Jishnu Prakash Oct. 18, 2021, 7:17 a.m. UTC
PMIC5 Gen2 ADC_TM is supported on PMIC7 chips and is a close
counterpart of PMIC7 ADC. It has the same functionality as
PMIC5 ADC_TM, to support generating interrupts on ADC value
crossing upper or lower thresholds for monitored channels.

Jishnu Prakash (2):
  dt-bindings: thermal: qcom: add PMIC5 Gen2 ADC_TM bindings
  thermal: qcom: add support for PMIC5 Gen2 ADCTM

 .../bindings/thermal/qcom-spmi-adc-tm5.yaml        |  83 +++-
 drivers/iio/adc/qcom-vadc-common.c                 | 187 +++++++++
 drivers/thermal/qcom/qcom-spmi-adc-tm5.c           | 431 ++++++++++++++++++++-
 include/linux/iio/adc/qcom-vadc-common.h           |   2 +
 4 files changed, 692 insertions(+), 11 deletions(-)