]> git.baikalelectronics.ru Git - kernel.git/commit
iio:adc:twl6030: Enable measurements of VUSB, VBAT and others
authorAndreas Kemnade <andreas@kemnade.info>
Thu, 1 Dec 2022 18:16:35 +0000 (19:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:18 +0000 (11:28 +0100)
commit67cd7bf2d34b02d8b53ae29cdfd578378e55fcca
tree568eb72721f60ce78c9be212a3a7fb3bd0966a60
parenta36c0a85e91b774b38a003a2b541d662cebc9361
iio:adc:twl6030: Enable measurements of VUSB, VBAT and others

commit d135d133c7026a93a18368a1b274e25c9006ea9a upstream.

Some inputs need to be wired up to produce proper measurements,
without this change only near zero values are reported.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Fixes: f3308d41d7f5f ("iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver")
Link: https://lore.kernel.org/r/20221201181635.3522962-1-andreas@kemnade.info
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/adc/twl6030-gpadc.c