platform/x86: portwell-ec: Add GPIO and WDT driver for Portwell EC
authorYen-Chi Huang <jesse.huang@portwell.com.tw>
Tue, 6 May 2025 10:23:14 +0000 (18:23 +0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 8 May 2025 14:37:58 +0000 (17:37 +0300)
commit83579675331059689e2869bf752ca9e17fadbd82
tree9522ba5d7cbbf630b090ae98fc2cc868a85bd3f9
parentd4860025a3fd9c20a801c2273227906874e76413
platform/x86: portwell-ec: Add GPIO and WDT driver for Portwell EC

Adds a driver for the ITE Embedded Controller (EC) on Portwell boards.
It integrates with the Linux GPIO and watchdog subsystems to provide:

- Control/monitoring of up to 8 EC GPIO pins.
- Hardware watchdog timer with 1-255 second timeouts.

The driver communicates with the EC via I/O port 0xe300 and identifies
the hardware by the "PWG" firmware signature. This enables enhanced
system management for Portwell embedded/industrial platforms.

Signed-off-by: Yen-Chi Huang <jesse.huang@portwell.com.tw>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/a04be962-b207-4085-af5b-523f59bffcbc@portwell.com.tw
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
MAINTAINERS
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/portwell-ec.c [new file with mode: 0644]