soc/tegra: pmc: Implement pad configuration via pinctrl
authorAapo Vienamo <avienamo@nvidia.com>
Fri, 10 Aug 2018 18:08:12 +0000 (21:08 +0300)
committerThierry Reding <treding@nvidia.com>
Mon, 27 Aug 2018 10:25:18 +0000 (12:25 +0200)
commit4a37f11c8f57ffd6f7397eaf372109d67edd3769
tree5a6bbc19d3ed11a67f2632e0f46fdd6d5cea7fe5
parentfccf0f76ecd3e4dfb947cb0eeac7ce22a2f0f42b
soc/tegra: pmc: Implement pad configuration via pinctrl

Register a pinctrl device and implement get and set functions for
PIN_CONFIG_LOW_POWER_MODE and PIN_CONFIG_POWER_SOURCE parameters.

Signed-off-by: Aapo Vienamo <avienamo@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c