commit | a2d8be6823017ccdde8db8b0f4fbe6a29580dd40 | [log] [tgz] |
---|---|---|
author | Peter Meerwald <pmeerw@pmeerw.net> | Thu Feb 06 20:44:00 2014 +0000 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Jun 14 13:15:30 2014 +0100 |
tree | 1da722c1b5c38d0670a86c9081d992f62595cd04 | |
parent | 6c0690ecb682c94b958e0328c46bfcfd95c7698c [diff] |
iio: Add t5403 barometric pressure sensor driver 16-bit pressure and temperature sensor the chip can do I2C and SPI, only the I2C interface is supported by the driver at the moment datasheet: http://www.epcos.com/inf/57/ds/T5400.pdf application note: http://www.epcos.com/blob/993154/download/1/t5403-applicationnote.pdf an out-of-tree driver targetting the input subsystem is at https://github.com/unixphere/t5400, it was rejected here: http://comments.gmane.org/gmane.linux.kernel.input/28107 v2: (thanks Hartmut Knaack) * fix MODE_HIGH, equals 2 * check INT_TIME mask in write_raw() Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Cc: Stefan Nilsson <stefan.nilsson@unixphere.com> Reviewed-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>