| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | qcom-vadc-common.c | 388 s64 voltage = 0, result = 0; in qcom_vadc_scale_volt() local 390 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_volt() 392 voltage = voltage * prescale->den; in qcom_vadc_scale_volt() 393 result = div64_s64(voltage, prescale->num); in qcom_vadc_scale_volt() 404 s64 voltage = 0; in qcom_vadc_scale_therm() local 407 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_therm() 410 voltage = div64_s64(voltage, 1000); in qcom_vadc_scale_therm() 414 voltage, result_mdec); in qcom_vadc_scale_therm() 428 s64 voltage = 0; in qcom_vadc_scale_die_temp() local 431 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_die_temp() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/hwmon/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A D | isl68137.rst | 407 digital multiphase voltage regulators (raa_dmpvr2). The ISL68137 is a digital 411 and 'hv' for high voltage single-rail devices. Consult the individual datasheets 425 For 2nd generation Renesas digital multiphase voltage regulators, only the 445 in1_input Measured input voltage 446 in1_lcrit Critical minimum input voltage 447 in1_lcrit_alarm Input voltage critical low alarm 448 in1_crit Critical maximum input voltage 449 in1_crit_alarm Input voltage critical high alarm 452 in[2-3]_input Measured output voltage 453 in[2-3]_lcrit Critical minimum output voltage [all …]
|
| H A 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 …]
|
| H A D | bcm54140.rst | 20 The AVDDL is a 1.0V analogue voltage, the AVDDH is a 3.3V analogue voltage. 30 in0_input Measured AVDDL voltage. 31 in0_min Minimum AVDDL voltage. 32 in0_max Maximum AVDDL voltage. 33 in0_alarm AVDDL voltage alarm. 36 in1_input Measured AVDDH voltage. 37 in1_min Minimum AVDDH voltage. 38 in1_max Maximum AVDDH voltage. 39 in1_alarm AVDDH voltage alarm.
|
| H A 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 …]
|
| H A D | ina2xx.rst | 62 interface. The INA219 monitors both shunt drop and supply voltage, with 66 interface. The INA220 monitors both shunt drop and supply voltage. 69 The INA226 monitors both a shunt voltage drop and bus supply voltage. 72 with an I2C interface. The chips monitor both a shunt voltage drop and 73 bus supply voltage. 82 bus and shunt voltage conversion times multiplied by the averaging rate. We 91 in0_input Shunt voltage(mV) channel 92 in1_input Bus voltage(mV) channel 102 in0_lcrit Critical low shunt voltage 103 in0_crit Critical high shunt voltage [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/ |
| H A 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/input/ |
| H A D | spl_adc_key.c | 39 int mV, cd, voltage = -1; in key_read() local 80 voltage = fdtdec_get_int(fdt_blob, offset, in key_read() 82 if (voltage < 0) { in key_read() 90 if (voltage < 0) in key_read() 103 if (t > voltage && t < up_threshold) in key_read() 105 else if (t < voltage && t > down_threshold) in key_read() 112 down_threshold = voltage - volt_margin; in key_read() 113 up_threshold = voltage + volt_margin; in key_read() 123 min = down_threshold + (voltage - down_threshold) / 2; in key_read() 125 max = voltage + (up_threshold - voltage) / 2; in key_read() [all …]
|
| H A D | adc_key.c | 16 u32 voltage, chn[2]; in adc_key_ofdata_to_platdata() local 42 voltage = dev_read_u32_default(dev, "press-threshold-microvolt", -ENODATA); in adc_key_ofdata_to_platdata() 43 if (voltage < 0) in adc_key_ofdata_to_platdata() 51 if (t > voltage && t < up_threshold) in adc_key_ofdata_to_platdata() 53 else if (t < voltage && t > down_threshold) in adc_key_ofdata_to_platdata() 60 down_threshold = voltage - volt_margin; in adc_key_ofdata_to_platdata() 61 up_threshold = voltage + volt_margin; in adc_key_ofdata_to_platdata() 66 uc_key->center = voltage; in adc_key_ofdata_to_platdata() 74 uc_key->min = down_threshold + (voltage - down_threshold) / 2; in adc_key_ofdata_to_platdata() 76 uc_key->max = voltage + (up_threshold - voltage) / 2; in adc_key_ofdata_to_platdata()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/afe/ |
| H A 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. */
|
| /OK3568_Linux_fs/kernel/drivers/regulator/ |
| H A D | Kconfig | 8 This framework is designed to provide a generic interface to voltage 10 provide voltage and current control to client or consumer drivers and 16 to both voltage regulators (where voltage output is controllable) and 34 tristate "Fixed voltage regulator support" 36 This driver provides support for fixed voltage regulators, 43 This driver provides a virtual consumer for the voltage and 60 tristate "Marvell 88PG86X voltage regulators" 64 This driver supports Marvell 88PG867 and 88PG868 voltage regulators. 72 This driver supports Marvell 88PM800 voltage regulator chips. 74 the voltage is programmed via I2C interface. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/thermal/ |
| H A D | devfreq_cooling.c | 138 unsigned long voltage; in get_voltage() local 151 voltage = dev_pm_opp_get_voltage(opp) / 1000; /* mV */ in get_voltage() 154 if (voltage == 0) { in get_voltage() 160 return voltage; in get_voltage() 177 unsigned long voltage; in get_static_power() local 182 voltage = get_voltage(df, freq); in get_static_power() 184 if (voltage == 0) in get_static_power() 187 return dfc->power_ops->get_static_power(df, voltage); in get_static_power() 204 unsigned long voltage) in get_dynamic_power() argument 212 voltage); in get_dynamic_power() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/ |
| H A 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>;
|
| H A D | sc8551_charger.txt | 10 - input-voltage-limit-microvolt: integer, input voltage level in uV, used to 11 decrease voltage level when the over current 16 - sc,sc8551,bat-ovp-disable: enable the battery over voltage protection 18 - sc,sc8551,bus-ocp-disable: enable the bus over voltage protection 19 - sc,sc8551,bat-ovp-threshold: Configures the battery over voltage protection voltage (in uV). 20 - sc,sc8551,bat-ocp-threshold: Configures the battery over current protection voltage (in uA). 21 - sc,sc8551,bus-ovp-threshold: Configures the bus over voltage protection voltage (in uV). 22 - sc,sc8551,bus-ocp-threshold: Configures the bus over current protection voltage (in uA). 23 - sc,sc8551,ac-ovp-threshold: Configures the AC voltage protection voltage (in uV).
|
| H A D | sc89890-charger.txt | 10 - sc,battery-regulation-voltage: integer, maximum charging voltage (in uV); 13 constant-voltage phase drops below this value (in uA); 16 - sc,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 - sc,boost-voltage: integer, VBUS voltage level in boost mode (in uV); 32 sc,battery-regulation-voltage = <4200000>; 36 sc,minimum-sys-voltage = <3600000>; 37 sc,boost-voltage = <5000000>;
|
| H A D | bq25890.txt | 14 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV); 17 constant-voltage phase drops below this value (in uA); 20 - ti,minimum-sys-voltage: integer, when battery is charging and it is below 21 minimum system voltage, the system will be regulated above 22 minimum-sys-voltage setting (in uV); 23 - ti,boost-voltage: integer, VBUS voltage level in boost mode (in uV); 38 - ti,ibatcomp-clamp-microvolt: integer, maximum charging voltage adjustment due 39 to expected voltage drop on in-series resistor; 50 ti,battery-regulation-voltage = <4200000>; 54 ti,minimum-sys-voltage = <3600000>; [all …]
|
| H A 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>;
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/ |
| H A D | Kconfig | 102 int "axp pmic dcdc1 voltage" 107 Set the voltage (mV) to program the axp pmic dcdc1 at, set to 0 to 109 generic 3.3V IO voltage for external devices like the lcd-panal and 116 int "axp pmic dcdc2 voltage" 124 Set the voltage (mV) to program the axp pmic dcdc2 at, set to 0 to 134 int "axp pmic dcdc3 voltage" 142 Set the voltage (mV) to program the axp pmic dcdc3 at, set to 0 to 153 int "axp pmic dcdc4 voltage" 160 Set the voltage (mV) to program the axp pmic dcdc4 at, set to 0 to 169 int "axp pmic dcdc5 voltage" [all …]
|