All of lore.kernel.org
 help / color / mirror / Atom feed
* Work plan to move AD2S1210 out of staging
@ 2018-03-09  0:52 Rodrigo Siqueira
  2018-03-09  8:04 ` Daniel Baluta
  0 siblings, 1 reply; 3+ messages in thread
From: Rodrigo Siqueira @ 2018-03-09  0:52 UTC (permalink / raw)
  To: linux-iio, daniel.baluta, graff.yang, davidjulianveenstra

Hi,

Today I looked at the AD2S1210 code and datasheet. As a result, I present here
the following work plan for discussion:

0) Checkpach free

There are just two 'CHECKs' in this module. Fix it is easy.

1) Update the channels definition

After a first read of the datasheet, I believe the AD2S1210 need an update to
the iio_chan_spec already defined and also requires another channel for
velocity. I am not 100% sure, but I also think that other channels have to be
defined because of this chip has many features (absolute position and velocity,
system fault detect, programmable sinusoidal, etc.); however, I prefer to keep
things simple now.

2) Events for handling error detections

The AD2S1210 provide many fault detection thresholds. The chip triggers some
faults, and I believe the AD2S1210 module can handle it with events interface.
If I am right, I to start by adding LOS  handler.

3) Use IIO ABI

>From what I understood from the documentation, I believe the write using sysfs
interface is not right. The AD2S1210 module should use iio_info for this tasks
(even for read). If I am right, I want to fix it.

Is my work plan to move AD2S1210 out of staging make sense?

Finally, I want to work on AD2S1210, but David Veenstra has priority on
this task because he already expressed his interest in working on
AD2S1210 and AD2S1200.  I proposed to him that we divided this task in
two: I work in the  AD2S1210 and him in the AD2S1200.

Best regards,
Siqueira

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-10 16:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-09  0:52 Work plan to move AD2S1210 out of staging Rodrigo Siqueira
2018-03-09  8:04 ` Daniel Baluta
2018-03-10 16:35   ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.