dtsi: Troika 2A DCP support
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / arch / arm64 / boot / dts / exynos / exynos9610_troika_battery_data.dtsi
1 /*
2 * SAMSUNG EXYNOS9610 board device tree source
3 *
4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
12 / {
13 fragment@battery {
14 __overlay__ {
15 battery {
16
17 battery,max_input_current = <2000>;
18 battery,max_charging_current = <2000>;
19
20 /* Order of current setting must be same with
21 * POWER_SUPPLY_TYPE_ of power_supply.h
22 */
23 battery,input_current_limit =
24 <500 450 500 2000 500 1500 1500 1000 1500 1500
25 1000 500 500 2000 1200 500 450>;
26 battery,fast_charging_current =
27 <500 450 500 2000 500 1500 1500 1000 1500 1800
28 1000 500 500 2000 2000 500 450>;
29 battery,full_check_current =
30 <175 0 175 175 175 175 175 175 175 175
31 175 175 175 175 175 175 0>;
32
33 /*moto begin*/
34 moto,fastchg-current-ma = <2000>;
35 moto,chg-thermal-mitigation = <2000>, <1600>,<1400>, <1300>,
36 <1000>,<700>, <600>;
37 /delete-property/ moto,dc-thermal-mitigation;
38 moto,parallel-charge-current-map = <2000 2000 0>,
39 <1600 1600 0>,
40 <1400 1400 0>,
41 <1300 1300 0>,
42 <1000 1000 0>,
43 <700 700 0>,
44 <600 600 0>;
45
46 };
47 };
48 };
49 };