Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18f48a4f authored by Ashwini Ghuge's avatar Ashwini Ghuge Committed by Stephen Warren
Browse files

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: default avatarAshwini Ghuge <aghuge@nvidia.com>
Signed-off-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent 8a0a1af3
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -43,6 +43,7 @@
#define TEGRA_GPIO_BANK_ID_CC 28
#define TEGRA_GPIO_BANK_ID_CC 28
#define TEGRA_GPIO_BANK_ID_DD 29
#define TEGRA_GPIO_BANK_ID_DD 29
#define TEGRA_GPIO_BANK_ID_EE 30
#define TEGRA_GPIO_BANK_ID_EE 30
#define TEGRA_GPIO_BANK_ID_FF 31


#define TEGRA_GPIO(bank, offset) \
#define TEGRA_GPIO(bank, offset) \
	((TEGRA_GPIO_BANK_ID_##bank * 8) + offset)
	((TEGRA_GPIO_BANK_ID_##bank * 8) + offset)