From a2d8be6823017ccdde8db8b0f4fbe6a29580dd40 Mon Sep 17 00:00:00 2001 From: Peter Meerwald Date: Thu, 6 Feb 2014 20:44:00 +0000 Subject: [PATCH] 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-format-patch failed