Re: [RFC] iio: accel: st_accel: Add lis3l02dq support

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

 



On Sun, May 22, 2016 at 9:39 PM, Jonathan Cameron <jic23@xxxxxxxxxx> wrote:

> Time to finally kill off the venerable (it was one of my first drivers)
> lis3l02dq driver in favour of adding support in the st sensors framework.
>
> This does loose us the event support that driver always had, but I think
> that will reappear at some point and in the meantime the maintenance
> advantages of dropping the 'special' driver for this one part outweigh
> the issues.

Which events? Free-fall?

> It's worth noting this part is ancient and I may well be the only person
> who still has any on hardware running recent kernels.

What I learnt from my years in the kernel is that there is always
a bunch of silent users, also it has this nice feeling of completing
the ST sensor suite.

> It has a few 'quirks'.
>  - No WAI register so that just became optional.

Makes sense.

>  - It's too quick.  Even at slowest rate (280Hz) I can't read out fast
>    enough on my board (stargate 2) to beat new data coming in. Linus'
>    repeat read patch doesn't help in this case. It just means I get 10
>    readings before dying... So in reality this will get used with
>    software triggers only unless someone has this long out of production
>    device on a quick board.

What is the speed of the I2C bus on this system?
If it's running on the lowest speed 100kHz that may very
well be the cause of the problem, so check if it supports
high speed (400kHz) I2C.

The patch as such looks good.

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij
--
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