Searched +full:ovp +full:- +full:threshold +full:- +full:percent (Results 1 – 2 of 2) sorted by relevance
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)3 * Google Gru-Chromebook shared properties8 #include "rk3399-gru.dtsi"11 pp900_ap: regulator-pp900-ap {12 compatible = "regulator-fixed";13 regulator-name = "pp900_ap";16 regulator-always-on;17 regulator-boot-on;18 regulator-min-microvolt = <900000>;19 regulator-max-microvolt = <900000>;[all …]
1 // SPDX-License-Identifier: GPL-2.0-only50 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_ctrl_voltage()51 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_ctrl_voltage()53 return ctrl->min_uV + in vctrl_calc_ctrl_voltage()54 DIV_ROUND_CLOSEST_ULL((s64)(out_uV - out->min_uV) * in vctrl_calc_ctrl_voltage()55 (ctrl->max_uV - ctrl->min_uV), in vctrl_calc_ctrl_voltage()56 out->max_uV - out->min_uV); in vctrl_calc_ctrl_voltage()61 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_output_voltage()62 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_output_voltage()69 if (ctrl_uV < ctrl->min_uV) in vctrl_calc_output_voltage()[all …]