<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/Documentation/admin-guide/gpio, branch v6.18.21</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.18.21</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.18.21'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2025-07-09T14:48:49+00:00</updated>
<entry>
<title>gpio: sim: allow to mark simulated lines as invalid</title>
<updated>2025-07-09T14:48:49+00:00</updated>
<author>
<name>Bartosz Golaszewski</name>
<email>bartosz.golaszewski@linaro.org</email>
</author>
<published>2025-06-30T13:03:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0cf6d425d39cfc1b676fbf9dea36ecd68eeb27ee'/>
<id>urn:sha1:0cf6d425d39cfc1b676fbf9dea36ecd68eeb27ee</id>
<content type='text'>
Add a new line-level, boolean property to the gpio-sim configfs
interface called 'valid'. It's set by default and the user can unset it
to make the line be included in the standard `gpio-reserved-ranges`
property when the chip is registered with GPIO core. This allows users
to specify which lines should not be available for requesting as GPIOs.

Link: https://lore.kernel.org/r/20250630130358.40352-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
<entry>
<title>Documentation: gpio: document configfs interface for gpio-aggregator</title>
<updated>2025-04-09T14:57:29+00:00</updated>
<author>
<name>Koichiro Den</name>
<email>koichiro.den@canonical.com</email>
</author>
<published>2025-04-07T04:30:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=10f94d092bba9ab08004c624c604e976e6e3cd22'/>
<id>urn:sha1:10f94d092bba9ab08004c624c604e976e6e3cd22</id>
<content type='text'>
Add documentation for the newly added configfs-based interface for GPIO
aggregator.

Signed-off-by: Koichiro Den &lt;koichiro.den@canonical.com&gt;
Link: https://lore.kernel.org/r/20250407043019.4105613-9-koichiro.den@canonical.com
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
<entry>
<title>Fix typos in admin-guide/gpio</title>
<updated>2025-02-21T20:27:44+00:00</updated>
<author>
<name>Maksimilijan Marosevic</name>
<email>maksimilijan.marosevic@proton.me</email>
</author>
<published>2025-02-18T19:39:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4dd4eef60f8e21db2f1489cbbcba343283212823'/>
<id>urn:sha1:4dd4eef60f8e21db2f1489cbbcba343283212823</id>
<content type='text'>
Fixing typos.

Signed-off-by: Maksimilijan Marosevic &lt;maksimilijan.marosevic@proton.me&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Link: https://lore.kernel.org/r/20250218193822.1031-1-maksimilijan.marosevic@proton.me
</content>
</entry>
<entry>
<title>gpio: virtuser: new virtual testing driver for the GPIO API</title>
<updated>2024-07-09T07:39:54+00:00</updated>
<author>
<name>Bartosz Golaszewski</name>
<email>bartosz.golaszewski@linaro.org</email>
</author>
<published>2024-07-08T14:29:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=91581c4b3f29e2e22aeb1a62e842d529ca638b2d'/>
<id>urn:sha1:91581c4b3f29e2e22aeb1a62e842d529ca638b2d</id>
<content type='text'>
The GPIO subsystem used to have a serious problem with undefined behavior
and use-after-free bugs on hot-unplug of GPIO chips. This can be
considered a corner-case by some as most GPIO controllers are enabled
early in the boot process and live until the system goes down but most
GPIO drivers do allow unbind over sysfs, many are loadable modules that
can be (force) unloaded and there are also GPIO devices that can be
dynamically detached, for instance CP2112 which is a USB GPIO expender.

Bugs can be triggered both from user-space as well as by in-kernel users.
We have the means of testing it from user-space via the character device
but the issues manifest themselves differently in the kernel.

This is a proposition of adding a new virtual driver - a configurable
GPIO consumer that can be configured over configfs (similarly to
gpio-sim) or described on the device-tree.

This driver is aimed as a helper in spotting any regressions in
hot-unplug handling in GPIOLIB.

Link: https://lore.kernel.org/r/20240708142912.120570-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
<entry>
<title>Documentation: gpio: move gpio-mockup into obsolete section</title>
<updated>2024-01-22T09:49:07+00:00</updated>
<author>
<name>Kent Gibson</name>
<email>warthog618@gmail.com</email>
</author>
<published>2024-01-15T00:48:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c055f7ed9744a5bae69a592eca84e22837736b92'/>
<id>urn:sha1:c055f7ed9744a5bae69a592eca84e22837736b92</id>
<content type='text'>
The gpio-mockup has been obsoleted by the gpio-sim, so relocate its
documentation into the obsolete section of the admin-guide book.

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: document gpio-mockup as obsoleted by gpio-sim</title>
<updated>2024-01-22T09:49:07+00:00</updated>
<author>
<name>Kent Gibson</name>
<email>warthog618@gmail.com</email>
</author>
<published>2024-01-15T00:48:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c3d336cae79728f8ed6711c5a6179cdc66802e89'/>
<id>urn:sha1:c3d336cae79728f8ed6711c5a6179cdc66802e89</id>
<content type='text'>
Update the gpio-mockup documentation to note that is has been
obsoleted by the gpio-sim.

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: capitalize GPIO in index title</title>
<updated>2024-01-22T09:49:07+00:00</updated>
<author>
<name>Kent Gibson</name>
<email>warthog618@gmail.com</email>
</author>
<published>2024-01-15T00:48:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f1ccbe9aaea6488c4ef71f8f51ac2a620993acde'/>
<id>urn:sha1:f1ccbe9aaea6488c4ef71f8f51ac2a620993acde</id>
<content type='text'>
Capitalise the title of the GPIO documentation page to match other
subsystems.

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: add chardev v1 userspace API documentation</title>
<updated>2024-01-22T09:49:07+00:00</updated>
<author>
<name>Kent Gibson</name>
<email>warthog618@gmail.com</email>
</author>
<published>2024-01-15T00:48:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=16b2bb7fe5e4a0757608e844902fdf05617f51f8'/>
<id>urn:sha1:16b2bb7fe5e4a0757608e844902fdf05617f51f8</id>
<content type='text'>
Add documentation for v1 of the GPIO character device userspace API
to the obsolete section of 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>
<entry>
<title>Documentation: gpio: move sysfs into an obsolete section</title>
<updated>2024-01-22T09:49:06+00:00</updated>
<author>
<name>Kent Gibson</name>
<email>warthog618@gmail.com</email>
</author>
<published>2024-01-15T00:48:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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>
<entry>
<title>Documentation: gpio: add chardev userspace API documentation</title>
<updated>2024-01-22T09:47:14+00:00</updated>
<author>
<name>Kent Gibson</name>
<email>warthog618@gmail.com</email>
</author>
<published>2024-01-15T00:48:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=32a0a0da530eab78d755474270bf53274b93a1e6'/>
<id>urn:sha1:32a0a0da530eab78d755474270bf53274b93a1e6</id>
<content type='text'>
Add documentation for the GPIO character device userspace API.

Added to the userspace-api book, but also provide a link from the
admin-guide book, as historically the GPIO documentation has been
there.

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