]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: axp20x_adc: add support for AXP717 ADC
authorChris Morgan <macromorgan@hotmail.com>
Wed, 21 Aug 2024 21:54:53 +0000 (16:54 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 7 Sep 2024 13:28:37 +0000 (14:28 +0100)
commit5ba0cb92584ba5e107c97001e09013c1da0772a8
treed56dfe8ae21668cf53269ce45047cd8475845985
parent85d3af3e9fccdc42b9651640dc84ef1d7955b693
iio: adc: axp20x_adc: add support for AXP717 ADC

Add support for the AXP717 ADC. The AXP717 differs from other ADCs
in this series by utilizing a 14 bit ADC for all channels (a full 16
bits with the first 2 digits reserved). It also differs by lacking a
battery discharge current channel.

Note that while the current charge channel itself is included in this
driver for the AXP717 and listed in the datasheet, no scale or offset
was given for this channel. For now no scale or offset is provided in
this driver.

Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://patch.msgid.link/20240821215456.962564-13-macroalpha82@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/axp20x_adc.c