]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86: alienware-wmi-wmax: Expose GPIO debug methods
authorKurt Borja <kuurtb@gmail.com>
Mon, 5 May 2025 18:43:31 +0000 (15:43 -0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 8 May 2025 13:04:00 +0000 (16:04 +0300)
commitaee5cf935cf94006307600015a3df44eda55c4b9
treed368e4153c01f58b92508f151b3b33cdc76c9240
parentcfd84b3f419bf0aec60ecddc92c61b539c339ec9
platform/x86: alienware-wmi-wmax: Expose GPIO debug methods

Expose GPIO control methods present on the AWCC interface through
DebugFS.

These models come with an RGB lighting STM32 MCU, which usually has two
GPIO pins with debug capabilities:

 - Pin 0: Device Firmware Update mode (DFU)
 - Pin 1: Negative Reset (NRST)

Suggested-by: Gabriel Marcano <gabemarcano@yahoo.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20250505-awcc-gpio-v4-1-edda44c3a0dc@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Documentation/ABI/testing/debugfs-alienware-wmi
drivers/platform/x86/dell/alienware-wmi-wmax.c