padctr: tegra210-pmc: add support to set IO pad voltage and dpd
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 26 May 2015 14:12:03 +0000 (19:12 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Tue, 2 Jun 2015 06:26:11 +0000 (23:26 -0700)
commit3693847ad153b11807fdbba75496a01990d4961d
treec1812833c28c80f0ccf1c88df1655b593b1b849e
parent798082999b474fc4fef9dbc335a940db8401987d
padctr: tegra210-pmc: add support to set IO pad voltage and dpd

Add support to configure voltage and IO-DPD mode from DT through
individual pad dt node.

This helps to set/unset the particular IO-pad instead of re-writing
untouched pads through ARRAY method. This also helps on better
managing the property override.

pmc {
::::
io-pad-defaults {
pex-clk1 {
nvidia,deep-power-down-enable;

gpio {
nvidia,io-pad-init-voltage = <IO_RAIL_VOLTAGE_1_8V>;
};
:::
};
};

bug 1648039

Change-Id: I31969fc5b4986234fbb57db2d87a7026c54f0086
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 26b3ad98027d277591ffcaf93d0ed0da07a84a16)
Reviewed-on: http://git-master/r/750844
Documentation/devicetree/bindings/padctrl/padctrl-tegra210-pmc.txt
drivers/padctrl/padctrl-tegra210-pmc.c