rk808_dcdc1_reg: regulator@0{
regulator-name= "vdd_arm";
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <1500000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-disabled;
+ regulator-state-uv = <900000>;
+ };
};
rk808_dcdc2_reg: regulator@1 {
regulator-name= "vdd_gpu";
- //regulator-always-on;
- //regulator-boot-on;
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <1500000>;
+ /*regulator-always-on;*/
+ /*regulator-boot-on;*/
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-disabled;
+ regulator-state-uv = <900000>;
+ };
};
rk808_dcdc3_reg: regulator@2 {
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <1200000>;
+ };
};
rk808_dcdc4_reg: regulator@3 {
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-mode = <0x2>;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-mode = <0x2>;
+ regulator-state-enabled;
+ regulator-state-uv = <2800000>;
+ };
};
rk808_ldo1_reg: regulator@4 {
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
};
rk808_ldo2_reg: regulator@5 {
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
};
rk808_ldo3_reg: regulator@6 {
regulator-max-microvolt = <1000000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <1000000>;
+ };
};
rk808_ldo4_reg:regulator@7 {
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-disabled;
+ regulator-state-uv = <1800000>;
+ };
};
rk808_ldo5_reg: regulator@8 {
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <2800000>;
+ };
};
rk808_ldo6_reg: regulator@9 {
regulator-max-microvolt = <1000000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-disabled;
+ regulator-state-uv = <1000000>;
+ };
};
rk808_ldo7_reg: regulator@10 {
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <1800000>;
+ };
};
rk808_ldo8_reg: regulator@11 {
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ regulator-state-uv = <3300000>;
+ };
};
rk808_ldo9_reg: regulator@12 {
regulator-name= "rk_ldo9";
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-enabled;
+ };
};
rk808_ldo10_reg: regulator@13 {
regulator-name= "rk_ldo10";
regulator-always-on;
regulator-boot-on;
+ regulator-initial-state = <3>;
+ regulator-state-mem {
+ regulator-state-disabled;
+ };
};
};
};
design_capacity = <2100>;
design_qmax = <2200>;
max_overcharge = <100>;
- max_charge_currentma = <1500>;
- max_charge_voltagemv = <4260>;
- max_bat_voltagemv = <4200>;
+ bat_res = <80>;
+ max_input_currentmA = <2000>;
+ max_chrg_currentmA = <1800>;
+ max_charge_voltagemV = <4200>;
+ max_bat_voltagemV = <4200>;
+ sleep_enter_current = <300>;
+ sleep_exit_current = <300>;
+ power_off_thresd = <3400>;
+ chrg_diff_voltagemV = <0>;
+ virtual_power = <1>;
+ support_usb_adp = <0>;
+ support_dc_adp = <1>;
+ power_dc2otg = <0>;
+ dc_det_gpio = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
};
};