From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout01.posteo.de ([185.67.36.65]:46268 "EHLO mout01.posteo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752446AbbJSM6B (ORCPT ); Mon, 19 Oct 2015 08:58:01 -0400 Received: from dovecot03.posteo.de (dovecot03.posteo.de [172.16.0.13]) by mout01.posteo.de (Postfix) with ESMTPS id 32F9E20992 for ; Mon, 19 Oct 2015 14:57:57 +0200 (CEST) Message-ID: <5624E878.1020200@posteo.de> Date: Mon, 19 Oct 2015 14:56:24 +0200 From: Martin Kepplinger MIME-Version: 1.0 To: Joachim Eastwood CC: jic23@kernel.org, knaack.h@gmx.de, Lars-Peter Clausen , Peter Meerwald , linux-iio@vger.kernel.org Subject: Re: [PATCH] iio: accel: add Freescale MMA7455L 3-axis accelerometer driver References: <1445120719-29685-1-git-send-email-manabian@gmail.com> <5624CFA7.1030603@posteo.de> In-Reply-To: Content-Type: text/plain; charset=utf-8 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org Am 2015-10-19 um 14:34 schrieb Joachim Eastwood: > Hi Martin, > > On 19 October 2015 at 13:10, Martin Kepplinger wrote: >> Am 2015-10-18 um 00:25 schrieb Joachim Eastwood: >>> Add support for Freescale MMA7455L 3-axis in 10-bit mode with both >>> I2C and SPI bus support. This is a rather simple driver that >>> currently doesn't support all the hardware features of MMA7455L. >>> >>> Tested on Embedded Artists' LPC4357 Dev Kit using I2C bus. >>> >>> Signed-off-by: Joachim Eastwood >>> --- >> >> Think about adding support for MMA7456L as well. What's the difference >> between the two, except for the ID? > > I think the driver should work with MMA7456L as well. > I have tried to figure out the difference between the two devices, but > the Freescale doesn't list them. One another annoying thing is that > the ID isn't actually stated in the data sheet (!). So for MMA7456L I > would guess it is 0x56, but there is no way to be sure. > You're right, that's messy. I asked freescale about it and we'll see if/when there's an answer. thanks martin