Home
last modified time | relevance | path

Searched +full:micro +full:- +full:volts (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dbq25980.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Andrew Davis <afd@ti.com>
15 for use in high-power density portable electronics. These inductorless
20 - $ref: power-supply.yaml#
25 - ti,bq25980
26 - ti,bq25975
27 - ti,bq25960
32 ti,watchdog-timeout-ms:
[all …]
/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A Dlltc,ltc4286.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Delphine CC Chiu <Delphine_CC_Chiu@Wiwynn.com>
15 - lltc,ltc4286
16 - lltc,ltc4287
21 adi,vrange-low-enable:
24 voltage range is 25.6 volts or 102.4 volts for this chip.
25 The default is 102.4 volts.
29 - compatible
[all …]
H A Dntc-thermistor.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 ---
3 $id: http://devicetree.org/schemas/hwmon/ntc-thermistor.yaml#
4 $schema: http://devicetree.org/meta-schemas/core.yaml#
9 - Linus Walleij <linus.walleij@linaro.org>
13 vary in resistance in an often non-linear way in relation to temperature.
16 temperature is non-linear, software drivers most often need to use a look
20 pull-up resistor or/and a pull-down resistor and a fixed voltage like this:
22 + e.g. 5V = pull-up voltage (puv)
24 +-+
[all …]
/openbmc/u-boot/include/power/
H A Dregulator.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2014-2015 Samsung Electronics
11 * U-Boot Voltage/Current Regulator
18 * The regulator uclass - is based on uclass platform data which is allocated,
19 * automatically for each regulator device on bind and 'dev->uclass_platdata'
21 * The uclass file: 'drivers/power/regulator/regulator-uclass.c'
23 * The regulator device - is based on driver's model 'struct udevice'.
25 * - devname - the regulator device's name: 'dev->name'
26 * - platname - the device's platdata's name. So in the code it looks like:
27 * 'uc_pdata = dev->uclass_platdata'; 'name = uc_pdata->name'.
[all …]
H A Dsandbox_pmic.h1 /* SPDX-License-Identifier: GPL-2.0+ */
42 /* Register offset for output: micro Volts, micro Amps, Operation Mode */
97 /* register <-> value conversion */
99 #define VAL2REG(min, step, val) (((val) - (min)) / (step))
101 /* Operation mode id -> register value conversion */
122 * - regulator_autoset_by_name()
123 * - regulator_list_autoset()
141 #define SANDBOX_LDO2_AUTOSET_EXPECTED_UA -ENOSYS
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dnvidia,tegra124-dfll.txt4 Documentation/devicetree/bindings/clock/clock-bindings.txt
7 the fast CPU cluster. It consists of a free-running voltage controlled
10 communicating with an off-chip PMIC either via an I2C bus or via PWM signals.
13 - compatible : should be one of:
14 - "nvidia,tegra124-dfll": for Tegra124
15 - "nvidia,tegra210-dfll": for Tegra210
16 - reg : Defines the following set of registers, in the order listed:
17 - registers for the DFLL control logic.
18 - registers for the I2C output logic.
19 - registers for the integrated I2C master controller.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/opp/
H A Dti,omap-opp-supply.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/opp/ti,omap-opp-supply.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 registers, which contain OPP-specific voltage information tailored
16 Also, some supplies may have an associated vbb-supply, an Adaptive
18 w.r.t the vdd-supply and clk when making an OPP transition. By
20 transitions, we can use the multi-regulator support implemented by
22 OPP core binding Documentation/devicetree/bindings/opp/opp-v2.yaml
27 - Nishanth Menon <nm@ti.com>
[all …]
/openbmc/linux/drivers/hwmon/pmbus/
H A Dltc4286.c1 // SPDX-License-Identifier: GPL-2.0-or-later
40 * However, the rsense value that user input is micro ohm.
43 .R[PSC_CURRENT_OUT] = 3 - 6,
48 * However, the rsense value that user input is micro ohm.
51 .R[PSC_POWER] = 4 - 6,
78 return dev_err_probe(&client->dev, ret, in ltc4286_probe()
88 return dev_err_probe(&client->dev, -ENODEV, in ltc4286_probe()
94 return dev_err_probe(&client->dev, ret, in ltc4286_probe()
98 for (mid = ltc4286_id; mid->name[0]; mid++) { in ltc4286_probe()
99 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ltc4286_probe()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/
H A Dmaxim,max9286.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Jacopo Mondi <jacopo+renesas@jmondi.org>
12 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
13 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
14 - Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
18 Serial Links (GMSL) and outputs them on a CSI-2 D-PHY port using up to 4 data
28 '#address-cells':
31 '#size-cells':
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iio/afe/
H A Dtemperature-transducer.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/afe/temperature-transducer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Beguin <liambeguin@gmail.com>
19 When an io-channel measures the output voltage of a temperature analog front
35 -----
37 +---+---+
39 +---+---+ -----
41 V proportional to T +----+----+
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
H A Ddcn314_smu.h1 /* SPDX-License-Identifier: MIT */
3 * Copyright 2022 Advanced Micro Devices, Inc.
48 //Voltage in milli volts with 2 fractional bits
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
H A Dsmu13_driver_if_v13_0_5.h2 * Copyright 2020 Advanced Micro Devices, Inc.
100 uint16_t GfxTemperature; //[centi-Celsius]
102 uint16_t SocTemperature; //[centi-Celsius]
109 //Voltage in milli volts with 2 fractional bits
H A Dsmu13_driver_if_yellow_carp.h2 * Copyright 2020 Advanced Micro Devices, Inc.
120 //Voltage in milli volts with 2 fractional bits
176 uint16_t CoreTemperature[8]; //[centi-Celsius]
178 uint16_t L3Temperature; //[centi-Celsius]
180 uint16_t GfxTemperature; //[centi-Celsius]
181 uint16_t SocTemperature; //[centi-Celsius]
H A Dsmu11_driver_if_vangogh.h2 * Copyright 2020 Advanced Micro Devices, Inc.
125 //Voltage in milli volts with 2 fractional bits
186 uint16_t CoreTemperature[8]; //[centi-Celsius]
188 uint16_t L3Temperature[2]; //[centi-Celsius]
190 uint16_t GfxTemperature; //[centi-Celsius]
191 uint16_t SocTemperature; //[centi-Celsius]
216 uint16_t CoreTemperature[4]; //[centi-Celsius]
218 uint16_t L3Temperature[1]; //[centi-Celsius]
220 uint16_t GfxTemperature; //[centi-Celsius]
221 uint16_t SocTemperature; //[centi-Celsius]
H A Dsmu13_driver_if_v13_0_4.h2 * Copyright 2022 Advanced Micro Devices, Inc.
121 //Voltage in milli volts with 2 fractional bits
176 uint16_t CoreTemperature[8]; //[centi-Celsius]
178 uint16_t L3Temperature; //[centi-Celsius]
180 uint16_t GfxTemperature; //[centi-Celsius]
181 uint16_t SocTemperature; //[centi-Celsius]
200 uint16_t CurTemp; //[centi-Celsius]
/openbmc/linux/Documentation/hwmon/
H A Daquacomputer_d5next.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
3 Kernel driver aquacomputer-d5next
23 -----------
35 available through debugfs are the serial number, firmware version and power-on
37 temperature curves directly from the pump. If it's not connected, the fan-related
63 filled with coolant. Pump RPM and flow can be set to enhance on-device calculations,
80 -----------
86 -------------
89 temp[1-20]_input Physical/virtual temperature sensors (in millidegrees Celsius)
90 temp[1-8]_offset Temperature sensor correction offset (in millidegrees Celsius)
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
H A Ddcn31_smu.h2 * Copyright 2018 Advanced Micro Devices, Inc.
129 //Voltage in milli volts with 2 fractional bits
185 uint16_t CoreTemperature[8]; //[centi-Celsius]
187 uint16_t L3Temperature; //[centi-Celsius]
189 uint16_t GfxTemperature; //[centi-Celsius]
190 uint16_t SocTemperature; //[centi-Celsius]
/openbmc/linux/drivers/opp/
H A Dti-opp-supply.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/
5 * Dave Gerlach <d-gerlach@ti.com>
25 * struct ti_opp_supply_optimum_voltage_table - optimized voltage table
35 * struct ti_opp_supply_data - OMAP specific opp supply data
53 * struct ti_opp_supply_of_data - device tree match data
56 * @efuse_voltage_uv: Are the efuse entries in micro-volts? if not, assume
57 * milli-volts.
68 * _store_optimized_voltages() - store optimized voltages
93 ret = -ENODEV; in _store_optimized_voltages()
[all …]
/openbmc/linux/drivers/hwmon/
H A Dlochnagar-hwmon.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2016-2019 Cirrus Logic, Inc. and
13 #include <linux/hwmon-sysfs.h>
57 * float_to_long - Convert ieee754 reading from hardware to an integer
60 * @precision: Units to multiply up to eg. 1000 = milli, 1000000 = micro
65 * floating point value in either volts, amps or celsius. This function
66 * will convert that into an integer in a smaller unit such as micro-amps
67 * or milli-celsius. The hardware does not return NaN, so consideration of
73 int exp = ((data & 0x7F800000) >> 23) - 127 - 23; in float_to_long()
79 if (fls64(man) + exp > (int)sizeof(long) * 8 - 1) in float_to_long()
[all …]
/openbmc/linux/drivers/power/supply/
H A Dsc27xx_fuel_gauge.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/nvmem-consumer.h>
68 /* micro Ohms */
139 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->cur_1000ma_adc); in sc27xx_fgu_adc_to_current()
144 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->vol_1000mv_adc); in sc27xx_fgu_adc_to_voltage()
149 return DIV_ROUND_CLOSEST(vol * data->vol_1000mv_adc, 1000); in sc27xx_fgu_voltage_to_adc()
156 ret = regmap_read(data->regmap, in sc27xx_fgu_is_first_poweron()
157 data->base + SC27XX_FGU_USER_AREA_STATUS, &status); in sc27xx_fgu_is_first_poweron()
184 ret = regmap_update_bits(data->regmap, in sc27xx_fgu_save_boot_mode()
185 data->base + SC27XX_FGU_USER_AREA_CLEAR, in sc27xx_fgu_save_boot_mode()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dwcd-mbhc-v2.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
14 #include "wcd-mbhc-v2.h"
72 /* Holds type of Headset - Mono/Stereo */
74 /* Holds mbhc detection method - ADC/Legacy */
81 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field()
84 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field()
85 mbhc->fields[field].reg, in wcd_mbhc_write_field()
86 mbhc->fields[field].mask, val); in wcd_mbhc_write_field()
91 if (!mbhc->fields[field].reg) in wcd_mbhc_read_field()
[all …]