mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
588cc1a026
Header adds defines for the gpio number of each pad from the driver view. The gpio block seems to have enough registers for 128 lines but what line is mapped to a physical pin depends on the chip. The gpio block also seems to contain some registers that are not related to gpio but needed somewhere to go. Because of the above the driver itself uses the index of a pin's offset in an array of the possible offsets for a chip as the gpio number. Signed-off-by: Daniel Palmer <daniel@0x0f.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20201129110803.2461700-2-daniel@0x0f.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org> |
||
---|---|---|
.. | ||
aspeed-gpio.h | ||
gpio.h | ||
meson8-gpio.h | ||
meson8b-gpio.h | ||
meson-a1-gpio.h | ||
meson-axg-gpio.h | ||
meson-g12a-gpio.h | ||
meson-gxbb-gpio.h | ||
meson-gxl-gpio.h | ||
msc313-gpio.h | ||
tegra186-gpio.h | ||
tegra194-gpio.h | ||
tegra-gpio.h | ||
uniphier-gpio.h |