Source: linux
Severity: wishlist
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Please consider enabling CONFIG_GPIO_SIM=m in the Debian kernel.

gpio-sim is the modern GPIO simulator (the configfs-based successor to the
deprecated gpio-mockup, which is also currently disabled in the Debian kernel).

It allows creating virtual GPIO chips and driving/reading line values entirely
in software, which is the standard mechanism libgpiod and related tools use for
testing without hardware.

Concretely it would let the gpiod-sysfs-proxy package run a real functional
autopkgtest. It is also generally useful for testing libgpiod, gpiod CLI tools
and any software consuming the GPIO character device.

It is a small, self-contained module (drivers/gpio/gpio-sim.c) with no runtime
cost unless manually loaded and depends only on CONFIG_CONFIGFS_FS (already =m)
and the GPIO chardev (already enabled).

Thanks for considering.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.12+deb14.1-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to