kernel: add kmod-iio-htu21
authorTorbjörn Jansson <torbjorn.jansson@mbox200.swipnet.se>
Mon, 30 Jul 2018 13:59:20 +0000 (15:59 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:41 +0000 (17:47 +0100)
commitb489a77d897f1424f8ffdfae6a0c5f87c20e0274
tree07ff7b109353037d3d7a8eb2b1cf9c00ed247eb2
parent466a1db4fc24d2b7ffd63f3df4aa4e88004baadc
kernel: add kmod-iio-htu21

This adds support for the htu21 humidity and temperature sensor.

To get it to work you have to do something like this:
echo "htu21 0x40" >/sys/class/i2c-dev/i2c-1/device/new_device
for example by adding it to rc.local

Compile tested on brcm2708 and I have used an earlier version of this
patch for more than a year.

Signed-off-by: Torbjörn Jansson <torbjorn.jansson@mbox200.swipnet.se>
(backported from af9a96d23eda3c9989e8b80c9ad2a9c41334aefd)
package/kernel/linux/modules/iio.mk