iio: adc: add ADC driver for the TI LMP92064 controller
authorLeonard Göhrs <l.goehrs@pengutronix.de>
Mon, 28 Nov 2022 13:35:03 +0000 (14:35 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 28 Dec 2022 17:19:44 +0000 (17:19 +0000)
commit627198942641dae28024ad686066311f1aeedcf2
treeb35a6b9684b258c3c093ba1b8767cca2f69693a6
parent51f3e9696c8e784f74a4c1f9fe2e9d5ff9641a8d
iio: adc: add ADC driver for the TI LMP92064 controller

The TI LMP92064 is a dual 12 Bit ADC connected via SPI.
The two channels are intended for simultaneous measurements of the voltage
across- and current through a load to allow accurate instantaneous power
measurements.
The driver does not yet take advantage of this feature, as buffering is not
yet implemented.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Link: https://lore.kernel.org/r/20221128133503.1355898-2-l.goehrs@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/ti-lmp92064.c [new file with mode: 0644]