summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2026-02-03 08:52:30 +0100
committerMichal Simek <[email protected]>2026-02-13 08:16:25 +0100
commitb86fa3fd24cb4b2f67d8a171ce09be0efcb8ec72 (patch)
tree3b5478617c2ad3a4b8875e5576c8d96f059f08ba /drivers/gpio/Kconfig
parent770a1ad4e2063b296d08483f4b6c965f38b27c97 (diff)
gpio: Add GPIO delay driver
Add a GPIO controller driver that provides configurable delays when setting GPIO output values. This is useful for hardware that requires specific timing delays during power sequencing or GPIO state changes. The driver wraps underlying GPIO controllers and adds programmable ramp-up and ramp-down delays specified in microseconds through the device tree. Each GPIO can have independent delay timings. Device tree binding matches Linux. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/575998efc6ba0e405640789cf8d05f0b633f496e.1770105146.git.michal.simek@amd.com
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 60c5c54688e..f69919abc05 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1,3 +1,11 @@
+config GPIO_DELAY
+ bool "GPIO delay driver"
+ depends on DM_GPIO
+ help
+ Enable the GPIO delay driver.
+ This driver allows wrapping another GPIO controller and inserting
+ ramp-up/ramp-down delays on output changes, as described in the
+ Linux gpio-delay binding.
#
# GPIO infrastructure and drivers
#