• Laxman Dewangan's avatar
    pinctrl: tegra: avoid parked_reg and parked_bank · 1d18a3f0
    Laxman Dewangan authored
    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: default avatarLaxman Dewangan <ldewangan@nvidia.com>
    Acked-by: default avatarStephen Warren <swarren@nvidia.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    1d18a3f0
pinctrl-tegra.c 18 KB