]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: cadence: Add quirk for Axiado AX3000 platform
authorSwark Yang <syang@axiado.com>
Fri, 9 Jan 2026 09:26:06 +0000 (01:26 -0800)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 12 Jan 2026 10:41:02 +0000 (11:41 +0100)
commitea5b4c68e097412f2d3ca13314b672837718a446
treebe12d7007e14145339c0f55fa3ff7174d921a048
parenta88d9589125a4d2d1cc2e0e6ba794be30f4de44f
gpio: cadence: Add quirk for Axiado AX3000 platform

On the Axiado AX3000 platform, pinmux and pin configuration (such as
direction and output enable) are configured by the hardware/firmware
at boot time before Linux boots.

To prevent conflicts, introduce a platform-specific quirk triggered by
the "axiado,ax3000-gpio" compatible string.

When this quirk is active, the driver will skip its default
initialization of pinmux configuration and direction settings during
probe.

Co-developed-by: Tzu-Hao Wei <twei@axiado.com>
Signed-off-by: Tzu-Hao Wei <twei@axiado.com>
Signed-off-by: Swark Yang <syang@axiado.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://lore.kernel.org/r/20260109-axiado-ax3000-cadence-gpio-support-v2-1-fc1e28edf68a@axiado.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpio-cadence.c