Re: [PATCH] iio: accel: add Freescale MMA7455L 3-axis accelerometer driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 2015-10-19 um 15:43 schrieb Joachim Eastwood:
> On 19 October 2015 at 14:56, Martin Kepplinger <martink@xxxxxxxxx> wrote:
>> Am 2015-10-19 um 14:34 schrieb Joachim Eastwood:
>>> Hi Martin,
>>>
>>> On 19 October 2015 at 13:10, Martin Kepplinger <martink@xxxxxxxxx> 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 <manabian@xxxxxxxxx>
>>>>> ---
>>>>
>>>> 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.
> 
> ah, nice. Thanks for taking the time to doing that.
> 

MMA7456L's WHO_AM_I value should also be 0x55, see
https://community.freescale.com/thread/378035

You could think about renaming the driver to mma745xl which is this
"series".

At least you can add MMA7456L to your Kconfig and all your docs.

                        martin

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux