<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/Documentation/userspace-api/gpio/sysfs.rst, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2024-06-10T07:37:52Z</updated>
<entry>
<title>docs: gpio: prefer pread(2) for interrupt reading</title>
<updated>2024-06-10T07:37:52Z</updated>
<author>
<name>Huichun Feng</name>
<email>foxhoundsk.tw@gmail.com</email>
</author>
<published>2024-06-09T17:37:28Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=7f1e45f4ae7671550e15354ef87194bccd99ecec'/>
<id>urn:sha1:7f1e45f4ae7671550e15354ef87194bccd99ecec</id>
<content type='text'>
In legacy sysfs GPIO, when using poll(2) on the sysfs GPIO value for
state change awaiting, a subsequent read(2) is required for consuming
the event, which the doc recommends the use of lseek(2) or
close-and-reopen to reset the file offset afterwards.

The recommendations however, require at least 2 syscalls to consume
the event. Gladly, use of pread(2) require only 1 syscall for the
consumption. Let's advertise this usage by prioritizing its placement.

Signed-off-by: Huichun Feng &lt;foxhoundsk.tw@gmail.com&gt;
Link: https://lore.kernel.org/r/20240609173728.2950808-1-foxhoundsk.tw@gmail.com
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
<entry>
<title>Documentation: gpio: clarify sysfs line values are logical</title>
<updated>2024-02-14T09:28:48Z</updated>
<author>
<name>Kent Gibson</name>
<email>warthog618@gmail.com</email>
</author>
<published>2024-02-12T09:34:20Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9e69d6d84e3841df073601440774a2221781fc1e'/>
<id>urn:sha1:9e69d6d84e3841df073601440774a2221781fc1e</id>
<content type='text'>
Clarify that line values are logical, not physical, by replacing high/low
terminology with active/inactive.

Signed-off-by: Kent Gibson &lt;warthog618@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;amdy.shevchenko@gmail.com&gt;
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
<entry>
<title>Documentation: gpio: update sysfs documentation to reference new chardev doc</title>
<updated>2024-01-22T09:49:07Z</updated>
<author>
<name>Kent Gibson</name>
<email>warthog618@gmail.com</email>
</author>
<published>2024-01-15T00:48:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e10b641753837e267462b64f8cb395ab1e625027'/>
<id>urn:sha1:e10b641753837e267462b64f8cb395ab1e625027</id>
<content type='text'>
Update GPIO sysfs interface documentation to reference the new
chardev document rather than gpio.h.

Signed-off-by: Kent Gibson &lt;warthog618@gmail.com&gt;
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
<entry>
<title>Documentation: gpio: move sysfs into an obsolete section</title>
<updated>2024-01-22T09:49:06Z</updated>
<author>
<name>Kent Gibson</name>
<email>warthog618@gmail.com</email>
</author>
<published>2024-01-15T00:48:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5054626a9b801ff17aafa298d2d8f6a23ca84298'/>
<id>urn:sha1:5054626a9b801ff17aafa298d2d8f6a23ca84298</id>
<content type='text'>
The GPIO sysfs API is long obsolete, so highlight this even further
by moving it into an obsolete APIs section in both the admin-guide
and userspace-api books.

Signed-off-by: Kent Gibson &lt;warthog618@gmail.com&gt;
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
</feed>
