Home
last modified time | relevance | path

Searched refs:volt (Results 1 – 8 of 8) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mxs/
H A Dspl_power_init.c154 uint32_t volt = readl(&power_regs->hw_power_battmonitor); in mxs_get_batt_volt() local
155 volt &= POWER_BATTMONITOR_BATT_VAL_MASK; in mxs_get_batt_volt()
156 volt >>= POWER_BATTMONITOR_BATT_VAL_OFFSET; in mxs_get_batt_volt()
157 volt *= 8; in mxs_get_batt_volt()
159 debug("SPL: Battery Voltage = %dmV\n", volt); in mxs_get_batt_volt()
160 return volt; in mxs_get_batt_volt()
185 uint32_t volt = mxs_get_batt_volt(); in mxs_is_batt_good() local
187 if ((volt >= 2400) && (volt <= 4300)) { in mxs_is_batt_good()
208 volt = mxs_get_batt_volt(); in mxs_is_batt_good()
210 if (volt >= 3500) { in mxs_is_batt_good()
[all …]
/rk3399_rockchip-uboot/drivers/power/charge/
H A Dcps5601x_charger.c318 static int cps5601x_set_chargevolt(struct cps5601x *cps, int volt) in cps5601x_set_chargevolt() argument
322 if (volt < VREG_BASE) in cps5601x_set_chargevolt()
323 volt = VREG_BASE; in cps5601x_set_chargevolt()
324 else if (volt > (VREG_BASE + (VREG_MAXVAL * VREG_LSB))) in cps5601x_set_chargevolt()
325 volt = VREG_BASE + (VREG_MAXVAL * VREG_LSB); in cps5601x_set_chargevolt()
327 val = (volt - VREG_BASE) / VREG_LSB; in cps5601x_set_chargevolt()
/rk3399_rockchip-uboot/arch/arm/dts/
H A Domap3.dtsi437 ti,dual-volt;
H A Dam33xx.dtsi311 ti,dual-volt;
H A Drk3506.dtsi198 rockchip,pvtm-volt = <1000000>;
205 rockchip,low-temp-min-volt = <900000>;
H A Dam4372.dtsi456 ti,dual-volt;
H A Drk3528.dtsi161 rockchip,pvtm-volt = <900000>;
843 rockchip,pvtm-volt = <900000>;
H A Ddra7.dtsi1026 ti,dual-volt;