Skip to content

Porting missing pmic changes from qcom-next#1359

Open
raryan-qcom wants to merge 3 commits into
qualcomm-linux:tech/pmic/miscfrom
raryan-qcom:for-adc
Open

Porting missing pmic changes from qcom-next#1359
raryan-qcom wants to merge 3 commits into
qualcomm-linux:tech/pmic/miscfrom
raryan-qcom:for-adc

Conversation

@raryan-qcom

Copy link
Copy Markdown

Porting missing pmic changes from qcom-next.
CRs-Fixed: 3871464, 3947936, 3974949

@qcomlnxci qcomlnxci requested review from a team, QUIC-kamalw, fenglinw-qcom and kotarake and removed request for a team June 13, 2026 08:53
raryan-qcom and others added 3 commits June 13, 2026 14:28
…al monitoring"

This reverts commit eee20da.
Signed-off-by: Raj Aryan <raryan@qti.qualcomm.com>
…auxiliary driver

The SDAM0 IRQ can be triggered for both EOC (end of conversion) events for
immediate ADC reads done in this driver and for threshold violation events,
based on ADC_TM thresholds configured from the auxiliary ADC_TM driver on
TM channels on the first SDAM.

At present, this interrupt is handled only in the ISR in the main ADC
driver.When the ISR is triggered for an ADC_TM event, this driver notifies
the ADC_TM driver by calling a notifier callback exposed from it for this
purpose.

To simplify the interrupt handling in both drivers, share the interrupt
between the drivers. With this, ADC_TM interrupts on SDAM0 will be handled
directly in the ADC_TM driver, so remove the notifier callback and all TM
interrupt handling in the main ADC ISR.

Link: https://lore.kernel.org/all/20260526-gen3_adc_tm-v2-1-702fbac919ac@oss.qualcomm.com/
Signed-off-by: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
Reviewed-by: Jonathan Cameron <jic23@kernel.org>
…oring

Add support for ADC_TM part of PMIC5 Gen3.

This is an auxiliary driver under the Gen3 ADC driver, which implements the
threshold setting and interrupt generating functionalities of QCOM ADC_TM
drivers, used to support thermal trip points.

Link: https://lore.kernel.org/all/20260526-gen3_adc_tm-v2-2-702fbac919ac@oss.qualcomm.com/
Signed-off-by: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
@qcomlnxci qcomlnxci requested a review from a team June 14, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants