summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJishnu Prakash <jishnu.prakash@oss.qualcomm.com>2026-07-22 16:56:38 +0530
committerDaniel Lezcano <daniel.lezcano@kernel.org>2026-08-07 17:18:44 +0200
commitb39f9b4b21df871005a59e2aea814644896d0dd3 (patch)
tree1c261493334eabee5dc3881043188301170a2d2d /tools/perf/scripts/python
parent7680af9184f1c9b8b22182c34c9d5282eebf3a97 (diff)
downloadlinux-b39f9b4b21df871005a59e2aea814644896d0dd3.tar.gz
linux-b39f9b4b21df871005a59e2aea814644896d0dd3.zip
iio: adc: qcom-spmi-adc5-gen3: Share SDAM0 IRQ with ADC_TM 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. Signed-off-by: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org> Reviewed-by: Jonathan Cameron <jic23@kernel.org> Link: https://patch.msgid.link/20260722-gen3_adc_tm-v4-2-011981f756c8@oss.qualcomm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions