Searched +full:regulator +full:- +full:uv +full:- +full:error +full:- +full:microvolt (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator.yaml | 1 # 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | dlg,da9063.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Steve Twiss <stwiss.opensource@diasemi.com> 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 24 - dlg,da9063 25 - dlg,da9063l [all …]
|
/openbmc/u-boot/include/power/ |
H A D | regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2014-2015 Samsung Electronics 11 * U-Boot Voltage/Current Regulator 14 * The regulator API is based on a driver model, with the device tree support. 16 * 'UCLASS_REGULATOR' and the regulator driver API. 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'. 24 * The API can use regulator name in two meanings: [all …]
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | regulator-uclass.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2014-2015 Samsung Electronics 10 #include <dm/uclass-internal.h> 12 #include <power/regulator.h> 22 return -ENXIO; in regulator_mode() 24 *modep = uc_pdata->mode; in regulator_mode() 25 return uc_pdata->mode_count; in regulator_mode() 32 if (!ops || !ops->get_value) in regulator_get_value() 33 return -ENOSYS; in regulator_get_value() 35 return ops->get_value(dev); in regulator_get_value() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | of_regulator.c | 1 // 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 …]
|
H A D | da9063-regulator.c | 1 // 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 …]
|
/openbmc/linux/drivers/opp/ |
H A D | core.c | 1 // 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 …]
|
H A D | of.c | 1 // 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 …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | bq25890_charger.c | 1 // 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 …]
|
H A D | smb347-charger.c | 1 // 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 …]
|
H A D | ab8500_charger.c | 1 // 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 …]
|
H A D | bq24190_charger.c | 1 // 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 …]
|
/openbmc/linux/ |
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |