<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/drivers/iio/humidity, branch linux-4.5.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-4.5.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=linux-4.5.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2016-02-01T20:16:13+00:00</updated>
<entry>
<title>iio: dht11: Use boottime</title>
<updated>2016-02-01T20:16:13+00:00</updated>
<author>
<name>Abhilash Jindal</name>
<email>klock.android@gmail.com</email>
</author>
<published>2016-01-27T22:46:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=17a2f46c3d8877fe2a0b6ff391d1df30e67892a6'/>
<id>urn:sha1:17a2f46c3d8877fe2a0b6ff391d1df30e67892a6</id>
<content type='text'>
Wall time obtained from ktime_get_real_ns is susceptible to sudden jumps due to
user setting the time or due to NTP.  Boot time is constantly increasing time
better suited for comparing two timestamps.

Signed-off-by: Abhilash Jindal &lt;klock.android@gmail.com&gt;
Reviewed-by: Harald Geyer &lt;harald@ccbib.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.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.rulkc.org/pub/scm/linux/kernel/git/stable/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.rulkc.org/pub/scm/linux/kernel/git/stable/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.rulkc.org/pub/scm/linux/kernel/git/stable/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.rulkc.org/pub/scm/linux/kernel/git/stable/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.rulkc.org/pub/scm/linux/kernel/git/stable/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.rulkc.org/pub/scm/linux/kernel/git/stable/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.rulkc.org/pub/scm/linux/kernel/git/stable/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>
<entry>
<title>iio: dht11: Use new function ktime_get_resolution_ns()</title>
<updated>2015-07-20T17:41:20+00:00</updated>
<author>
<name>Harald Geyer</name>
<email>harald@ccbib.org</email>
</author>
<published>2015-07-07T13:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=081d974031bafb204d64de3e82f398daf1d0b899'/>
<id>urn:sha1:081d974031bafb204d64de3e82f398daf1d0b899</id>
<content type='text'>
This cleans up the most ugly workaround in this driver. There are no
functional changes yet in the decoding algorithm, but we improve the
following things:
 * Get rid of spurious warning messages on systems with fast HRTIMER.
 * If the clock is not fast enough for decoding to work, we give
   up immediately.
 * In that case we return EAGAIN instead of EIO, so it's easier to
   discriminate causes of failure.

Returning EAGAIN is somewhat controversial: It's technically correct
as a faster clock might become available. OTOH once all clocks are
enabled this is a permanent error. There is no ECLOCKTOOSLOW error
code.

Signed-off-by: Harald Geyer &lt;harald@ccbib.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: dht11: avoid multiple assignments to make checkpatch.pl --strict happy</title>
<updated>2015-07-20T17:41:19+00:00</updated>
<author>
<name>Harald Geyer</name>
<email>harald@ccbib.org</email>
</author>
<published>2015-07-07T13:39:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5fbb0bc466b7b43036b1dd8c9e9166ca9e69e07a'/>
<id>urn:sha1:5fbb0bc466b7b43036b1dd8c9e9166ca9e69e07a</id>
<content type='text'>
We just do the assignments in two steps.

Signed-off-by: Harald Geyer &lt;harald@ccbib.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
