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

From: Stephen Warren
Date: Thu Apr 07 2016 - 18:10:44 EST


On 04/07/2016 03:37 PM, Rhyland Klein 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>

Acked-by: Stephen Warren <swarren@xxxxxxxxxx>