From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v2] iio: accel: Add driver for the MiraMEMS DA280 3-axis 14-bit digital accelerometer Date: Mon, 10 Oct 2016 16:44:04 -0500 Message-ID: <20161010214404.GA16737@rob-hp-laptop> References: <20161008181527.6646-1-hdegoede@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20161008181527.6646-1-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: linux-iio-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Hans de Goede Cc: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree List-Id: devicetree@vger.kernel.org On Sat, Oct 08, 2016 at 08:15:27PM +0200, Hans de Goede wrote: > Add an iio driver for the MiraMEMS DA280 3-axis 14-bit accelerometer, as > well as for the DA226 which is a fully compatible 2-axis version. > > Datasheets for the DA280 and DA226 can be found at the manufacturers site: > http://www.miramems.com/en/products.asp?list=1 > > Signed-off-by: Hans de Goede > --- > Changes in v2: > -Drop le16_to_cpu, i2c_smbus_read_word_data() already does this > --- > .../devicetree/bindings/i2c/trivial-devices.txt | 2 + Acked-by: Rob Herring > drivers/iio/accel/Kconfig | 10 ++ > drivers/iio/accel/Makefile | 1 + > drivers/iio/accel/da280.c | 183 +++++++++++++++++++++ > 4 files changed, 196 insertions(+) > create mode 100644 drivers/iio/accel/da280.c