diff options
author | Steve Rogers <srogers@nvidia.com> | 2014-04-25 12:21:59 -0500 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2014-05-07 01:15:46 -0700 |
commit | 8033a8b67e3828244f918e070580d63005f1f4d2 (patch) | |
tree | 163dfc1ba0e7c9b33d7c55a2c0a2f6342918873f /arch/arm/boot | |
parent | 81d935e125e6aa7c4e330b387cfe81a72b7917f5 (diff) |
arm: tegra: sysedp: Add TN8 A03 battery temp data
Bug 1435950
Change-Id: I6384d483c0ad513e13fd93145569a6c150b7ac4d
Signed-off-by: Steve Rogers <srogers@nvidia.com>
Reviewed-on: http://git-master/r/401609
(cherry-picked from commit 76eefb6733512541a0b52b6ea68a194b00bc8b7b)
Reviewed-on: http://git-master/r/405303
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/tegra124-platforms/tegra124-tn8-sysedp-p1761-1270-a03.dtsi | 51 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra124-tn8-p1761-1270-a03.dts | 21 |
2 files changed, 71 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra124-platforms/tegra124-tn8-sysedp-p1761-1270-a03.dtsi b/arch/arm/boot/dts/tegra124-platforms/tegra124-tn8-sysedp-p1761-1270-a03.dtsi new file mode 100644 index 000000000000..80eafe2e7e4c --- /dev/null +++ b/arch/arm/boot/dts/tegra124-platforms/tegra124-tn8-sysedp-p1761-1270-a03.dtsi @@ -0,0 +1,51 @@ +/* + * arch/arm/boot/dts/tegra124-platforms/tegra124-tn8-sysedp-p1761-1270-a03.dtsi + * + * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +/ { + sysedp_batmon_calc { + compatible = "nvidia,tegra124-sysedp_batmon_calc"; + ocv_lut = < + 100 4322580 + 80 4084489 + 60 3913651 + 40 3795200 + 20 3700276 + 0 3500000 + >; + ibat_lut = < + 600 9000 + (-600) 9000 + (-700) 0 + >; + rbat_data = < + 63680 63680 61826 65440 74109 101072 165041 165041 + 63552 63552 61763 64042 73396 100107 166252 166252 + 63837 63837 62189 63717 70489 90083 153729 153729 + 64293 64293 62847 64263 69935 86809 135458 135458 + 65082 65082 63971 66027 71740 89882 126561 126561 + 68560 68560 68105 71792 81820 96184 135155 135155 + >; + temp_axis = <600 450 300 220 150 50 0 (-100)>; + capacity_axis = <100 80 60 40 20 0>; + power_supply = "battery"; + r_const = <40000>; + vsys_min = <3000000>; + }; +}; diff --git a/arch/arm/boot/dts/tegra124-tn8-p1761-1270-a03.dts b/arch/arm/boot/dts/tegra124-tn8-p1761-1270-a03.dts index 65bbc1fa1e38..b0d106331402 100644 --- a/arch/arm/boot/dts/tegra124-tn8-p1761-1270-a03.dts +++ b/arch/arm/boot/dts/tegra124-tn8-p1761-1270-a03.dts @@ -1,3 +1,22 @@ +/* + * arch/arm/boot/dts/tegra124-tn8-a03-00.dts + * + * Copyright (c) 2014-2014, NVIDIA CORPORATION. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ /dts-v1/; #include "tegra124-tn8.dtsi" @@ -9,7 +28,7 @@ #include "tegra124-platforms/tegra124-tn8-pinmux-p1761-1470-a00.dtsi" #include "tegra124-platforms/tegra124-tn8-gpio-p1761-1470-a00.dtsi" #include "tegra124-platforms/tegra124-tn8-keys-p1761-1270-a03.dtsi" -#include "tegra124-platforms/tegra124-tn8-sysedp-p1761-1270-a02.dtsi" +#include "tegra124-platforms/tegra124-tn8-sysedp-p1761-1270-a03.dtsi" #include "tegra124-platforms/tegra124-tn8-powermon-p1761-a02.dtsi" #include "tegra124-platforms/tegra124-tn8-dfll-p1761-1270-a03.dtsi" #include "tegra124-platforms/tegra124-tn8-camera-p1761-1270-a03.dtsi" |