pinctrl: tegra: avoid parked_reg and parked_bank
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 2 May 2016 18:47:32 +0000 (00:17 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 11 May 2016 11:26:30 +0000 (13:26 +0200)
commit1d18a3f0f0809f6c71f1f6e9e268ee904ce0b588
tree47bb8f4cff9b80021d7bc5461552dfd67a792a82
parentb22ef2a0979f2b91cfeeabb086e4d665183a93a1
pinctrl: tegra: avoid parked_reg and parked_bank

NVIDIA's Tegra210 support the park bit to make pinmux configuration
enable/disable. If parked bit is 1 then configuration does not apply
and if it is 0 then pinmux configuration applies. This is to support
to avoid any glitch in pinmux configurations.

The parked bit is part of mux register and mux bank and hence it is
not required to have member for the parked_reg and parked bank very
similar to other bit field of the same register.

Remove the need of the parked register and parked bank and get whether
parked function supported or not by parked_bit.

This is to make the parked bit handling same as other fields of mux
registers.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/tegra/pinctrl-tegra.c
drivers/pinctrl/tegra/pinctrl-tegra.h
drivers/pinctrl/tegra/pinctrl-tegra114.c
drivers/pinctrl/tegra/pinctrl-tegra124.c
drivers/pinctrl/tegra/pinctrl-tegra20.c
drivers/pinctrl/tegra/pinctrl-tegra210.c
drivers/pinctrl/tegra/pinctrl-tegra30.c