diff options
| author | Rodrigo Alencar <rodrigo.alencar@analog.com> | 2026-07-16 13:14:24 +0100 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-07-19 23:16:22 +0100 |
| commit | 23f66b58b14bd5068ece70c118755cc24ff75baf (patch) | |
| tree | 11544c9620bb96c8e9a2e8f316797e6a67ac0f75 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a3c37fa97b134588471d20e2132626994f9954f2 (diff) | |
iio: dac: ad5686: add gain control support
Most of the supported devices rely on a GAIN pin to control a 2x
multiplier applied to the output voltage. Other devices, e.g. the
single-channel ones, provides a gain control through a bit field in
the control register. Some designs might have the GAIN pin hardwired
to VDD/VLOGIC or GND, which would have no "gain-gpios" device property,
being able to set "adi,range-double" if it is hardwired to VDD. The
vref_mv field is moved down in the struct ad5686_state, so that the
overall size increase is reduced.
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Rodrigo Alencar <rodrigo.alencar@analog.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
