soc/tegra: pmc: Add I/O pad voltage support
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 10 Oct 2016 13:14:34 +0000 (15:14 +0200)
committerThierry Reding <treding@nvidia.com>
Tue, 15 Nov 2016 14:51:51 +0000 (15:51 +0100)
commit21b4991051780b49b217c363f79366ed94c3b4b7
tree5753fd4ca916771bfe77ba12e5388a0e79c56013
parent95b780b3d7e3f1900e09dfe90e959f220a8df343
soc/tegra: pmc: Add I/O pad voltage support

I/O pins on Tegra SoCs are grouped into so-called I/O pads. Each such
pad can be used to control the common voltage signal level and power
state of the pins in the given pad.

I/O pads can be powered down even if the system is active, which can
save power from that I/O interface. For SoC generations prior to
Tegra124 the I/O pad voltage is automatically detected and hence the
system software doesn't need to configure it. However, starting with
Tegra210 the detection logic has been removed, so explicit control of
the I/O pad voltage by system software is required.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c
include/soc/tegra/pmc.h