]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
platform: tegra: bootrom: add support for power off commands
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 6 Nov 2015 14:03:42 +0000 (19:33 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 10 Nov 2015 23:32:34 +0000 (15:32 -0800)
commitf2741d1d2d4422082d24f5a0e200e29ce51fc136
tree128b772d843774909545ec4f7475d3e9c6c0c6c7
parent0f17e4c9d9d71b6e31a0cdb8ab9b48c5c6b8cd0a
platform: tegra: bootrom: add support for power off commands

Add support for power off commands fro bootrom. The commands
are provided from DT as follows:
pmc {
bootrom-commands {
reset-commands {
};
power-off-commands {
};
};
};

If power off and reset commands are not available from child node
then properties and command in node bootrom-commands are used. This
is done to support backward compatibility.

The commands properties are same as earlier.

bug 200146310

Change-Id: I3a2102a20424c81310a7c96041884b24ce6e9e15
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/829082
drivers/platform/tegra/tegra-bootrom-pmc-config.c