diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-04-14 21:33:40 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-04-22 14:50:24 (GMT) |
commit | 6240d691be7dfb8bc6be0ff84ac567ea434401a8 (patch) | |
tree | 0663cc23e422cca84d8e423fdecddaab1dbb5dda /drivers/pinctrl/pinctrl-tegra.h | |
parent | e53b797474ac61debd6e7c186285c8cc24a3a166 (diff) | |
download | linux-6240d691be7dfb8bc6be0ff84ac567ea434401a8.tar.xz |
pinctrl: tegra: remove fsafe from data tables
The fsafe value in the pingroup data tables is only used to implement
tegra_pinctrl_disable(). The only reason this function is called is when
dynamically switching between pinmux states, i.e. when disabling the old
state before programming the new state. It's simpler to have the new
target state define the expected value of each pin (and all current DTs
do that). This also gives more flexibility, since it allows individual
boards explicit control over the "inactive" mux function for each pin,
rather than requiring it to be an SoC-specific value. Assuming this, we
can get rid of the fsafe value from the driver completely, thus saving
some more space in the driver tables.
While re-writing the content of tegra124_pingroups[], fix the indentation
to use a TAB instead of spaces.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-tegra.h')
-rw-r--r-- | drivers/pinctrl/pinctrl-tegra.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-tegra.h b/drivers/pinctrl/pinctrl-tegra.h index 7262ba8..08a2e55 100644 --- a/drivers/pinctrl/pinctrl-tegra.h +++ b/drivers/pinctrl/pinctrl-tegra.h @@ -127,7 +127,6 @@ struct tegra_pingroup { const unsigned *pins; unsigned npins; unsigned funcs[4]; - unsigned func_safe; s16 mux_reg; s16 pupd_reg; s16 tri_reg; |