diff options
| author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2025-10-14 18:53:54 +0300 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-10-16 13:04:48 +0300 |
| commit | e88500247dc3267787abc837848b001c1237f692 (patch) | |
| tree | f5c8247b078aaf97e09a3f0ae1bb1df7694903cf /include | |
| parent | ae495810cffe29c3c30a757bd48b0bb035fc3098 (diff) | |
| download | linux-e88500247dc3267787abc837848b001c1237f692.tar.xz | |
gpio: add QIXIS FPGA GPIO controller
Add support for the GPIO controller found on some QIXIS FPGAs in
Layerscape boards such as LX2160ARDB and LS1046AQDS. This driver is
using gpio-regmap.
A GPIO controller has a maximum of 8 lines (all found in the same
register). Even within the same controller, the GPIO lines' direction is
fixed, which mean that both input and output lines are found in the same
register. This is why the driver also passed to gpio-regmap the newly
added .fixed_direction_output bitmap to represent the true direction of
the lines.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Michael Walle <mwalle@kernel.org> # for the gpio-regmap part
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
