summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorKurt Borja <kuurtb@gmail.com>2025-12-11 23:25:44 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-12-21 18:48:50 +0000
commitbf0bba486b5bd5e2d6100ed7dd1e38e0304ba40f (patch)
treeac68ef44e11e732c3a2fd6257f80021911efff5b /tools/perf/scripts/python/netdev-times.py
parent43fabbb9249f4e609ba15533f49c3738344ed801 (diff)
downloadlinux-bf0bba486b5bd5e2d6100ed7dd1e38e0304ba40f.tar.gz
linux-bf0bba486b5bd5e2d6100ed7dd1e38e0304ba40f.zip
iio: adc: Add ti-ads1018 driver
Add ti-ads1018 driver for Texas Instruments ADS1018 and ADS1118 SPI analog-to-digital converters. This chips' MOSI pin is shared with a data-ready interrupt. Defining this interrupt in devicetree is optional, therefore we only create an IIO trigger if one is found. Handling this interrupt requires some considerations. When enabling the trigger the CS line is tied low (active), thus we need to hold spi_bus_lock() too, to avoid state corruption. This is done inside the set_trigger_state() callback, to let users use other triggers without wasting a bus lock. Reviewed-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Kurt Borja <kuurtb@gmail.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions