diff options
| author | Angelo Dureghello <adureghello@baylibre.com> | 2026-07-01 16:17:23 +0200 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-07-01 18:58:22 +0100 |
| commit | c4f4b964dd4fedd2654355bc6dfc0011b3984517 (patch) | |
| tree | 65d2ae5620961874f965bf5ecb2901dde140b7fc /include | |
| parent | d9df71de85c2687d4250f8662296902bed430458 (diff) | |
| download | linux-c4f4b964dd4fedd2654355bc6dfc0011b3984517.tar.gz linux-c4f4b964dd4fedd2654355bc6dfc0011b3984517.zip | |
iio: dac: add mcf54415 DAC
Add basic version of mcf54415 DAC driver. DAC is embedded in the SoC and
DAC configuration registers are mapped in the internal IO address space.
The DAC accepts a 12-bit digital signal and creates a monotonic 12-bit
analog output varying from DAC_VREFL to DAC_VREFH. The DAC module
consists of a conversion unit, an output amplifier, and the associated
digital control blocks. Default register values for DAC_VREFL and DAC_VREFH
are respectively 0 and 0xfff, left untouched in this initial version.
This initial version of the driver is minimalistic, "output raw" only, to
be extended in the future. DMA and external sync are disabled, default mode
is high speed, default format is right-justified 12-bit on 16-bit word.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
