Re: [PATCH try #4] Input/Joystick Driver: add support AD7142 joystick driver

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jean Delvare <khali@...>
Cc: <bryan.wu@...>, Andrey Panin <pazke@...>, Roel Kluin <12o3l@...>, Ahmed S. Darwish <darwish.07@...>, Dmitry Torokhov <dmitry.torokhov@...>, <linux-input@...>, <linux-joystick@...>, <linux-kernel@...>, <akpm@...>
Date: Wednesday, October 17, 2007 - 3:14 pm

On Wed 17 Oct 2007 10:07, Jean Delvare pondered:


I assume that in order to do things "right", all possible addresses should be 
probed (for this part, that is 0x2C, 0x2D, 0x2E, 0x2F)?

And it should read a device ID (register 0x17 == 0xE62n (where n==rev number))

How many values/registers do you need to read before you say "this is the 
one"? rather than a temp sensor with a similar value somewhere. Is there a 
table anywhere that maps this out?

It is pretty difficult just to probe on reset values, since that disallows 
warm resets. This part - like most other I2C parts, has no external reset, 
only software reset.


The hope is that others can use it - it shouldn't be specific to Blackfin.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH try #4] Input/Joystick Driver: add support AD7142..., Robin Getz, (Wed Oct 17, 3:14 pm)