Lines Matching +full:25 +full:mv
118 * While the datasheet says the ARM voltage can be as low as 925mV at
120 * more than 200mV, and the minimum SOC voltage is 1150mV, so that
121 * dictates the 950mV entry in this table.
125 uint32_t mv; member
162 vdd_set(struct imx6_anatop_softc *sc, int mv) in vdd_set() argument
170 * can't be more than 50mV above or 200mV below them. We keep them the in vdd_set()
178 /* Convert mV to target value. Clamp target to valid range. */ in vdd_set()
179 if (mv < 725) in vdd_set()
181 else if (mv > 1450) in vdd_set()
184 newtarg = (mv - 700) / 25; in vdd_set()
187 * The SOC voltage can't go below 1150mV, and thus because of the 200mV in vdd_set()
188 * rule, the ARM voltage can't go below 950mV. The 950 is encoded in in vdd_set()
190 * (1150-700/25=18). in vdd_set()
197 * 25mV step upward; we actually delay 6uS because empirically, it works in vdd_set()
209 delay = (700 / 25) * 6; in vdd_set()
226 sc->cpu_curmv = newtarg * 25 + 700; in vdd_set()
282 vdd_set(sc, op->mv); in cpufreq_set_clock()
317 vdd_set(sc, op->mv); in cpufreq_set_clock()
444 sc->cpu_minmv = op->mv; in cpufreq_initialize()
449 sc->cpu_maxmv = op->mv; in cpufreq_initialize()
588 * Fetch calibration data: a sensor count at room temperature (25C), in initialize_tempmon()