<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/counter, branch v5.8</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=v5.8</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2020-06-14T13:46:52Z</updated>
<entry>
<title>counter: 104-quad-8: Add lock guards - filter clock prescaler</title>
<updated>2020-06-14T13:46:52Z</updated>
<author>
<name>Syed Nayyar Waris</name>
<email>syednwaris@gmail.com</email>
</author>
<published>2020-03-16T12:50:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d5ed76adb926a90fada98f518abc1ab6ef07d28f'/>
<id>urn:sha1:d5ed76adb926a90fada98f518abc1ab6ef07d28f</id>
<content type='text'>
Add lock protection from race conditions to the 104-quad-8 counter
driver for filter clock prescaler code changes. Mutex calls used for
protection.

Signed-off-by: Syed Nayyar Waris &lt;syednwaris@gmail.com&gt;
Fixes: de65d0556343 ("counter: 104-quad-8: Support Filter Clock Prescaler")
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>counter: 104-quad-8: Add lock guards - differential encoder</title>
<updated>2020-06-14T13:44:32Z</updated>
<author>
<name>Syed Nayyar Waris</name>
<email>syednwaris@gmail.com</email>
</author>
<published>2020-03-16T12:50:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=708d98932893cea609386cefdfd190f757f5a61c'/>
<id>urn:sha1:708d98932893cea609386cefdfd190f757f5a61c</id>
<content type='text'>
Add lock protection from race conditions to 104-quad-8 counter driver
for differential encoder status code changes. Mutex lock calls used for
protection.

Signed-off-by: Syed Nayyar Waris &lt;syednwaris@gmail.com&gt;
Fixes: 954ab5cc5f3e ("counter: 104-quad-8: Support Differential Encoder Cable Status")
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>counter: 104-quad-8: Add lock guards - generic interface</title>
<updated>2020-04-19T16:50:00Z</updated>
<author>
<name>Syed Nayyar Waris</name>
<email>syednwaris@gmail.com</email>
</author>
<published>2020-03-16T12:49:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fc069262261c43ed11d639dadcf982e79bfe652b'/>
<id>urn:sha1:fc069262261c43ed11d639dadcf982e79bfe652b</id>
<content type='text'>
Add lock protection from race conditions to 104-quad-8 counter driver
generic interface code changes. Mutex calls used for protection.

Fixes: f1d8a071d45b ("counter: 104-quad-8: Add Generic Counter interface support")

Signed-off-by: Syed Nayyar Waris &lt;syednwaris@gmail.com&gt;
Signed-off-by: William Breathitt Gray &lt;vilhelm.gray@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>counter: 104-quad-8: Support Differential Encoder Cable Status</title>
<updated>2020-03-08T17:28:53Z</updated>
<author>
<name>William Breathitt Gray</name>
<email>vilhelm.gray@gmail.com</email>
</author>
<published>2020-03-01T22:07:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=954ab5cc5f3e0bc764df81a13f065936a85e2084'/>
<id>urn:sha1:954ab5cc5f3e0bc764df81a13f065936a85e2084</id>
<content type='text'>
The ACCES 104-QUAD-8 series provides status information about the
connection state of the differential encoder cable inputs. This patch
implements support to expose such information from these devices.

Signed-off-by: William Breathitt Gray &lt;vilhelm.gray@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>counter: 104-quad-8: Support Filter Clock Prescaler</title>
<updated>2020-03-08T17:28:52Z</updated>
<author>
<name>William Breathitt Gray</name>
<email>vilhelm.gray@gmail.com</email>
</author>
<published>2020-02-22T16:49:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=de65d0556343132222a9f48417c2bad82e3a7503'/>
<id>urn:sha1:de65d0556343132222a9f48417c2bad82e3a7503</id>
<content type='text'>
The ACCES 104-QUAD-8 series does active filtering on the quadrature
input signals via the PC/104 bus clock (OSC 14.318 MHz). This patch
exposes the filter clock prescaler available on each channel.

Signed-off-by: William Breathitt Gray &lt;vilhelm.gray@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>counter: stm32-timer-cnt: remove iio headers</title>
<updated>2020-02-21T10:02:15Z</updated>
<author>
<name>Fabrice Gasnier</name>
<email>fabrice.gasnier@st.com</email>
</author>
<published>2020-02-11T10:56:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=15e8573d3b3f7f60b8b4e2c58e5bfc0413c9a89d'/>
<id>urn:sha1:15e8573d3b3f7f60b8b4e2c58e5bfc0413c9a89d</id>
<content type='text'>
The stm32-timer-cnt driver doesn't use the iio interface. The iio headers
aren't relevant and can be removed as reported by William in [1].
With this change, mod_devicetable.h needs to be added to define the
'of_device_id' struct.

[1] https://lkml.org/lkml/2020/2/10/1516

Reported-by: William Breathitt Gray &lt;vilhelm.gray@gmail.com&gt;
Signed-off-by: Fabrice Gasnier &lt;fabrice.gasnier@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>counter: stm32-timer-cnt: add power management support</title>
<updated>2020-02-21T10:02:15Z</updated>
<author>
<name>Fabrice Gasnier</name>
<email>fabrice.gasnier@st.com</email>
</author>
<published>2020-02-10T17:19:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c5b8425514da595763850ae2f3ef78ababe4be80'/>
<id>urn:sha1:c5b8425514da595763850ae2f3ef78ababe4be80</id>
<content type='text'>
Add suspend/resume PM sleep ops. When going to low power, enforce the
counter isn't active. Gracefully restore its state upon resume in case
it's been left enabled prior to suspend.

Acked-by: William Breathitt Gray &lt;vilhelm.gray@gmail.com&gt;
Signed-off-by: Fabrice Gasnier &lt;fabrice.gasnier@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>counter: Simplify the count_read and count_write callbacks</title>
<updated>2019-10-18T18:47:27Z</updated>
<author>
<name>William Breathitt Gray</name>
<email>vilhelm.gray@gmail.com</email>
</author>
<published>2019-10-06T20:03:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d49e6ee2d6c2b654c5eeb9aa1c4986cd1bec2582'/>
<id>urn:sha1:d49e6ee2d6c2b654c5eeb9aa1c4986cd1bec2582</id>
<content type='text'>
The count_read and count_write callbacks are simplified to pass val as
unsigned long rather than as an opaque data structure. The opaque
counter_count_read_value and counter_count_write_value structures,
counter_count_value_type enum, and relevant counter_count_read_value_set
and counter_count_write_value_get functions, are removed as they are no
longer used.

Cc: Patrick Havelange &lt;patrick.havelange@essensium.com&gt;
Acked-by: Fabrice Gasnier &lt;fabrice.gasnier@st.com&gt;
Acked-by: David Lechner &lt;david@lechnology.com&gt;
Signed-off-by: William Breathitt Gray &lt;vilhelm.gray@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ib-ti-eqep-5.4-rc1' into togreg</title>
<updated>2019-10-17T21:08:43Z</updated>
<author>
<name>Jonathan Cameron</name>
<email>Jonathan.Cameron@huawei.com</email>
</author>
<published>2019-10-17T21:08:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=686191a7ea136b3c06caf57a2ac450bbadc4cc7c'/>
<id>urn:sha1:686191a7ea136b3c06caf57a2ac450bbadc4cc7c</id>
<content type='text'>
Immutable branch being merged in.  Created as this also involves
moving some dependencies around, outside of the counter subsystem.
It's possible it will want to be pulled into other trees.
</content>
</entry>
<entry>
<title>counter: new TI eQEP driver</title>
<updated>2019-10-17T20:53:49Z</updated>
<author>
<name>David Lechner</name>
<email>david@lechnology.com</email>
</author>
<published>2019-09-01T22:58:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f213729f679619e70669c2b440886929595d26e5'/>
<id>urn:sha1:f213729f679619e70669c2b440886929595d26e5</id>
<content type='text'>
This adds a new counter driver for the Texas Instruments Enhanced
Quadrature Encoder Pulse (eQEP) module.

Only very basic functionality is currently implemented - only enough to
be able to read the position. The actual device has many more features
which can be added to the driver on an as-needed basis.

It is not possible to read the QEPA/B signal values in hardware, so
that feature is omitted.

The TI_PWMSS kernel option is selected in Kconfig to enable the parent
bus, which is needed for power management.

Signed-off-by: David Lechner &lt;david@lechnology.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
</feed>
