Home
last modified time | relevance | path

Searched +full:regulator +full:- +full:uv +full:- +full:error +full:- +full:microvolt (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/regulator/
Dregulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
14 regulator-name:
15 description: A string used as a descriptive name for regulator outputs
18 regulator-min-microvolt:
21 regulator-max-microvolt:
[all …]
/Linux-v6.1/drivers/regulator/
Dof_regulator.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * OF helpers for regulator framework
12 #include <linux/regulator/machine.h>
13 #include <linux/regulator/driver.h>
14 #include <linux/regulator/of_regulator.h>
19 [PM_SUSPEND_STANDBY] = "regulator-state-standby",
20 [PM_SUSPEND_MEM] = "regulator-state-mem",
21 [PM_SUSPEND_MAX] = "regulator-state-disk",
41 "regulator-oc-%s-microamp", in of_get_regulator_prot_limits()
42 "regulator-ov-%s-microvolt", in of_get_regulator_prot_limits()
[all …]
/Linux-v6.1/drivers/opp/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
19 #include <linux/regulator/consumer.h>
26 * The root of the list of all opp-tables. All opp_table structures branch off
48 mutex_lock(&opp_table->lock); in _find_opp_dev()
49 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev()
50 if (opp_dev->dev == dev) { in _find_opp_dev()
55 mutex_unlock(&opp_table->lock); in _find_opp_dev()
70 return ERR_PTR(-ENODEV); in _find_opp_table_unlocked()
74 * _find_opp_table() - find opp_table struct using device pointer
[all …]
/Linux-v6.1/drivers/power/supply/
Dbq25890_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/regulator/driver.h>
262 * Most of the val -> idx conversions can be computed, given the minimum,
312 0, -10, -20, -30, -40, -60, -70, -80,
313 -90, -10, -120, -140, -150, -170, -190, -210,
338 [TBL_VREG] = { .rt = {3840000, 4608000, 16000} }, /* uV */
339 [TBL_BOOSTV] = { .rt = {4550000, 5510000, 64000} }, /* uV */
340 [TBL_SYSVMIN] = { .rt = {3000000, 3700000, 100000} }, /* uV */
341 [TBL_VBUSV] = { .rt = {2600000, 15300000, 100000} }, /* uV */
342 [TBL_VBATCOMP] = { .rt = {0, 224000, 32000} }, /* uV */
[all …]
Dsmb347-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #include <linux/regulator/driver.h>
23 #include <dt-bindings/power/summit,smb347-charger.h>
26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1
29 #define SMB3XX_TEMP_USE_DEFAULT -273
34 * reloaded from non-volatile registers after POR.
136 * struct smb347_charger - smb347 charger instance
141 * @usb_rdev: USB VBUS regulator device
148 * @max_charge_voltage: maximum voltage (in uV) the battery can be charged
149 * @pre_charge_current: current (in uA) to use in pre-charging phase
[all …]
Dab8500_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2012
24 #include <linux/regulator/consumer.h>
36 #include "ab8500-bm.h"
37 #include "ab8500-chargalg.h"
94 /* Lowest charger voltage is 3.39V -> 0x4E */
112 /* UsbLineStatus register - usb types */
174 * struct ab8500_charger_interrupts - ab8500 interrupts
218 * struct ab8500_charger - ab8500 Charger device information
250 * @regu: Pointer to the struct regulator
[all …]
Dbq24190_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/regulator/driver.h>
16 #include <linux/regulator/machine.h>
19 #include <linux/extcon-provider.h>
32 #define BQ24190_REG_POC 0x01 /* Power-On Configuration */
57 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */
190 * The tables below provide a 2-way mapping for the value that goes in
191 * the register field and the real-world value that it represents.
193 * number at that index in the array is the real-world value that it
214 /* REG04[7:2] (VREG) in uV */
[all …]