Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: tegra: add port FF to GPIO IDs

NVIDIA Tegra124 supports has the new GPIO port as GPIO_FF.
Add the macro for this port name.

Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>

authored by

Ashwini Ghuge and committed by
Stephen Warren
18f48a4f 8a0a1af3

+1
+1
include/dt-bindings/gpio/tegra-gpio.h
··· 43 43 #define TEGRA_GPIO_BANK_ID_CC 28 44 44 #define TEGRA_GPIO_BANK_ID_DD 29 45 45 #define TEGRA_GPIO_BANK_ID_EE 30 46 + #define TEGRA_GPIO_BANK_ID_FF 31 46 47 47 48 #define TEGRA_GPIO(bank, offset) \ 48 49 ((TEGRA_GPIO_BANK_ID_##bank * 8) + offset)