[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1520878492.git.rodrigosiqueiramelo@gmail.com>
Date: Mon, 12 Mar 2018 15:21:01 -0300
From: Rodrigo Siqueira <rodrigosiqueiramelo@...il.com>
To: Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Jonathan Cameron <jic23@...nel.org>,
Hartmut Knaack <knaack.h@....de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Graff Yang <graff.yang@...il.com>
Cc: daniel.baluta@....com, linux-iio@...r.kernel.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] staging:iio:ad2s1210: Rework read/write operation for
fclkin and fexin
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
Powered by blists - more mailing lists