mbox series

[v2,0/2] mfd: rn5t618: Extend ADC support

Message ID 20210705113637.28908-1-andreas@kemnade.info
Headers show
Series mfd: rn5t618: Extend ADC support | expand

Message

Andreas Kemnade July 5, 2021, 11:36 a.m. UTC
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(+)