aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2025-08-11 11:50:41 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-16 13:21:20 +0100
commit72e42b4849c8f0a29ae679eaa4e191cd7698c463 (patch)
tree310d6f0069650093bf701e81ce0ccc0fad593d0d /tools/perf/scripts/python/task-analyzer.py
parentiio: adc: ad7476: Simplify chip type detection (diff)
downloadlinux-72e42b4849c8f0a29ae679eaa4e191cd7698c463.tar.gz
linux-72e42b4849c8f0a29ae679eaa4e191cd7698c463.zip
iio: adc: ad7476: Simplify scale handling
The ad7476 driver supports variants with different amount of supply regulators. On some variants there is only VCC, which is used as a reference voltage. Others have separate VREF regulator, and some rely on internal VREF. Some have both internal VREF and option to connect external one. The ad7476 driver reads the regulator voltage only when the user asks to get the scale. This means the driver needs to do some dancing while picking the correct reference regulator (or internal reference), and store it for the later use. According to the discussion [1] variable voltage references are rare, making it hard to justify the added complexity for supporting those. Drop the support for the variable voltage references and simplify things by using the managed regulator get and enable interfaces. Link: https://lore.kernel.org/linux-iio/20250331122247.05c6b09d@jic23-huawei/ #1 Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: $URL #1 Link: https://patch.msgid.link/4a497cc5ac0f6506c1c94d10849e0ae1cacf1191.1754901948.git.mazziesaccount@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions