<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpio/Kconfig, branch linux-6.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-09-02T09:29:43Z</updated>
<entry>
<title>gpio: fix GPIO submenu in Kconfig</title>
<updated>2025-09-02T09:29:43Z</updated>
<author>
<name>Bartosz Golaszewski</name>
</author>
<published>2025-09-01T12:55:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef9f21c3f370bcd45688a3a573b788e39b364e80'/>
<id>urn:sha1:ef9f21c3f370bcd45688a3a573b788e39b364e80</id>
<content type='text'>
Commit a86240a37d43 ("gpiolib: enable CONFIG_GPIOLIB_LEGACY even for
!GPIOLIB") accidentally pulled all items from within the GPIOLIB submenu
into the main driver menu. Put them back under the top-level GPIO entry.

Suggested-by: Rob Herring &lt;robh@kernel.org&gt;
Fixes: a86240a37d43 ("gpiolib: enable CONFIG_GPIOLIB_LEGACY even for !GPIOLIB")
Reported-by: Rob Herring &lt;robh@kernel.org&gt;
Closes: https://lore.kernel.org/all/20250813222649.GA965895-robh@kernel.org/
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Link: https://lore.kernel.org/r/20250901125513.108691-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
<entry>
<title>gpiolib: enable CONFIG_GPIOLIB_LEGACY even for !GPIOLIB</title>
<updated>2025-07-27T08:27:04Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2025-07-26T21:10:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a86240a37d43fc22b4e4953242fca8d90df2c555'/>
<id>urn:sha1:a86240a37d43fc22b4e4953242fca8d90df2c555</id>
<content type='text'>
A few drivers that use the legacy GPIOLIB interfaces can be enabled
even when GPIOLIB is disabled entirely. With my previous patch this
now causes build failures like:

   drivers/nfc/s3fwrn5/uart.c: In function 's3fwrn82_uart_parse_dt':
        drivers/nfc/s3fwrn5/uart.c:100:14: error: implicit declaration of function 'gpio_is_valid'; did you mean 'uuid_is_valid'? [-Werror=implicit-function-declaration]

These did not show up in my randconfig tests because randconfig almost
always has GPIOLIB selected by some other driver, and I did most
of the testing with follow-up patches that address the failures
properly.

Move the symbol outside of the 'if CONFIG_GPIOLIB' block for the moment
to avoid the build failures. It can be moved back and turned off by
default once all the driver specific changes are merged.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Closes: https://lore.kernel.org/oe-kbuild-all/202507261934.yIHeUuEQ-lkp@intel.com/
Fixes: 678bae2eaa81 ("gpiolib: make legacy interfaces optional")
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Link: https://lore.kernel.org/r/20250726211053.2226857-1-arnd@kernel.org
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
<entry>
<title>gpiolib: make legacy interfaces optional</title>
<updated>2025-07-24T14:24:49Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2025-07-22T15:35:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=678bae2eaa812662929a83b3de399645e9de93ad'/>
<id>urn:sha1:678bae2eaa812662929a83b3de399645e9de93ad</id>
<content type='text'>
The traditional interfaces are only used on a small number of ancient
boards. Make these optional now so they can be disabled by default.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Reviewed-by: Alexander Sverdlin &lt;alexander.sverdlin@gmail.com&gt;
Link: https://lore.kernel.org/r/20250722153634.3683927-1-arnd@kernel.org
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'ib-mfd-gpio-power-soc-v6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd into gpio/for-next</title>
<updated>2025-07-24T11:27:21Z</updated>
<author>
<name>Bartosz Golaszewski</name>
</author>
<published>2025-07-24T11:27:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c7a86088a3eb6f874cc5c46a447787d3a193ff5'/>
<id>urn:sha1:8c7a86088a3eb6f874cc5c46a447787d3a193ff5</id>
<content type='text'>
Immutable branch between MFD, GPIO, Power and SoC due for the v6.17 merge window
</content>
</entry>
<entry>
<title>gpio: Add new gpio-macsmc driver for Apple Macs</title>
<updated>2025-07-24T08:47:33Z</updated>
<author>
<name>Hector Martin</name>
</author>
<published>2025-06-10T15:29:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b21051b0885912f5bb2cc9d4f95c6fca697da4d'/>
<id>urn:sha1:9b21051b0885912f5bb2cc9d4f95c6fca697da4d</id>
<content type='text'>
This driver implements the GPIO service on top of the SMC framework
on Apple Mac machines. In particular, these are the GPIOs present in the
PMU IC which are used to control power to certain on-board devices.

Although the underlying hardware supports various pin config settings
(input/output, open drain, etc.), this driver does not implement that
functionality and leaves it up to the firmware to configure things
properly. We also don't yet support interrupts/events. This is
sufficient for device power control, which is the only thing we need to
support at this point. More features will be implemented when needed.

To our knowledge, only Apple Silicon Macs implement this SMC feature.

Signed-off-by: Hector Martin &lt;marcan@marcan.st&gt;
Reviewed-by: Bartosz Golaszewski &lt;brgl@bgdev.pl&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Reviewed-by: Sven Peter &lt;sven@kernel.org&gt;
Signed-off-by: "Russell King (Oracle)" &lt;rmk+kernel@armlinux.org.uk&gt;
Reviewed-by: Alyssa Rosenzweig &lt;alyssa@rosenzweig.io&gt;
Reviewed-by: Neal Gompa &lt;neal@gompa.dev&gt;
Signed-off-by: Sven Peter &lt;sven@kernel.org&gt;
Acked-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
Link: https://lore.kernel.org/r/20250610-smc-6-15-v7-6-556cafd771d3@kernel.org
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
</content>
</entry>
<entry>
<title>gpio: sysfs: allow disabling the legacy parts of the GPIO sysfs interface</title>
<updated>2025-07-16T08:27:08Z</updated>
<author>
<name>Bartosz Golaszewski</name>
</author>
<published>2025-07-04T12:58:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e69c6db4cdbc149ff090f1449a114c33ba766dc8'/>
<id>urn:sha1:e69c6db4cdbc149ff090f1449a114c33ba766dc8</id>
<content type='text'>
Add a Kconfig switch allowing to disable the legacy parts of the GPIO
sysfs interface. This means that even though we keep the
/sys/class/gpio/ directory, it no longer contains the global
export/unexport attribute pair (instead, the user should use the
per-chip export/unpexport) nor the gpiochip$BASE entries. This option
default to y if GPIO sysfs is enabled but we'll default it to n at some
point in the future.

Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Link: https://lore.kernel.org/r/20250704-gpio-sysfs-chip-export-v4-9-9289d8758243@linaro.org
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
<entry>
<title>gpio: palmas: Allow building as a module</title>
<updated>2025-07-03T08:37:04Z</updated>
<author>
<name>Aaron Kling</name>
</author>
<published>2025-07-02T18:22:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cfbbf275ffcf05c82994b8787b0d1974aa1569d8'/>
<id>urn:sha1:cfbbf275ffcf05c82994b8787b0d1974aa1569d8</id>
<content type='text'>
The driver works fine as a module, so allowing building as such. This
adds an exit handler to support module unload.

Signed-off-by: Aaron Kling &lt;webgeek1234@gmail.com&gt;
Link: https://lore.kernel.org/r/20250702-gpio-palmas-gpio-v4-1-26ba48252f27@gmail.com
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
<entry>
<title>gpio: adp5585: support gpi events</title>
<updated>2025-07-01T20:50:51Z</updated>
<author>
<name>Nuno Sá</name>
</author>
<published>2025-07-01T14:32:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=988b28a83b658137e58123f4dafc3a1588e1cb2b'/>
<id>urn:sha1:988b28a83b658137e58123f4dafc3a1588e1cb2b</id>
<content type='text'>
Add support for adding GPIs to the event FIFO. This is done by adding
irq_chip support. Like this, one can use the input gpio_keys driver as a
"frontend" device and input handler.

As part of this change, we now implement .request() and .free() as we can't
blindly consume all available pins as GPIOs (example: some pins can be
used for forming a keymap matrix).

Also note that the number of pins can now be obtained from the parent,
top level device. Hence the 'max_gpio' variable can be removed.

Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
Signed-off-by: Nuno Sá &lt;nuno.sa@analog.com&gt;
Link: https://lore.kernel.org/r/20250701-dev-adp5589-fw-v7-15-b1fcfe9e9826@analog.com
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
</content>
</entry>
<entry>
<title>gpio: timberdale: select GPIOLIB_IRQCHIP</title>
<updated>2025-05-22T08:00:08Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2025-05-22T07:11:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b8ef309093ff196967a21ee51a9cdb404a13bf6'/>
<id>urn:sha1:8b8ef309093ff196967a21ee51a9cdb404a13bf6</id>
<content type='text'>
This driver uses gpiochip_irq_reqres() and gpiochip_irq_relres() which
are only built with GPIOLIB_IRQCHIP=y. Add the missing Kconfig select.

Fixes: 2993d2dd8ff4 ("gpio: timberdale: Make irq_chip immutable")
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Link: https://lore.kernel.org/r/20250522-gpio-fix-v1-4-98ceae7c4c3c@nxp.com
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
<entry>
<title>gpio: lpc18xx: select GPIOLIB_IRQCHIP</title>
<updated>2025-05-22T08:00:08Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2025-05-22T07:11:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=01e4397d0c1c9ae434c574f45359ad0c226a864b'/>
<id>urn:sha1:01e4397d0c1c9ae434c574f45359ad0c226a864b</id>
<content type='text'>
This driver uses gpiochip_irq_reqres() and gpiochip_irq_relres() which
are only built with GPIOLIB_IRQCHIP=y. Add the missing Kconfig select.

Fixes: 289e42df1358 ("gpio: lpc18xx: Make irq_chip immutable")
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Link: https://lore.kernel.org/r/20250522-gpio-fix-v1-3-98ceae7c4c3c@nxp.com
Signed-off-by: Bartosz Golaszewski &lt;bartosz.golaszewski@linaro.org&gt;
</content>
</entry>
</feed>
