tegra: dtb: sysedp: enable sysedp only on P1761 with battery
authorTimo Alho <talho@nvidia.com>
Mon, 7 Jul 2014 05:44:56 +0000 (08:44 +0300)
committerMandar Padmawar <mpadmawar@nvidia.com>
Thu, 10 Jul 2014 12:32:40 +0000 (05:32 -0700)
commit2f60e0c1b62133be4302128632839b0fb68e85ad
treebab25fa9820b46505bed1a520ede59406d99db4d
parente452c87dcc23d91e1ad5c8ffeaa581f26496d54d
tegra: dtb: sysedp: enable sysedp only on P1761 with battery

Previously, sysedp was attempted to enabled on non-battery versions of
P1761. This caused sysedp_batmon_calc to fail with -EFAULT during
probing as battery power supply was not available.

Bug 200018196

Change-Id: I0abb9cde8d597febed3e24d0bf3a29386e06db57
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/434985
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Rogers <srogers@nvidia.com>
Tested-by: Steve Rogers <srogers@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
arch/arm64/boot/dts/tegra132-tn8-p1761-1270-a03-battery.dts
arch/arm64/boot/dts/tegra132-tn8-p1761-1270-a03.dts