Re: [PATCH 0/4] mfd: rn5t618: Extend ADC support
From: Andreas Kemnade <andreas@kemnade.info>
Date: 2021-07-03 16:39:53
Also in:
linux-iio, linux-pm, lkml
From: Andreas Kemnade <andreas@kemnade.info>
Date: 2021-07-03 16:39:53
Also in:
linux-iio, linux-pm, lkml
Hi, On Sat, 3 Jul 2021 16:59:50 +0100 Jonathan Cameron [off-list ref] wrote:
On Sat, 3 Jul 2021 10:42:20 +0200 Andreas Kemnade [off-list ref] wrote:quoted
Add devicetree support so that consumers can reference the channels via devicetree, especially the power subdevice can make use of that to provide voltage_now properties.Does the mapping vary from board to board? Often these mappings are internal to the chip so might as well be provided hard coded in the relevant drivers rather than via DT. See drivers that have iio_map structure arrays.
Most things are internal to the chip, but AIN1/AIN0 are external and could be connected to anything. Regards, Andreas