]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: aspeed: Support G7 Aspeed gpio controller
authorBilly Tsai <billy_tsai@aspeedtech.com>
Tue, 8 Oct 2024 08:14:50 +0000 (16:14 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 14 Oct 2024 07:04:02 +0000 (09:04 +0200)
commitb2e861bd1eaf4c5f75139df9b75dade3334a5b6c
treeec5a79f64f268532afad1ec0e89c10fb248b796d
parentbef6959a3746fc8207a0ca75e239c95d7409fd90
gpio: aspeed: Support G7 Aspeed gpio controller

In the 7th generation of the SoC from Aspeed, the control logic of the
GPIO controller has been updated to support per-pin control. Each pin now
has its own 32-bit register, allowing for individual control of the pin's
value, direction, interrupt type, and other settings. The permission for
coprocessor access is supported by the hardware but hasn't been
implemented in the current patch.

Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Link: https://lore.kernel.org/r/20241008081450.1490955-8-billy_tsai@aspeedtech.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-aspeed.c