platform: tegra: pmc: add driver to configure PMC for bootrom command
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 2 Jan 2015 14:23:10 +0000 (19:23 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Mon, 5 Jan 2015 11:17:11 +0000 (03:17 -0800)
commit4ac6f24c8988ef8f6d8100f9dceede5a3ff4a2d3
tree66932b344114354627cb998f484d8ec69c7f7f47
parent48b89681fd8b6e8a37bd4ad0ef964583ce4fe8a3
platform: tegra: pmc: add driver to configure PMC for bootrom command

Tegra210 bootrom has the feature to issue i2c commands to
external device like PMIC to send commands. These commands
are needed to pass through PMC on specific format.

Add driver to read the required platform specific commands from DT
under PMC node and format it as per bootrom need.

bug 200060034

Change-Id: Ic723201d4f347842075f2c9738eceec01f827d4a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/668901
GVS: Gerrit_Virtual_Submit
Documentation/devicetree/bindings/platform/tegra/tegra-bootrom-pmc-config.txt [new file with mode: 0644]
drivers/platform/tegra/Kconfig
drivers/platform/tegra/Makefile
drivers/platform/tegra/tegra-bootrom-pmc-config.c [new file with mode: 0644]