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>] [day] [month] [year] [list]
Date:   Sat, 28 Oct 2017 23:12:45 +0200
From:   Stefan Brüns <stefan.bruens@...h-aachen.de>
To:     <linux-iio@...r.kernel.org>
CC:     Peter Meerwald-Stadler <pmeerw@...erw.net>,
        Stefan Brüns <stefan.bruens@...h-aachen.de>,
        <linux-kernel@...r.kernel.org>, "Andrew F . Davis" <afd@...com>,
        "Lars-Peter Clausen" <lars@...afoo.de>,
        Jonathan Cameron <jic23@...nel.org>,
        "Hartmut Knaack" <knaack.h@....de>,
        Javier Martinez Canillas <javier@....samsung.com>
Subject: [PATCH v2 0/3] iio: adc: ina2xx: Fixes and extensions

The first patch fixes an issue with the conversion-ready status flag showing
up in the bus voltage raw value.

(removed original second patch from series, as already applied to togreg branch)

The second patch cleans up the specification of the LSB value for the shunt
voltage register. For code readability and uniformity, use the value from the
datasheet (e.g 10uV per LSB) instead of the reciprocal (100 LSBs per mV), as
done for the other registers.

The third patch adds support for the INA219/220 specific bus voltage range
and shunt voltage PGA.

Changes in v2:
- Apply to the shunt voltage, not bus voltage register
- Shift instead of masking the LSBs
- new patch
- Fix conversion for shunt gain, function expects milli, not micro

Stefan Brüns (3):
  iio: adc: ina2xx: Shift bus voltage register to mask flag bits
  iio: adc: ina2xx: Use LSB specifier instead of divider in config
  iio: adc: ina2xx: Allow setting Shunt Voltage PGA gain and Bus Voltage
    range

 drivers/iio/adc/ina2xx-adc.c | 149 +++++++++++++++++++++++++++++++++++++------
 1 file changed, 131 insertions(+), 18 deletions(-)

-- 
2.14.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ