lkml.org 
[lkml]   [2021]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/4] mfd: rn5t618: Extend ADC support
On Sat,  3 Jul 2021 10:42:20 +0200
Andreas Kemnade <andreas@kemnade.info> wrote:

> 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.

>
> Andreas Kemnade (4):
> dt-bindings: mfd: ricoh,rn5t618: ADC related nodes and properties
> mfd: rn5t618: Add of compatibles for ADC and power
> iio: rn5t618: Add devicetree support
> power: supply: rn5t618: Add voltage_now property
>
> .../bindings/mfd/ricoh,rn5t618.yaml | 53 ++++++++++++++++++
> drivers/iio/adc/rn5t618-adc.c | 14 ++++-
> drivers/mfd/rn5t618.c | 6 +-
> drivers/power/supply/rn5t618_power.c | 56 +++++++++++++++++++
> 4 files changed, 126 insertions(+), 3 deletions(-)
>

\
 
 \ /
  Last update: 2021-07-03 17:58    [W:0.328 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site