Home
last modified time | relevance | path

Searched +full:micro +full:- +full:volt (Results 1 – 25 of 45) sorted by relevance

12

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/
Dadi,adm1275.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Krzysztof Kozlowski <krzk@kernel.org>
15 that offer digital current, voltage, and power monitoring using an on-chip,
16 12-bit analog-to-digital converter (ADC), communicated through a PMBus
25 - adi,adm1075
26 - adi,adm1272
27 - adi,adm1275
28 - adi,adm1276
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dbq25980.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Dan Murphy <dmurphy@ti.com>
12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
16 for use in high-power density portable electronics. These inductorless
21 - $ref: power-supply.yaml#
26 - ti,bq25980
27 - ti,bq25975
28 - ti,bq25960
[all …]
Dmax17042_battery.txt5 - compatible : one of the following
12 - maxim,rsns-microohm : Resistance of rsns resistor in micro Ohms
13 (datasheet-recommended value is 10000).
14 Defining this property enables current-sense functionality.
18 - maxim,cold-temp : Temperature threshold to report battery
20 - maxim,over-heat-temp : Temperature threshold to report battery
22 - maxim,dead-volt : Voltage threshold to report battery
24 - maxim,over-volt : Voltage threshold to report battery
29 battery-charger@36 {
32 maxim,rsns-microohm = <10000>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
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 …]
Dmaxim,max17042.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
18 - maxim,max17042
19 - maxim,max17047
20 - maxim,max17050
21 - maxim,max17055
22 - maxim,max77849-battery
[all …]
/kernel/linux/linux-6.6/drivers/power/supply/
Dug3105_battery.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead it is
7 * its coulomb-counter before it can wrap (must be read every 400 seconds!).
9 * Since Linux does not monitor coulomb-counter changes while the device
25 * readings, esp. in the 30-70% range and allow userspace to estimate time
28 * capacity during run-time ?
32 * in a total_coulomb_count increase of 3277 units with a 5 milli-ohm sense R.
37 #include <linux/devm-helpers.h>
75 int ocv[UG3105_MOV_AVG_WINDOW]; /* micro-volt */
76 int intern_res[UG3105_MOV_AVG_WINDOW]; /* milli-ohm */
[all …]
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dmax8997-regulator.txt3 The Maxim MAX8997 is a multi-function device which includes voltage and
4 current regulators, rtc, charger controller and other sub-blocks. It is
5 interfaced to the host controller using a i2c interface. Each sub-block is
7 describes the bindings for 'pmic' sub-block of max8997.
10 - compatible: Should be "maxim,max8997-pmic".
11 - reg: Specifies the i2c slave address of the pmic block. It should be 0x66.
13 - max8997,pmic-buck1-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
17 - max8997,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
21 - max8997,pmic-buck5-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
25 [1] If none of the 'max8997,pmic-buck[1/2/5]-uses-gpio-dvs' optional
[all …]
Dsamsung,s5m8767.txt4 This is a part of device tree bindings for S5M family multi-function devices.
5 More information can be found in bindings/mfd/sec-core.txt file.
10 a sub-node named "regulators" with more sub-nodes for each regulator using the
12 - Documentation/devicetree/bindings/regulator/regulator.txt
16 - s5m8767,pmic-buck-ds-gpios: GPIO specifiers for three host gpio's used
17 for selecting GPIO DVS lines. It is one-to-one mapped to dvs gpio lines.
19 [1] If either of the 's5m8767,pmic-buck[2/3/4]-uses-gpio-dvs' optional
21 's5m8767,pmic-buck[2/3/4]-dvs-voltage' should be specified.
24 - s5m8767,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
28 - s5m8767,pmic-buck3-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dsamsung,s5m8767.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
17 and current regulators, RTC, clock outputs and other sub-blocks.
21 const: samsung,s5m8767-pmic
39 s5m8767,pmic-buck2-dvs-voltage:
40 $ref: /schemas/types.yaml#/definitions/uint32-array
44 A set of 8 voltage values in micro-volt (uV) units for buck2 when
47 s5m8767,pmic-buck3-dvs-voltage:
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dmaxim,max8997.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
15 motor driver, flash LED driver and Micro-USB Interface Controller.
22 const: maxim,max8997-pmic
24 charger-supply:
30 - description: irq1 interrupt
31 - description: alert interrupt
33 max8997,pmic-buck1-dvs-voltage:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dleds-lm3692x.txt1 * Texas Instruments - LM3692x Highly Efficient White LED Driver
3 The LM3692x is an ultra-compact, highly efficient,
4 white-LED driver designed for LCD display backlighting.
11 - compatible:
14 - reg : I2C slave address
15 - #address-cells : 1
16 - #size-cells : 0
19 - enable-gpios : gpio pin to enable/disable the device.
20 - vled-supply : LED supply
21 - ti,ovp-microvolt: Overvoltage protection in
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/
Dleds-lm3692x.txt1 * Texas Instruments - LM3692x Highly Efficient White LED Driver
3 The LM3692x is an ultra-compact, highly efficient,
4 white-LED driver designed for LCD display backlighting.
11 - compatible:
14 - reg : I2C slave address
15 - #address-cells : 1
16 - #size-cells : 0
19 - enable-gpios : gpio pin to enable/disable the device.
20 - vled-supply : LED supply
21 - ti,ovp-microvolt: Overvoltage protection in
[all …]
/kernel/linux/linux-6.6/Documentation/hwmon/
Dcorsair-psu.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
3 Kernel driver corsair-psu
37 -----------
41 These power supplies provide access to a micro-controller with 2 attached
42 temperature sensors, 1 fan rpm sensor, 4 sensors for volt levels, 4 sensors for
43 power usage and 4 sensors for current levels and additional non-sensor information
47 -------------
81 -----------
83 It is an USB HID device, so it is auto-detected, supports hot-swapping and
93 ---------------
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/inc/
Dsmu_v13_0_pptable.h2 * Copyright 2020 Advanced Micro Devices, Inc.
37 // SMU_13_0_PP_THERMALCONTROLLER - Thermal Controller Type
72 …TO_UV_ENGINE = 1 << SMU_13_0_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
Dsmu_v11_0_pptable.h2 * Copyright 2018 Advanced Micro Devices, Inc.
37 // SMU_11_0_PP_THERMALCONTROLLER - Thermal Controller Type
72 …TO_UV_ENGINE = 1 << SMU_11_0_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
Dsmu_v13_0_7_pptable.h2 * Copyright 2022 Advanced Micro Devices, Inc.
37 // SMU_13_0_7_PP_THERMALCONTROLLER - Thermal Controller Type
74 …V_ENGINE = 1 << SMU_13_0_7_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
Dsmu_v11_0_7_pptable.h2 * Copyright 2020 Advanced Micro Devices, Inc.
37 // SMU_11_0_7_PP_THERMALCONTROLLER - Thermal Controller Type
75 …UV_ENGINE = 1 << SMU_11_0_7_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
Dsmu_v11_0_pptable.h2 * Copyright 2018 Advanced Micro Devices, Inc.
36 // SMU_11_0_PP_THERMALCONTROLLER - Thermal Controller Type
71 …TO_UV_ENGINE = 1 << SMU_11_0_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
Dsmu_v11_0_7_pptable.h2 * Copyright 2020 Advanced Micro Devices, Inc.
36 // SMU_11_0_7_PP_THERMALCONTROLLER - Thermal Controller Type
74 …UV_ENGINE = 1 << SMU_11_0_7_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/inc/
Dsmu_v13_0_0_pptable.h2 * Copyright 2021 Advanced Micro Devices, Inc.
37 // SMU_13_0_0_PP_THERMALCONTROLLER - Thermal Controller Type
74 …V_ENGINE = 1 << SMU_13_0_0_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
/kernel/linux/linux-5.10/drivers/power/supply/
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 …]
/kernel/linux/linux-6.6/drivers/opp/
Dof.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
34 /* "operating-points-v2" can be an array for power domain providers */ in _opp_of_get_opp_desc_node()
35 return of_parse_phandle(np, "operating-points-v2", index); in _opp_of_get_opp_desc_node()
41 return _opp_of_get_opp_desc_node(dev->of_node, 0); in dev_pm_opp_of_get_opp_desc_node()
50 np = _opp_of_get_opp_desc_node(dev->of_node, index); in _managed_opp()
55 if (opp_table->np == np) { in _managed_opp()
58 * so will have same node-pointer, np. in _managed_opp()
61 * OPP table contains a "opp-shared" property. in _managed_opp()
63 if (opp_table->shared_opp == OPP_TABLE_ACCESS_SHARED) { in _managed_opp()
[all …]
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
26 * The root of the list of all opp-tables. All opp_table structures branch off
45 mutex_lock(&opp_table->lock); in _find_opp_dev()
46 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev()
47 if (opp_dev->dev == dev) { in _find_opp_dev()
52 mutex_unlock(&opp_table->lock); in _find_opp_dev()
67 return ERR_PTR(-ENODEV); in _find_opp_table_unlocked()
71 * _find_opp_table() - find opp_table struct using device pointer
76 * Return: pointer to 'struct opp_table' if found, otherwise -ENODEV or
[all …]
/kernel/linux/linux-5.10/drivers/opp/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
25 * The root of the list of all opp-tables. All opp_table structures branch off
38 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev()
39 if (opp_dev->dev == dev) in _find_opp_dev()
51 mutex_lock(&opp_table->lock); in _find_opp_table_unlocked()
53 mutex_unlock(&opp_table->lock); in _find_opp_table_unlocked()
62 return ERR_PTR(-ENODEV); in _find_opp_table_unlocked()
66 * _find_opp_table() - find opp_table struct using device pointer
71 * Return: pointer to 'struct opp_table' if found, otherwise -ENODEV or
[all …]

12