summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAngelo Dureghello <adureghello@baylibre.com>2026-07-01 16:17:23 +0200
committerJonathan Cameron <jic23@kernel.org>2026-07-01 18:58:22 +0100
commitc4f4b964dd4fedd2654355bc6dfc0011b3984517 (patch)
tree65d2ae5620961874f965bf5ecb2901dde140b7fc /include
parentd9df71de85c2687d4250f8662296902bed430458 (diff)
downloadlinux-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