Home
last modified time | relevance | path

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

/linux-6.14.4/Documentation/devicetree/bindings/mfd/
Drohm,bd96801-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd96801-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <[email protected]>
13 BD96801 is an automotive grade single-chip power management IC.
15 over-/under voltage and over current detection and a watchdog.
36 interrupt-names:
39 - enum: [intb, errb]
40 - const: errb
[all …]
Ddlg,da9063.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Steve Twiss <[email protected]>
13 For device-tree bindings of other sub-modules refer to the binding documents
14 under the respective sub-system directories.
15 Using regulator-{uv,ov}-{warn,error,protection}-microvolt requires special
18 UV *and* OV monitoring, both must be set to the same severity and value
21 - https://www.dialog-semiconductor.com/products/da9063l
22 - https://www.dialog-semiconductor.com/products/da9063
[all …]
/linux-6.14.4/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 <[email protected]>
11 - Mark Brown <[email protected]>
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-6.14.4/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 …]
Dda9063-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Regulator driver for DA9063 PMIC series
18 #include <linux/regulator/driver.h>
19 #include <linux/regulator/machine.h>
20 #include <linux/regulator/of_regulator.h>
27 REG_FIELD(_reg, __builtin_ffs((int)_mask) - 1, \
28 sizeof(unsigned int) * 8 - __builtin_clz((_mask)) - 1)
30 /* DA9063 and DA9063L regulator IDs */
53 /* DA9063-only LDOs */
62 /* Old regulator platform data */
[all …]
/linux-6.14.4/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
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
[all …]
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 …]
/linux-6.14.4/drivers/power/supply/
Dbq25890_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/regulator/driver.h>
113 char name[28]; /* "bq25890-charger-%d" */
272 * Most of the val -> idx conversions can be computed, given the minimum,
322 0, -10, -20, -30, -40, -60, -70, -80,
323 -90, -10, -120, -140, -150, -170, -190, -210,
348 [TBL_VREG] = { .rt = {3840000, 4608000, 16000} }, /* uV */
349 [TBL_BOOSTV] = { .rt = {4550000, 5510000, 64000} }, /* uV */
350 [TBL_SYSVMIN] = { .rt = {3000000, 3700000, 100000} }, /* uV */
351 [TBL_VBUSV] = { .rt = {2600000, 15300000, 100000} }, /* 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 */
63 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */
162 * The tables below provide a 2-way mapping for the value that goes in
163 * the register field and the real-world value that it represents.
165 * number at that index in the array is the real-world value that it
189 /* REG04[7:2] (VREG) in uV */
[all …]