aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorGuillaume Stols <gstols@baylibre.com>2024-10-15 13:56:17 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-21 19:19:26 +0100
commit29121b825e05f784db489fc2be4c9ef394cc118a (patch)
tree3e1b9382176bd2390edd0794040859af67e14288 /tools/perf/scripts/python/parallel-perf.py
parentDocumentation: iio: Document ad7606 driver (diff)
downloadlinux-29121b825e05f784db489fc2be4c9ef394cc118a.tar.gz
linux-29121b825e05f784db489fc2be4c9ef394cc118a.zip
iio: adc: ad7606: Add PWM support for conversion trigger
Until now, the conversion were triggered by setting high the GPIO connected to the convst pin. This commit gives the possibility to connect the convst pin to a PWM. Connecting a PWM allows to have a better control on the samplerate, but it must be handled with care, as it is completely decorrelated of the driver's busy pin handling. Hence it is not recommended to be used "as is" but must be exploited in conjunction with IIO backend, and for now only a mock functionality is enabled, i.e PWM never swings, but is used as a GPIO, i.e duty_cycle == period equals high state, duty_cycle == 0 equals low state. This mock functionality will be disabled after the IIO backend usecase is introduced. Signed-off-by: Guillaume Stols <gstols@baylibre.com> Link: https://patch.msgid.link/20241015-ad7606_add_iio_backend_support-v5-4-654faf1ae08c@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions