arm64: dts: rk3368-p9_818:modify battery node
authorchenjh <chenjh@rock-chips.com>
Tue, 12 May 2015 09:18:10 +0000 (17:18 +0800)
committer许盛飞 <xsf@rock-chips.com>
Fri, 5 Jun 2015 10:18:43 +0000 (18:18 +0800)
Signed-off-by: chenjh <chenjh@rock-chips.com>
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
arch/arm64/boot/dts/rk3368-p9_818.dts

index 83b6976189566f958599453741f9b5bf5e194283..b15e2cde6cade6ce76da00794047ea8da7183b98 100644 (file)
                        design_qmax = <8800>;
                        max_overcharge = <100>;
                        bat_res = <85>;
-                       max_charge_ilimitmA  = <2000>;
-                       max_charge_currentmA = <1800>;
+                       max_input_currentmA  = <2000>;
+                       max_chrg_currentmA = <1800>;
                        max_charge_voltagemV = <4200>;
                        max_bat_voltagemV = <4200>;
                         sleep_enter_current = <600>;
                         sleep_exit_current = <600>;
-                        support_uboot_chrg = <0>;
+                        power_off_thresd = <3400>;
+                        chrg_diff_voltagemV = <0>;
                         support_usb_adp = <1>;
                         support_dc_adp = <1>;
                         dc_det_gpio = <&gpio0 GPIO_C1 GPIO_ACTIVE_LOW>;
-                        dc_det_pullup_inside = <1>;
-                        test_power {
-                                test_charge_currentmA = <1800>;
-                                test_charge_ilimitmA  = <2000>;
-                        };
                };
        };
 };
 &rk818 {
        gpios =<&gpio0 GPIO_A1 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_A0 GPIO_ACTIVE_LOW>;
        rk818,system-power-controller;
-        pinctrl-names = "default";
+        pinctrl-names = "dc_det";
         pinctrl-0 = <&gpio0_c1>;
        regulators {