[Letux-kernel] [PATCH v2 0/2] mfd: rn5t618: Extend ADC support
Andreas Kemnade
andreas at kemnade.info
Mon Jul 5 13:36:35 CEST 2021
Add iio map to make voltage_now related channels accessible to power
driver.
Changes in v2:
- use iio_map instead of devicetree to allow mapping which does not
block future extension by devicetree.
Andreas Kemnade (2):
iio: adc: rn5t618: Add iio map
power: supply: rn5t618: Add voltage_now property
drivers/iio/adc/rn5t618-adc.c | 23 ++++++++++++++++
drivers/power/supply/Kconfig | 2 ++
drivers/power/supply/rn5t618_power.c | 40 ++++++++++++++++++++++++++++
3 files changed, 65 insertions(+)
--
2.30.2
More information about the Letux-kernel
mailing list