<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/iio/humidity, branch v4.4.171</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.4.171</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.4.171'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2016-07-27T16:47:36+00:00</updated>
<entry>
<title>iio: hudmidity: hdc100x: fix incorrect shifting and scaling</title>
<updated>2016-07-27T16:47:36+00:00</updated>
<author>
<name>Matt Ranostay</name>
<email>mranostay@gmail.com</email>
</author>
<published>2016-05-30T02:52:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=784108d9df5aea1d58d2a56900efaa8149507964'/>
<id>urn:sha1:784108d9df5aea1d58d2a56900efaa8149507964</id>
<content type='text'>
commit 94bef000f1d4aa111f4ddda1482cf3b30ad069ce upstream.

Shifting sensor data to the right 2 bits was incorrect and caused the
scaling values + offsets to be invalid.

Reported-by: Alison Schofield &lt;amsfield22@gmail.com&gt;
Signed-off-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Tested-by: Alison Schofield &lt;amsfield22@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio: humidity: hdc100x: fix IIO_TEMP channel reporting</title>
<updated>2016-07-27T16:47:36+00:00</updated>
<author>
<name>Matt Ranostay</name>
<email>mranostay@gmail.com</email>
</author>
<published>2016-05-27T02:55:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d2be6f6172de75b807b48ef391fb7542402f554e'/>
<id>urn:sha1:d2be6f6172de75b807b48ef391fb7542402f554e</id>
<content type='text'>
commit 09bc0ddaab6cab0fa95a67d5535ec772e2671193 upstream.

IIO_TEMP channel was being incorrectly reported back as Celsius when it
should have been milliCelsius. This is via an incorrect scale value being
returned to userspace.

Signed-off-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio: humidity: hdc100x: correct humidity integration time mask</title>
<updated>2016-07-27T16:47:36+00:00</updated>
<author>
<name>Alison Schofield</name>
<email>amsfield22@gmail.com</email>
</author>
<published>2016-05-20T17:06:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f7ba3de17a6a81e9301648c3b024510d6df5be37'/>
<id>urn:sha1:f7ba3de17a6a81e9301648c3b024510d6df5be37</id>
<content type='text'>
commit 0e35cf5ce00d873d6e529d2b2cd7598d52438051 upstream.

Apply the correct mask to enable all available humidity integration
times.  Currently, the driver defaults to 6500 and all is okay with that.
However, if 3850 is selected we get a stuck bit and can't change back
to 6500 or select 2500.  (Verified with HDC1008)

Signed-off-by: Alison Schofield &lt;amsfield22@gmail.com&gt;
Cc: Daniel Baluta &lt;daniel.baluta@gmail.com&gt;
Reviewed-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge tag 'iio-fixes-for-4.4a' of ssh://ra.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus</title>
<updated>2015-11-18T21:15:50+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2015-11-18T21:15:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=819db468b26797d9f53d547dd2a9fe94859a16e0'/>
<id>urn:sha1:819db468b26797d9f53d547dd2a9fe94859a16e0</id>
<content type='text'>
Jonathan writes:

First set of IIO fixes for the 4.4 cycle.

This set does not include those for issues introduced during the merge
window.  Fixes of those will follow in a future series.

* ad5064
  - Make sure the local i2c_write returns 0 on success rather than the
    number of bytes transfered.  Otherwise we report an error on all writes.
  - Fix a shift for ad5629 and ad5669 which gives incorrect DAC output on
    these parts.
* ad7793
  - The product ID on the datasheet is wrong.  Fix it in the driver.
* IIO_DUMMY_EVGEN
  - select IRQ_WORK as a dependency.
* lpc32xx
  - make sure clock is prepared before enabling.
* si7020
  - data byte order was reversed. Fix it.
* vf610
  - Internal temperature calculation was wrong if a different
    reference voltage was used.  Now use a linear interpolation
    function to make it work over the full range.
  - Fix a division by zero in the case of a device tree property
    not being present (same issue two fixes).
* xilinx XADC
  - VREFN scale was wrong - fix it.
</content>
</entry>
<entry>
<title>iio: si7020: Swap data byte order</title>
<updated>2015-11-15T12:36:19+00:00</updated>
<author>
<name>Chris Lesiak</name>
<email>chris.lesiak@licor.com</email>
</author>
<published>2015-11-02T21:45:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0d2f6fd3ffd5e7a447233a57112246bc00064752'/>
<id>urn:sha1:0d2f6fd3ffd5e7a447233a57112246bc00064752</id>
<content type='text'>
The Silicon Labs Si7013, Si7020, and Si7021 family of I2C humidity and
temperature sensors deliver 16 bit data high byte first.

See the datasheet available at:
https://www.silabs.com/Support%20Documents%2fTechnicalDocs%2fSi7020-A20.pdf

But as documented in Documentation/i2c/smbus-protocol,
i2c_smbus_read_word_data() expects the low byte first.

Change the driver to use i2c_smbus_read_word_swapped to get correct byte
order.

Signed-off-by: Chris Lesiak &lt;chris.lesiak@licor.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: hdc100x: correct IIO_CHAN_INFO_OFFSET value</title>
<updated>2015-10-11T12:53:20+00:00</updated>
<author>
<name>Matt Ranostay</name>
<email>mranostay@gmail.com</email>
</author>
<published>2015-09-27T06:18:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d3a21ce0c60365991e59bbe848457c08f0c3c7ca'/>
<id>urn:sha1:d3a21ce0c60365991e59bbe848457c08f0c3c7ca</id>
<content type='text'>
Previous offset wasn't applied in the correct order and invalid.
This patchset fixes this issue, and also has the correct scale value
applied to the offset.

Signed-off-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>Add ms8607 meas-spec driver support</title>
<updated>2015-10-11T09:21:21+00:00</updated>
<author>
<name>Ludovic Tancerel</name>
<email>ludovic.tancerel@maplehightech.com</email>
</author>
<published>2015-10-01T14:13:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1b75ce658775c9131ea6689ffadcde2663983b6c'/>
<id>urn:sha1:1b75ce658775c9131ea6689ffadcde2663983b6c</id>
<content type='text'>
Support for MS8607 temperature, pressure &amp; humidity sensor.
This part is using functions from MS5637 for temperature and pressure
and HTU21 for humidity

Signed-off-by: Ludovic Tancerel &lt;ludovic.tancerel@maplehightech.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>Add htu21 meas-spec driver support</title>
<updated>2015-10-11T09:21:20+00:00</updated>
<author>
<name>Ludovic Tancerel</name>
<email>ludovic.tancerel@maplehightech.com</email>
</author>
<published>2015-10-01T14:13:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2b5c53d2c958bda92310d1b371a9314f4aa8c274'/>
<id>urn:sha1:2b5c53d2c958bda92310d1b371a9314f4aa8c274</id>
<content type='text'>
Support for HTU21 temperature &amp; humidity sensor

Signed-off-by: Ludovic Tancerel &lt;ludovic.tancerel@maplehightech.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: humidity: add HDC100x support</title>
<updated>2015-09-23T19:23:19+00:00</updated>
<author>
<name>Matt Ranostay</name>
<email>mranostay@gmail.com</email>
</author>
<published>2015-09-06T20:27:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4839367d99e3b067d3c2e9404ae320c100d090c7'/>
<id>urn:sha1:4839367d99e3b067d3c2e9404ae320c100d090c7</id>
<content type='text'>
Add support for the HDC100x temperature and humidity sensors
including the resistive heater element.

Signed-off-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: humidity: si7020: replaced bitmask on humidity values with range check</title>
<updated>2015-08-24T18:41:16+00:00</updated>
<author>
<name>Nicola Corna</name>
<email>nicola@corna.info</email>
</author>
<published>2015-08-23T21:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ecf7e207a55d8760734a9de5fba1a974628b92e5'/>
<id>urn:sha1:ecf7e207a55d8760734a9de5fba1a974628b92e5</id>
<content type='text'>
The maximum possible value for the relative humidity is 55575 (100%RH).
This value, if shifted right by 2 bits, uses 14 bits and masking it with
a 12 bit mask removes 2 meaningful bits.
The masking has been replaced with a range check that sets the minimum
value at 786 (0%RH) and the maximum at 13893 (99.998%RH).

Signed-off-by: Nicola Corna &lt;nicola@corna.info&gt;
Reviewed-by: Hartmut Knaack &lt;knaack.h@gmx.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
