lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210703165950.6e2aeb89@jic23-huawei>
Date:   Sat, 3 Jul 2021 16:59:50 +0100
From:   Jonathan Cameron <jic23@...nel.org>
To:     Andreas Kemnade <andreas@...nade.info>
Cc:     lee.jones@...aro.org, robh+dt@...nel.org, lars@...afoo.de,
        sre@...nel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
        linux-pm@...r.kernel.org, leonard.crestez@....com,
        letux-kernel@...nphoenux.org
Subject: Re: [PATCH 0/4] mfd: rn5t618: Extend ADC support

On Sat,  3 Jul 2021 10:42:20 +0200
Andreas Kemnade <andreas@...nade.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(-)
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ