Re: [PATCH] pinctrl: tegra: clear park bit for all pins

From: Linus Walleij
Date: Thu Apr 14 2016 - 08:02:16 EST


On Thu, Apr 7, 2016 at 11:37 PM, Rhyland Klein <rklein@xxxxxxxxxx> wrote:

> Parking bits might not be cleared by the bootloader properly (if for
> instance it doesn't use the device configured by that pin). Clear
> the park bits for all the pins during pinctrl probe.
>
> This is present on T210 platforms but not earlier ones, so for earlier
> generations, set parked_reg = -1 to disable.
>
> The park bit is used to prevent glitching when reprogramming pinctrl
> registers.
>
> Based on work by:
> Shravani Dingari <shravanid@xxxxxxxxxx>
>
> Signed-off-by: Rhyland Klein <rklein@xxxxxxxxxx>

Patch applied with Stephen's ACK.

Yours,
Linus Walleij