diff options
author | Angelo Dureghello <adureghello@baylibre.com> | 2024-05-22 17:01:38 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-04 19:53:06 +0100 |
commit | 2334d5e0b7af8912f140e1df16bd94fb3ab98578 (patch) | |
tree | 1abab13edd7d7b684d32f14ab4411b4254ce9c54 /drivers/dma/ioat | |
parent | 80ea2007638017b18b0a900e605d7804aaf8d1ae (diff) |
iio: dac: ad3552r: add model data structure
Add a "model data" structure to keep useful hardware-related
information as from datasheet, avoiding id-based conditional
choices later on.
Removed id-based checks and filled model-specific structures
with device specific features, In particular, num_hw_channels
is introduced to keep the number of hardware implemented
channels, since 1-channel versions of the DACs are added
in this same patchset.
Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240522150141.1776196-4-adureghello@baylibre.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/dma/ioat')
0 files changed, 0 insertions, 0 deletions