From: Peter Meerwald Date: Thu, 6 Feb 2014 20:44:00 +0000 (+0000) Subject: iio: Add t5403 barometric pressure sensor driver X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1942^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2d8be6823017ccdde8db8b0f4fbe6a29580dd40;p=pandora-kernel.git 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 Cc: Stefan Nilsson Reviewed-by: Hartmut Knaack Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed