]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
gpio: tegra186: Program interrupt route mapping
authorThierry Reding <treding@nvidia.com>
Fri, 8 Nov 2019 15:33:52 +0000 (16:33 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 12 Nov 2019 15:31:06 +0000 (16:31 +0100)
commit22635ed8a20d47ae3a590171aee90ccecfb62241
treed48953b16be07a3b3bb68af353fa4bf7ab86bc7b
parent13a62a56aa4cdab94e696bc0a3e4fb6dc4200b0f
gpio: tegra186: Program interrupt route mapping

The controls for the GG port on Tegra194 resides in the power partition
of the C5 PCIe controller and its interrupt route mapping can therefore
not be programmed by early boot firmware along with that of the other
ports.

Detect this generically by looking at which controls have already been
locked down using the security registers and fill in default values for
controls that are unlocked.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-tegra186.c