linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] staging:iio:ad2s1210: Rework read/write operation for fclkin and fexin
@ 2018-03-12 18:21 Rodrigo Siqueira
  2018-03-12 18:21 ` [PATCH 1/3] staging:iio:ad2s1210: Add channel for fclkin and fexcit Rodrigo Siqueira
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Rodrigo Siqueira @ 2018-03-12 18:21 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	Hartmut Knaack, Peter Meerwald-Stadler, Greg Kroah-Hartman,
	Graff Yang
  Cc: daniel.baluta, linux-iio, devel, linux-kernel

This patchset changes the way that frequency of clock input (fclkin) and
the excitation frequency (fexcit) are exposed to the userspace. The
original code uses the IIO_DEVICE_ATTR to export the configuration of
fclkin and fexcit to the userspace which is not in agreement with the
current ABI. This patchset adds one channel per clock configuration,
updating the read_raw function by adding a handler for the new channels,
and introduces the write_raw function.  Furthermore, this patchset
removes the legacy code responsible for the read and write operation
related to fclkin and fexcit. Finally, this patchset uses parts of the
original code for handling frequency configuration as an attempt to
avoid problems.


Rodrigo Siqueira (3):
  staging:iio:ad2s1210: Add channel for fclkin and fexcit
  staging:iio:ad2s1210: Add frequency handler in read_raw
  staging:iio:ad2s1210: Add write_raw to handle frequency

 drivers/staging/iio/resolver/ad2s1210.c | 201 ++++++++++++++++----------------
 1 file changed, 102 insertions(+), 99 deletions(-)

-- 
2.16.2

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

end of thread, other threads:[~2018-03-13 14:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 18:21 [PATCH 0/3] staging:iio:ad2s1210: Rework read/write operation for fclkin and fexin Rodrigo Siqueira
2018-03-12 18:21 ` [PATCH 1/3] staging:iio:ad2s1210: Add channel for fclkin and fexcit Rodrigo Siqueira
2018-03-12 18:21 ` [PATCH 2/3] staging:iio:ad2s1210: Add frequency handler in read_raw Rodrigo Siqueira
2018-03-12 18:21 ` [PATCH 3/3] staging:iio:ad2s1210: Add write_raw to handle frequency Rodrigo Siqueira
2018-03-13  9:02   ` Dan Carpenter
2018-03-13 13:06     ` Rodrigo Siqueira
2018-03-13 13:59       ` Dan Carpenter
2018-03-13 14:33         ` Rodrigo Siqueira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).