/Linux-v5.4/drivers/iio/adc/ |
D | qcom-vadc-common.c | 186 s64 voltage = 0, result = 0; in qcom_vadc_scale_volt() local 188 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_volt() 190 voltage = voltage * prescale->den; in qcom_vadc_scale_volt() 191 result = div64_s64(voltage, prescale->num); in qcom_vadc_scale_volt() 202 s64 voltage = 0; in qcom_vadc_scale_therm() local 205 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_therm() 208 voltage = div64_s64(voltage, 1000); in qcom_vadc_scale_therm() 212 voltage, result_mdec); in qcom_vadc_scale_therm() 226 s64 voltage = 0; in qcom_vadc_scale_die_temp() local 229 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_die_temp() [all …]
|
/Linux-v5.4/Documentation/hwmon/ |
D | smm665.rst | 67 Reference voltage on VREF_ADC pin in mV. It should not be necessary to set 68 this parameter unless a non-default reference voltage is used. 116 in1_input 12V input voltage (mV) 117 in2_input 3.3V (VDD) input voltage (mV) 118 in3_input Channel A voltage (mV) 119 in4_input Channel B voltage (mV) 120 in5_input Channel C voltage (mV) 121 in6_input Channel D voltage (mV) 122 in7_input Channel E voltage (mV) 123 in8_input Channel F voltage (mV) [all …]
|
D | max20751.rst | 50 in1_input Measured voltage. 51 in1_min Minimum input voltage. 52 in1_max Maximum input voltage. 53 in1_lcrit Critical minimum input voltage. 54 in1_crit Critical maximum input voltage. 55 in1_min_alarm Input voltage low alarm. 56 in1_lcrit_alarm Input voltage critical low alarm. 57 in1_min_alarm Input voltage low alarm. 58 in1_max_alarm Input voltage high alarm. 61 in2_input Measured voltage. [all …]
|
D | ina209.rst | 24 The TI / Burr-Brown INA209 monitors voltage, current, and power on the high side 40 in0_input shunt voltage (mV) 41 in0_input_highest shunt voltage historical maximum reading (mV) 42 in0_input_lowest shunt voltage historical minimum reading (mV) 43 in0_reset_history reset shunt voltage history 44 in0_max shunt voltage max alarm limit (mV) 45 in0_min shunt voltage min alarm limit (mV) 46 in0_crit_max shunt voltage crit max alarm limit (mV) 47 in0_crit_min shunt voltage crit min alarm limit (mV) 48 in0_max_alarm shunt voltage max alarm limit exceeded [all …]
|
D | ir35221.rst | 54 in1_input Measured input voltage 55 in1_crit Critical maximum input voltage 56 in1_crit_alarm Input voltage critical high alarm 57 in1_highest Highest input voltage 58 in1_lowest Lowest input voltage 59 in1_min Minimum input voltage 60 in1_min_alarm Input voltage low alarm 63 in[2-3]_input Measured output voltage 64 in[2-3]_lcrit Critical minimum output voltage 65 in[2-3]_lcrit_alarm Output voltage critical low alarm [all …]
|
D | ir38064.rst | 41 in1_input Measured input voltage 42 in1_crit Critical maximum input voltage 43 in1_crit_alarm Input voltage critical high alarm 44 in1_min Minimum input voltage 45 in1_min_alarm Input voltage low alarm 48 in2_input Measured output voltage 49 in2_lcrit Critical minimum output voltage 50 in2_lcrit_alarm Output voltage critical low alarm 51 in2_crit Critical maximum output voltage 52 in2_crit_alarm Output voltage critical high alarm [all …]
|
D | smsc47m192.rst | 35 These chips support 3 temperature channels and 8 voltage inputs 36 as well as CPU voltage VID input. 44 Voltages are scaled such that the nominal voltage corresponds to 46 each voltage channel is 0V ... 255/192*(nominal voltage), the resolution 47 is 1 bit per (nominal voltage)/192. 48 Both voltage and temperature values are scaled by 1000, the sys files 51 The +12V analog voltage input channel (in4_input) is multiplexed with 52 bit 4 of the encoded CPU voltage. This means that you either get 53 a +12V voltage measurement or a 5 bit CPU VID, but not both. 59 The temperature and voltage readings are updated once every 1.5 seconds. [all …]
|
D | lm25066.rst | 97 in1_input Measured input voltage. 98 in1_average Average measured input voltage. 99 in1_min Minimum input voltage. 100 in1_max Maximum input voltage. 101 in1_min_alarm Input voltage low alarm. 102 in1_max_alarm Input voltage high alarm. 105 in2_input Measured voltage on VAUX pin 106 in2_min Minimum VAUX voltage (LM25056 only). 107 in2_max Maximum VAUX voltage (LM25056 only). 108 in2_min_alarm VAUX voltage low alarm (LM25056 only). [all …]
|
D | max31785.rst | 20 management with temperature and remote voltage sensing. Various fan control 44 in[1-6]_crit Critical maximum output voltage 45 in[1-6]_crit_alarm Output voltage critical high alarm 46 in[1-6]_input Measured output voltage 48 in[1-6]_lcrit Critical minimum output voltage 49 in[1-6]_lcrit_alarm Output voltage critical low alarm 50 in[1-6]_max Maximum output voltage 51 in[1-6]_max_alarm Output voltage high alarm 52 in[1-6]_min Minimum output voltage 53 in[1-6]_min_alarm Output voltage low alarm
|
D | inspur-ipsps1.rst | 44 in1_alarm Input voltage under-voltage alarm. 45 in1_input Measured input voltage in mV. 47 in2_input Measured output voltage in mV. 49 in2_lcrit Critical minimum output voltage 50 in2_lcrit_alarm Output voltage critical low alarm 51 in2_max Maximum output voltage 52 in2_max_alarm Output voltage high alarm 53 in2_min Minimum output voltage 54 in2_min_alarm Output voltage low alarm
|
D | isl68137.rst | 55 in1_input Measured input voltage 56 in1_lcrit Critical minimum input voltage 57 in1_lcrit_alarm Input voltage critical low alarm 58 in1_crit Critical maximum input voltage 59 in1_crit_alarm Input voltage critical high alarm 62 in[2-3]_input Measured output voltage 63 in[2-3]_lcrit Critical minimum output voltage 64 in[2-3]_lcrit_alarm Output voltage critical low alarm 65 in[2-3]_crit Critical maximum output voltage 66 in[2-3]_crit_alarm Output voltage critical high alarm
|
D | zl6100.rst | 166 in1_input Measured input voltage. 167 in1_min Minimum input voltage. 168 in1_max Maximum input voltage. 169 in1_lcrit Critical minimum input voltage. 170 in1_crit Critical maximum input voltage. 171 in1_min_alarm Input voltage low alarm. 172 in1_max_alarm Input voltage high alarm. 173 in1_lcrit_alarm Input voltage critical low alarm. 174 in1_crit_alarm Input voltage critical high alarm. 177 in2_input Measured voltage on VMON (ZL2004) or VDRV (ZL9101M, [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/regulator/ |
D | vctrl.txt | 7 - regulator-min-microvolt : smallest voltage consumers may set 8 - regulator-max-microvolt : largest voltage consumers may set 9 - ctrl-supply : The regulator supplying the control voltage. 10 - ctrl-voltage-range : an array of two integer values describing the range 11 (min/max) of the control voltage. The values specify 12 the control voltage needed to generate the corresponding 13 regulator-min/max-microvolt output voltage. 20 actual output voltage deviates beyond a certain 22 voltage. On larger voltage decreases this can occur 23 undesiredly since the output voltage does not adjust [all …]
|
D | rohm,bd71837-regulator.txt | 18 if they are disabled at startup the voltage monitoring for LDO5/LDO6 will 30 - rohm,dvs-run-voltage : PMIC default "RUN" state voltage in uV. 32 - rohm,dvs-idle-voltage : PMIC default "IDLE" state voltage in uV. 34 - rohm,dvs-suspend-voltage : PMIC default "SUSPEND" state voltage in uV. 41 buck | dvs-run-voltage | dvs-idle-voltage | dvs-suspend-voltage 54 buck | dvs-run-voltage | dvs-idle-voltage | dvs-suspend-voltage 71 rohm,dvs-run-voltage = <900000>; 72 rohm,dvs-idle-voltage = <850000>; 73 rohm,dvs-suspend-voltage = <800000>; 82 rohm,dvs-run-voltage = <1000000>; [all …]
|
D | max8997-regulator.txt | 3 The Maxim MAX8997 is a multi-function device which includes voltage and 13 - max8997,pmic-buck1-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 14 units for buck1 when changing voltage using gpio dvs. Refer to [1] below 17 - max8997,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 18 units for buck2 when changing voltage using gpio dvs. Refer to [1] below 21 - max8997,pmic-buck5-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 22 units for buck5 when changing voltage using gpio dvs. Refer to [1] below 26 property is specified, the 'max8997,pmic-buck[1/2/5]-dvs-voltage' 27 property should specify atleast one voltage level (which would be a 28 safe operating voltage). [all …]
|
D | samsung,s5m8767.txt | 16 - s5m8767,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 17 units for buck2 when changing voltage using gpio dvs. Refer to [1] below 20 - s5m8767,pmic-buck3-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 21 units for buck3 when changing voltage using gpio dvs. Refer to [1] below 24 - s5m8767,pmic-buck4-dvs-voltage: A set of 8 voltage values in micro-volt (uV) 25 units for buck4 when changing voltage using gpio dvs. Refer to [1] below 32 property is specified, the 's5m8767,pmic-buck[2/3/4]-dvs-voltage' 33 property should specify atleast one voltage level (which would be a 34 safe operating voltage). 37 property is specified, then all the eight voltage values for the [all …]
|
/Linux-v5.4/arch/arm64/boot/dts/qcom/ |
D | msm8994-smd-rpm.dtsi | 103 qcom,init-voltage = <1800000>; 109 qcom,init-voltage = <1200000>; 115 qcom,init-voltage = <1800000>; 125 qcom,init-voltage = <2950000>; 132 qcom,init-voltage = <1200000>; 142 qcom,init-voltage = <1800000>; 149 qcom,init-voltage = <2700000>; 156 qcom,init-voltage = <2700000>; 164 qcom,init-voltage = <3000000>; 171 qcom,init-voltage = <1800000>; [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/iio/afe/ |
D | voltage-divider.txt | 4 When an io-channel measures the midpoint of a voltage divider, the 5 interesting voltage is often the voltage over the full resistance 6 of the divider. This binding describes the voltage divider in such 24 - compatible : "voltage-divider" 25 - io-channels : Channel node of a voltage io-channel measuring Vout. 26 - output-ohms : Resistance Rout over which the output voltage is measured. 32 The system voltage is circa 12V, but divided down with a 22/222 33 voltage divider (R = 200 Ohms, Rout = 22 Ohms) and fed to an ADC. 36 compatible = "voltage-divider"; 39 /* Scale the system voltage by 22/222 to fit the ADC range. */
|
/Linux-v5.4/Documentation/devicetree/bindings/power/supply/ |
D | rt9455_charger.txt | 12 When the current in constant-voltage phase drops 15 - richtek,battery-regulation-voltage: integer, maximum battery voltage in uV. 16 - richtek,boost-output-voltage: integer, maximum voltage provided to consumer 20 - richtek,min-input-voltage-regulation: integer, input voltage level in uV, used to 21 decrease voltage level when the over current 23 This prevents input voltage drop due to insufficient 41 richtek,battery-regulation-voltage = <4200000>; 42 richtek,boost-output-voltage = <5050000>; 44 richtek,min-input-voltage-regulation = <4500000>;
|
D | bq24257.txt | 11 - ti,battery-regulation-voltage: integer, maximum charging voltage in uV. 14 constant-voltage phase drops below this value (in uA). 27 - ti,ovp-voltage: Configures the over voltage protection voltage (in uV). If 29 - ti,in-dpm-voltage: Configures the threshold input voltage for the dynamic 43 ti,battery-regulation-voltage = <4200000>; 56 ti,battery-regulation-voltage = <4200000>; 60 ti,ovp-voltage = <9500000>; 61 ti,in-dpm-voltage = <4440000>;
|
D | bq25890.txt | 10 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV); 13 constant-voltage phase drops below this value (in uA); 16 - ti,minimum-sys-voltage: integer, when battery is charging and it is below 17 minimum system voltage, the system will be regulated above 18 minimum-sys-voltage setting (in uV); 19 - ti,boost-voltage: integer, VBUS voltage level in boost mode (in uV); 39 ti,battery-regulation-voltage = <4200000>; 43 ti,minimum-sys-voltage = <3600000>; 44 ti,boost-voltage = <5000000>;
|
/Linux-v5.4/drivers/regulator/ |
D | Kconfig | 7 This framework is designed to provide a generic interface to voltage 9 provide voltage and current control to client or consumer drivers and 15 to both voltage regulators (where voltage output is controllable) and 33 tristate "Fixed voltage regulator support" 35 This driver provides support for fixed voltage regulators, 42 This driver provides a virtual consumer for the voltage and 59 tristate "Marvell 88PG86X voltage regulators" 63 This driver supports Marvell 88PG867 and 88PG868 voltage regulators. 71 This driver supports Marvell 88PM800 voltage regulator chips. 73 the voltage is programmed via I2C interface. [all …]
|
/Linux-v5.4/drivers/hwmon/ |
D | ltc4245.c | 174 u32 voltage = 0; in ltc4245_get_voltage() local 179 voltage = regval * 55; in ltc4245_get_voltage() 183 voltage = regval * 22; in ltc4245_get_voltage() 187 voltage = regval * 15; in ltc4245_get_voltage() 191 voltage = regval * -55; in ltc4245_get_voltage() 194 voltage = regval * 10; in ltc4245_get_voltage() 202 return voltage; in ltc4245_get_voltage() 210 unsigned int voltage; in ltc4245_get_current() local 230 voltage = regval * 250; /* voltage in uV */ in ltc4245_get_current() 231 curr = voltage / 50; /* sense resistor 50 mOhm */ in ltc4245_get_current() [all …]
|
/Linux-v5.4/drivers/thermal/ |
D | devfreq_cooling.c | 180 unsigned long voltage; in get_voltage() local 193 voltage = dev_pm_opp_get_voltage(opp) / 1000; /* mV */ in get_voltage() 196 if (voltage == 0) { in get_voltage() 202 return voltage; in get_voltage() 219 unsigned long voltage; in get_static_power() local 224 voltage = get_voltage(df, freq); in get_static_power() 226 if (voltage == 0) in get_static_power() 229 return dfc->power_ops->get_static_power(df, voltage); in get_static_power() 246 unsigned long voltage) in get_dynamic_power() argument 254 voltage); in get_dynamic_power() [all …]
|
/Linux-v5.4/drivers/leds/ |
D | leds-regulator.c | 32 int voltage = regulator_list_voltage(supply, 0); in led_regulator_get_max_brightness() local 34 if (voltage <= 0) in led_regulator_get_max_brightness() 41 ret = regulator_set_voltage(supply, voltage, voltage); in led_regulator_get_max_brightness() 94 int voltage; in regulator_led_brightness_set() local 105 voltage = led_regulator_get_voltage(led->vcc, value); in regulator_led_brightness_set() 107 value, voltage); in regulator_led_brightness_set() 109 ret = regulator_set_voltage(led->vcc, voltage, voltage); in regulator_led_brightness_set() 112 voltage, ret); in regulator_led_brightness_set()
|