diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2022-10-01 03:52:08 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-10-18 16:00:01 +0300 |
commit | 960f9df7c620ecb6030aff1d9a6c3d67598b8290 (patch) | |
tree | a226ce1b12688733efa1d9f22330c891c93e3e10 /tools/perf/scripts/python/stackcollapse.py | |
parent | ea418b35103a98329cb019927cc3668c3759b9eb (diff) | |
download | linux-960f9df7c620ecb6030aff1d9a6c3d67598b8290.tar.xz |
HID: mcp2221: add ADC/DAC support via iio subsystem
Add support for 3x 10-bit ADC and 1x DAC channels registered via the iio
subsystem.
To prevent breakage and unexpected dependencies this support only is
only built if CONFIG_IIO is enabled, and is only weakly referenced by
'imply IIO' within the respective Kconfig.
Additionally the iio device only gets registered if at least one channel
is enabled in the power-on configuration read from SRAM.
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions