<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/iio/trigger, branch v4.9</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-06-03T12:18:44Z</updated>
<entry>
<title>iio:trigger: Experimental kthread tight loop trigger (thread only)</title>
<updated>2016-06-03T12:18:44Z</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2016-03-06T20:02:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bc2e1126eccb47517b9d1c685020c38600f99a3d'/>
<id>urn:sha1:bc2e1126eccb47517b9d1c685020c38600f99a3d</id>
<content type='text'>
This patch is in response to that of
Gregor Boirie &lt;gregor.boirie@parrot.com&gt;
who proposed using a tight kthread within a device driver (be it with the
support factored out into a helper library) in order to basically spin as
fast as possible.

It is meant as a talking point rather than a formal proposal of the code
(though we are heading towards that I think).
Also gives people some working code to mess around with.

I proposed that this could be done with a trigger with a few constraints
and this is the proof (be it ugly) of that.

There are some constraints though, some of which we would want to relax
if this were to move forward.

* Will only run the thread part of the registered pollfunc.  This is to
  avoid the overhead of jumping in and out of interrupt context.  Is the
  overhead significant?  Not certain but feels like it should be!

* This limitation precludes any device that 'must' do some work in
  interrupt context.  However, that is true of few if any drivers and
  I suspect that any that do will be restricted to using triggers they
  provide themselves.  Usually we have a top half mainly to grab a
  timestamp as soon after the dataready type signal as possible.

Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Acked-by: Daniel Baluta &lt;daniel.baluta@intel.com&gt;
</content>
</entry>
<entry>
<title>iio: trigger: Introduce IIO hrtimer based trigger</title>
<updated>2015-12-03T18:19:27Z</updated>
<author>
<name>Daniel Baluta</name>
<email>daniel.baluta@intel.com</email>
</author>
<published>2015-11-09T07:14:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ac5006a2a558a2441a840c7be1e0e717839d5e07'/>
<id>urn:sha1:ac5006a2a558a2441a840c7be1e0e717839d5e07</id>
<content type='text'>
This patch registers a new IIO software trigger interrupt source
based on high resolution timers.

Notice that if configfs is enabled we create sampling_frequency
attribute allowing users to change hrtimer period (1/sampling_frequency).

The IIO hrtimer trigger has a long history, this patch is based on
an older version from Marten and Lars-Peter.

Signed-off-by: Marten Svanfeldt &lt;marten@intuitiveaerial.com&gt;
Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Daniel Baluta &lt;daniel.baluta@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: trigger: Add a blank line after declarations</title>
<updated>2014-12-26T12:15:36Z</updated>
<author>
<name>Roberta Dobrescu</name>
<email>roberta.dobrescu@gmail.com</email>
</author>
<published>2014-12-16T09:16:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=450a5ff768b008817d7914e3d2db16400e571dff'/>
<id>urn:sha1:450a5ff768b008817d7914e3d2db16400e571dff</id>
<content type='text'>
This patch fixes the following checkpatch.pl warning:
WARNING: Missing a blank line after declarations

Signed-off-by: Roberta Dobrescu &lt;roberta.dobrescu@gmail.com&gt;
Reviewed-by: Daniel Baluta &lt;daniel.baluta@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: remove .owner field for driver using module_platform_driver</title>
<updated>2014-08-26T20:08:38Z</updated>
<author>
<name>Sanjeev Sharma</name>
<email>sanjeev_sharma@mentor.com</email>
</author>
<published>2014-08-20T09:32:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=81816affeacfa360bfefabba774774e95f3dcc12'/>
<id>urn:sha1:81816affeacfa360bfefabba774774e95f3dcc12</id>
<content type='text'>
This patch removes the .owner field for drivers which use the
platform_driver_register api because this is overriden in
_platform_driver_register.

Signed-off-by: Sanjeev Sharma &lt;Sanjeev_Sharma@mentor.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: Remove timestamp argument from iio_trigger_poll() and iio_trigger_poll_chained()</title>
<updated>2014-06-14T15:25:59Z</updated>
<author>
<name>Peter Meerwald</name>
<email>pmeerw@pmeerw.net</email>
</author>
<published>2014-12-06T06:46:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=398fd22b6b94cb15c1c299bceecd63644a1b17b4'/>
<id>urn:sha1:398fd22b6b94cb15c1c299bceecd63644a1b17b4</id>
<content type='text'>
argument has been ignored; adjust drivers accordingly

Signed-off-by: Peter Meerwald &lt;pmeerw@pmeerw.net&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:trigger: fix sysfs name on list mutex</title>
<updated>2013-09-28T10:51:16Z</updated>
<author>
<name>Denis CIOCCA</name>
<email>denis.ciocca@st.com</email>
</author>
<published>2013-09-23T10:49:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=10a485c55ae8d313194afc7a8c65df3ac7c048a1'/>
<id>urn:sha1:10a485c55ae8d313194afc7a8c65df3ac7c048a1</id>
<content type='text'>
Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: Add a comment to about alphabetical order to Kconfigs and Makefiles</title>
<updated>2013-08-03T17:40:36Z</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2013-07-15T07:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3edc84e6054616b87a3d155fe65fa51f2eae82aa'/>
<id>urn:sha1:3edc84e6054616b87a3d155fe65fa51f2eae82aa</id>
<content type='text'>
Keeping Makefile and Kconfig entries in alphabetical order usually works better
than just appending new entries at the end, since it reduces the amount of
conflicts. This patch adds a comment to the IIO Kconfig and Makefile files to
document that the entries should be kept in alphabetical order.

Also reorder those  entries which weren't in alphabetical order yet.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: fix Kconfig typos</title>
<updated>2013-08-03T17:40:29Z</updated>
<author>
<name>Peter Meerwald</name>
<email>pmeerw@pmeerw.net</email>
</author>
<published>2013-06-23T21:28:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=93232cd56433c7495084b103b989c6ae7bdb203e'/>
<id>urn:sha1:93232cd56433c7495084b103b989c6ae7bdb203e</id>
<content type='text'>
Signed-off-by: Peter Meerwald &lt;pmeerw@pmeerw.net&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:trigger:interrupt fix formatting of rsize variable in name</title>
<updated>2013-06-08T09:00:58Z</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2013-06-06T18:27:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=78f304d06c47d600ec1a4b0995f1f4c5667a677e'/>
<id>urn:sha1:78f304d06c47d600ec1a4b0995f1f4c5667a677e</id>
<content type='text'>
The name includes irq_res-&gt;start which of type resource_size_t not integer.
We could in theory use %pa for this but then it would be in hex and also
that causes a warning about incorrect types anyway.  Hence just
use the irq local variable we assigned the line above.

Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:triggers:interrupt trigger - move out of staging.</title>
<updated>2013-06-04T17:33:19Z</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2013-06-02T19:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c7a8be08da50eb5e30eaa6555079c10b8e23521a'/>
<id>urn:sha1:c7a8be08da50eb5e30eaa6555079c10b8e23521a</id>
<content type='text'>
This is now a very simple trigger indeed but useful in many common cases.

Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Reviewed-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
</content>
</entry>
</feed>
